summaryrefslogtreecommitdiff
path: root/vcl/source/helper/strhelper.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-09-14 21:59:35 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-09-15 11:23:36 +0100
commit1cbaa2a61090fab9e0b24ac3f18395ced92e984f (patch)
treeaeec560ea28171dcd23c151ebda31de574d96056 /vcl/source/helper/strhelper.cxx
parent365a13d3c5fdc7713a37bd29046cbddc1248d5d0 (diff)
ByteString->rtl::OString[Buffer]
Diffstat (limited to 'vcl/source/helper/strhelper.cxx')
-rw-r--r--vcl/source/helper/strhelper.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/source/helper/strhelper.cxx b/vcl/source/helper/strhelper.cxx
index c192431e87e6..f80b08cdee27 100644
--- a/vcl/source/helper/strhelper.cxx
+++ b/vcl/source/helper/strhelper.cxx
@@ -220,8 +220,7 @@ rtl::OString GetCommandLineToken(int nToken, const rtl::OString& rLine)
*pLeap = 0;
- ByteString aRet( pBuffer );
- return aRet;
+ return rtl::OString(pBuffer);
}
int GetCommandLineTokenCount( const String& rLine )