[Libreoffice-commits] .: sfx2/source

Markus Mohrhard mmohrhard at kemper.freedesktop.org
Mon Jun 20 14:10:05 PDT 2011


 sfx2/source/doc/docfac.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 307df11f743e3ff8eb1f8ef0099115a149676310
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Mon Jun 20 23:08:04 2011 +0200

    fix problem inserted by 28e07d1f2cc8f1f9c98836d3ada12b7173157704

diff --git a/sfx2/source/doc/docfac.cxx b/sfx2/source/doc/docfac.cxx
index e61c30f..f9ce9ef 100644
--- a/sfx2/source/doc/docfac.cxx
+++ b/sfx2/source/doc/docfac.cxx
@@ -170,9 +170,9 @@ void SfxObjectFactory::RegisterViewFactory
                 continue;
             rtl::OStringBuffer aStr(RTL_CONSTASCII_STRINGPARAM(
                 "SfxObjectFactory::RegisterViewFactory: duplicate view name '"));
-            sMessage.append(rtl::OUStringToOString(sViewName, RTL_TEXTENCODING_ASCII_US));
-            sMessage.append(RTL_CONSTASCII_STRINGPARAM("'!"));
-            OSL_FAIL(sMessage.getStr());
+            aStr.append(rtl::OUStringToOString(sViewName, RTL_TEXTENCODING_ASCII_US));
+            aStr.append(RTL_CONSTASCII_STRINGPARAM("'!"));
+            OSL_FAIL(aStr.getStr());
             break;
         }
     }


More information about the Libreoffice-commits mailing list