[Libreoffice-commits] .: l10ntools/source
Michel Loiseleur
mloiseleur at kemper.freedesktop.org
Thu Jan 12 05:45:25 PST 2012
l10ntools/source/helpex.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 2994b7b983b6df38b9cc3c778728a1bd55a671c0
Author: Loiseleur Michel <michel.loiseleur at free.fr>
Date: Thu Jan 12 14:45:02 2012 +0100
fix build error in l10ntools
On gcc-4.4.3, it fixes this error : l10ntools/source/helpex.cxx:82: error: parameter may not have variably modified type 'rtl::OString [(((long unsigned int)(((long int)i) + -0x00000000000000001)) + 1)]'
diff --git a/l10ntools/source/helpex.cxx b/l10ntools/source/helpex.cxx
index 2680c59..f06f618 100644
--- a/l10ntools/source/helpex.cxx
+++ b/l10ntools/source/helpex.cxx
@@ -79,7 +79,7 @@ sal_Bool ParseCommandLine( int argc, char* argv[])
// parse command line
for( int i = 1; i < argc; i++ )
{
- rtl::OString aArg(rtl::OString(argv[i]).toAsciiUpperCase());
+ rtl::OString aArg = rtl::OString(argv[i]).toAsciiUpperCase();
if (aArg.equalsL(RTL_CONSTASCII_STRINGPARAM("-I")))
nState = STATE_INPUT; // next tokens specifies source files
else if (aArg.equalsL(RTL_CONSTASCII_STRINGPARAM("-O")))
More information about the Libreoffice-commits
mailing list