[Libreoffice-commits] .: l10ntools/source

Stephan Bergmann sbergmann at kemper.freedesktop.org
Mon Feb 6 00:54:05 PST 2012


 l10ntools/source/lngex.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c1a3961b4582e47ebcee84b3acc2a808651bcd07
Author: Josh Heidenreich <josh.sickmate at gmail.com>
Date:   Mon Feb 6 13:01:02 2012 +1030

    Single-line bugfix in l10n tools to fix compile on GCC 4.4.3 (Ubuntu)

diff --git a/l10ntools/source/lngex.cxx b/l10ntools/source/lngex.cxx
index e921a74..73d7221 100644
--- a/l10ntools/source/lngex.cxx
+++ b/l10ntools/source/lngex.cxx
@@ -74,7 +74,7 @@ sal_Bool ParseCommandLine( int argc, char* argv[])
 
     // parse command line
     for( int i = 1; i < argc; i++ ) {
-        rtl::OString sSwitch(rtl::OString(argv[i]).toAsciiUpperCase());
+        rtl::OString sSwitch = rtl::OString(argv[i]).toAsciiUpperCase();
         if (sSwitch.equalsL(RTL_CONSTASCII_STRINGPARAM("-I")))
             nState = STATE_INPUT; // next tokens specifies source files
         else if (sSwitch.equalsL(RTL_CONSTASCII_STRINGPARAM("-O")))


More information about the Libreoffice-commits mailing list