diff options
Diffstat (limited to 'l10ntools/inc/export.hxx')
-rw-r--r-- | l10ntools/inc/export.hxx | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/l10ntools/inc/export.hxx b/l10ntools/inc/export.hxx index 5e08239316c0..2355f5b23e46 100644 --- a/l10ntools/inc/export.hxx +++ b/l10ntools/inc/export.hxx @@ -54,8 +54,6 @@ #include <direct.h> #endif -#include "helper.hxx" - #define NO_TRANSLATE_ISO "x-no-translate" class PFormEntrys; @@ -196,8 +194,8 @@ public: pPairedList( NULL ), sPForm( rPF ) { - helper::searchAndReplaceAll(&sGId, "\r", rtl::OString()); - helper::searchAndReplaceAll(&sPForm, "\r", rtl::OString()); + sGId = sGId.replaceAll("\r", rtl::OString()); + sPForm = sPForm.replaceAll("\r", rtl::OString()); } ResData(const rtl::OString &rPF, const rtl::OString &rGId , const rtl::OString &rFilename) @@ -227,8 +225,8 @@ public: pPairedList( NULL ), sPForm( rPF ) { - helper::searchAndReplaceAll(&sGId, "\r", rtl::OString()); - helper::searchAndReplaceAll(&sPForm, "\r", rtl::OString()); + sGId = sGId.replaceAll("\r", rtl::OString()); + sPForm = sPForm.replaceAll("\r", rtl::OString()); } }; |