diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2020-04-27 07:02:07 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2020-04-27 06:53:27 +0200 |
commit | ab5fbd39b76be8cc8015d303c1677c198776390a (patch) | |
tree | 017d33970083a61020b8e9f06992cbbd0f034651 /filter | |
parent | Update git submodules (diff) | |
download | core-ab5fbd39b76be8cc8015d303c1677c198776390a.tar.gz core-ab5fbd39b76be8cc8015d303c1677c198776390a.zip |
Don't convert OUString to char*
Change-Id: I3bfcc6fedb782b12be1fb1d42981756287f29f82
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92956
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/graphicfilter/idxf/dxfreprd.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/filter/source/graphicfilter/idxf/dxfreprd.cxx b/filter/source/graphicfilter/idxf/dxfreprd.cxx index 26ec1077ae79..8e4c9bc73560 100644 --- a/filter/source/graphicfilter/idxf/dxfreprd.cxx +++ b/filter/source/graphicfilter/idxf/dxfreprd.cxx @@ -229,7 +229,7 @@ void DXFRepresentation::ReadHeader(DXFGroupReader & rDGR) // only if the encoding is not set yet // e.g. by previous $DWGCODEPAGE if (!isTextEncodingSet()) - setTextEncoding(utl_getWinTextEncodingFromLangStr(getLODefaultLanguage().toUtf8().getStr(), true)); + setTextEncoding(utl_getWinTextEncodingFromLangStr(getLODefaultLanguage(), true)); } else if (rDGR.GetS() >= "AC1021") setTextEncoding(RTL_TEXTENCODING_UTF8); @@ -239,7 +239,7 @@ void DXFRepresentation::ReadHeader(DXFGroupReader & rDGR) // only if the encoding is not set yet // e.g. by previous $DWGCODEPAGE if (!isTextEncodingSet()) - setTextEncoding(utl_getWinTextEncodingFromLangStr(getLODefaultLanguage().toUtf8().getStr())); + setTextEncoding(utl_getWinTextEncodingFromLangStr(getLODefaultLanguage())); } } else if (rDGR.GetS() == "$DWGCODEPAGE") |