diff options
Diffstat (limited to 'idl/source/cmptools/lex.cxx')
-rw-r--r-- | idl/source/cmptools/lex.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/idl/source/cmptools/lex.cxx b/idl/source/cmptools/lex.cxx index 599b06136008..f479bea4c4b7 100644 --- a/idl/source/cmptools/lex.cxx +++ b/idl/source/cmptools/lex.cxx @@ -254,7 +254,7 @@ bool SvTokenStream::MakeToken( SvToken & rToken ) } else if( c == '"' ) { - OStringBuffer aStr; + OStringBuffer aStr(128); bool bDone = false; while( !bDone && !IsEof() && c ) { @@ -288,7 +288,7 @@ bool SvTokenStream::MakeToken( SvToken & rToken ) } else if( rtl::isAsciiAlpha (static_cast<unsigned char>(c)) || (c == '_') ) { - OStringBuffer aBuf; + OStringBuffer aBuf(64); while( rtl::isAsciiAlphanumeric( static_cast<unsigned char>(c) ) || c == '_' || c == ':') { |