sfx2/source/doc/docfac.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 3f3c0da7b1c6eb0b5d9202c8307cb32e7deddcad Author: Tor Lillqvist <t...@collabora.com> Date: Wed Nov 20 11:32:50 2013 +0200 Fix incorrect passing of a char pointer which gets converted to bool Revealed by a warning from our Clang plug-in: "pointer 'const char *' implicitly converted to bool [loplugin]" I love --enable-werror and loplugin. Change-Id: Iece0bda4325cd1e5d1333affffef12396e5dfb7d diff --git a/sfx2/source/doc/docfac.cxx b/sfx2/source/doc/docfac.cxx index fcbabc4..faf99f8 100644 --- a/sfx2/source/doc/docfac.cxx +++ b/sfx2/source/doc/docfac.cxx @@ -371,7 +371,7 @@ OUString SfxObjectFactory::GetFactoryURL() const { OUStringBuffer aURLComposer; aURLComposer.append("private:factory/"); - aURLComposer.append(GetShortName()); + aURLComposer.appendAscii(GetShortName()); return aURLComposer.makeStringAndClear(); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits