summaryrefslogtreecommitdiff
path: root/svtools/source/misc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-01-24 21:52:07 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-01-25 15:37:19 +0000
commit03e3a20868b971595481e6742725a1c80745e7b7 (patch)
treebde5b669189ce587df0265601a54563d6ff92585 /svtools/source/misc
parent39e54d04804d1d8ad0d0dc10aad8ef89c2ff1e40 (diff)
ByteString->rtl::OString
Diffstat (limited to 'svtools/source/misc')
-rw-r--r--svtools/source/misc/imap2.cxx16
1 files changed, 6 insertions, 10 deletions
diff --git a/svtools/source/misc/imap2.cxx b/svtools/source/misc/imap2.cxx
index 41dff428ed16..252346b48c95 100644
--- a/svtools/source/misc/imap2.cxx
+++ b/svtools/source/misc/imap2.cxx
@@ -261,14 +261,12 @@ sal_uLong ImageMap::ImpReadCERN( SvStream& rIStm, const String& rBaseURL )
void ImageMap::ImpReadCERNLine( const rtl::OString& rLine, const String& rBaseURL )
{
- ByteString aStr( rLine );
-
- aStr = comphelper::string::stripStart(aStr, ' ');
+ rtl::OString aStr = comphelper::string::stripStart(rLine, ' ');
aStr = comphelper::string::stripStart(aStr, '\t');
aStr = comphelper::string::remove(aStr, ';');
- aStr.ToLowerAscii();
+ aStr = aStr.toAsciiLowerCase();
- const char* pStr = aStr.GetBuffer();
+ const char* pStr = aStr.getStr();
char cChar = *pStr++;
// Anweisung finden
@@ -405,14 +403,12 @@ sal_uLong ImageMap::ImpReadNCSA( SvStream& rIStm, const String& rBaseURL )
void ImageMap::ImpReadNCSALine( const rtl::OString& rLine, const String& rBaseURL )
{
- ByteString aStr( rLine );
-
- aStr = comphelper::string::stripStart(aStr, ' ');
+ rtl::OString aStr = comphelper::string::stripStart(rLine, ' ');
aStr = comphelper::string::stripStart(aStr, '\t');
aStr = comphelper::string::remove(aStr, ';');
- aStr.ToLowerAscii();
+ aStr = aStr.toAsciiLowerCase();
- const char* pStr = aStr.GetBuffer();
+ const char* pStr = aStr.getStr();
char cChar = *pStr++;
// Anweisung finden