diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-01-22 14:34:51 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-01-23 11:37:06 +0000 |
commit | b1f74de0311af25596e861c24be8b829f4b27cb4 (patch) | |
tree | a5c17d136efca429a72d2d17f0640fa9e5b9e12f /svtools/bmpmaker/bmpsum.cxx | |
parent | d3c0bf6c8087c4573b181fc5d01a70cffc17c78f (diff) |
ByteString->rtl::OString
Diffstat (limited to 'svtools/bmpmaker/bmpsum.cxx')
-rw-r--r-- | svtools/bmpmaker/bmpsum.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svtools/bmpmaker/bmpsum.cxx b/svtools/bmpmaker/bmpsum.cxx index ead4930b4f09..223f76d79b63 100644 --- a/svtools/bmpmaker/bmpsum.cxx +++ b/svtools/bmpmaker/bmpsum.cxx @@ -297,15 +297,15 @@ void BmpSum::ProcessFileList( const String& rInFileList, if( aIStm.IsOpen() && aOStm.IsOpen() ) { - ByteString aReadLine; + rtl::OString aReadLine; ::std::set< ByteString > aFileNameSet; while( aIStm.ReadLine( aReadLine ) ) { - if( aReadLine.Len() ) + if( !aReadLine.isEmpty() ) aFileNameSet.insert( aReadLine ); - if( aReadLine.Search( "enus" ) != STRING_NOTFOUND ) + if( comphelper::string::indexOfL(aReadLine, RTL_CONSTASCII_STRINGPARAM("enus") ) != -1 ) { static const char* aLanguages[] = { @@ -340,7 +340,7 @@ void BmpSum::ProcessFileList( const String& rInFileList, } } - aReadLine.Erase(); + aReadLine = rtl::OString(); } aIStm.Close(); |