summaryrefslogtreecommitdiff
path: root/l10ntools/source/helpex.cxx
diff options
context:
space:
mode:
authorLoiseleur Michel <michel.loiseleur@free.fr>2012-01-12 14:45:02 +0100
committerLoiseleur Michel <michel.loiseleur@free.fr>2012-01-12 14:45:02 +0100
commit2994b7b983b6df38b9cc3c778728a1bd55a671c0 (patch)
tree46bd53810cda50439ffb54eb4d132b06eb1cc934 /l10ntools/source/helpex.cxx
parentbc4ff4382964da57b8c36c115b0517d884127df3 (diff)
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)]'
Diffstat (limited to 'l10ntools/source/helpex.cxx')
-rw-r--r--l10ntools/source/helpex.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/l10ntools/source/helpex.cxx b/l10ntools/source/helpex.cxx
index 2680c59b63d1..f06f618ecb1a 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")))