summaryrefslogtreecommitdiff
path: root/shell/source/tools/lngconvex/lngconvex.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'shell/source/tools/lngconvex/lngconvex.cxx')
-rw-r--r--shell/source/tools/lngconvex/lngconvex.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/shell/source/tools/lngconvex/lngconvex.cxx b/shell/source/tools/lngconvex/lngconvex.cxx
index 8ba8653ea749..005c8c742578 100644
--- a/shell/source/tools/lngconvex/lngconvex.cxx
+++ b/shell/source/tools/lngconvex/lngconvex.cxx
@@ -57,6 +57,7 @@ typedef unsigned short WORD;
#include "cmdline.hxx"
+#include <comphelper/string.hxx>
#include "osl/thread.h"
#include "osl/process.h"
#include "osl/file.hxx"
@@ -347,7 +348,7 @@ void add_group_entries(
{
Substitutor.set_language(iso_lang_identifier(iso_lang));
- key_value_utf8.EraseLeadingAndTrailingChars('\"');
+ key_value_utf8 = comphelper::string::strip(key_value_utf8, '\"');
OUString key_value_utf16 =
rtl::OStringToOUString(key_value_utf8, RTL_TEXTENCODING_UTF8);