summaryrefslogtreecommitdiff
path: root/l10ntools/source/localize.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'l10ntools/source/localize.cxx')
-rw-r--r--l10ntools/source/localize.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/l10ntools/source/localize.cxx b/l10ntools/source/localize.cxx
index b29d08e00fec..c00beee90fec 100644
--- a/l10ntools/source/localize.cxx
+++ b/l10ntools/source/localize.cxx
@@ -371,12 +371,12 @@ void SourceTreeLocalizer::WorkOnFile(
nFileCnt++;
SvFileStream aSDFIn( aTemp.GetFull(), STREAM_READ );
- ByteString sLine;
- while ( aSDFIn.IsOpen() && !aSDFIn.IsEof()) {
+ rtl::OString sLine;
+ while ( aSDFIn.IsOpen() && !aSDFIn.IsEof())
+ {
aSDFIn.ReadLine( sLine );
- if ( sLine.Len()) {
+ if (!sLine.isEmpty())
aSDF.WriteLine( sLine );
- }
}
aSDFIn.Close();