summaryrefslogtreecommitdiff
path: root/l10ntools/inc/export.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'l10ntools/inc/export.hxx')
-rw-r--r--l10ntools/inc/export.hxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/l10ntools/inc/export.hxx b/l10ntools/inc/export.hxx
index 94d59256f127..ae6c21ed8657 100644
--- a/l10ntools/inc/export.hxx
+++ b/l10ntools/inc/export.hxx
@@ -29,6 +29,8 @@
#ifndef _EXPORT_HXX
#define _EXPORT_HXX
+#include <comphelper/string.hxx>
+
#ifndef L10NTOOLS_DIRECTORY_HXX
#define L10NTOOLS_DIRECTORY_HXX
#include <l10ntools/directory.hxx>
@@ -218,9 +220,10 @@ public:
pPairedList( NULL ),
sPForm( rPF )
{
- sGId.EraseAllChars( '\r' );
- sPForm.EraseAllChars( '\r' );
+ sGId = comphelper::string::remove(sGId, '\r');
+ sPForm = comphelper::string::remove(sPForm, '\r');
};
+
ResData( const ByteString &rPF, const ByteString &rGId , const ByteString &rFilename )
:
nChildIndex( 0 ),
@@ -246,13 +249,10 @@ public:
pFilterList( NULL ),
pPairedList( NULL ),
sPForm( rPF )
-
{
- sGId.EraseAllChars( '\r' );
- sPForm.EraseAllChars( '\r' );
+ sGId = comphelper::string::remove(sGId, '\r');
+ sPForm = comphelper::string::remove(sPForm, '\r');
};
-
-
};