diff options
author | Gabor Kelemen <kelemen.gabor2@nisz.hu> | 2020-12-05 16:01:30 +0100 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-12-26 19:22:22 +0100 |
commit | 56169b613e5830d90323c1cad31d2015a1d4cb4d (patch) | |
tree | ec63bc9f70e6a6529bae4c2c5b2dbb4e86aa738c /sc | |
parent | ea14c98aaba550ecde4c4736d1a3abdc0fd451ef (diff) |
Remove pointless macro
DDE_TXT_ENCODING is just an alias since 2008
commit a190965485508c4493ee33228dae68e12cd858f9 and
commit cc141699cc6b2fa38b0b0003bff27751e23ae8e4
Change-Id: I2ca32871c13bd3837f173e5f9f959f364857de52
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108330
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/tool/ddelink.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sc/source/core/tool/ddelink.cxx b/sc/source/core/tool/ddelink.cxx index e97d629a9462..2678a4823beb 100644 --- a/sc/source/core/tool/ddelink.cxx +++ b/sc/source/core/tool/ddelink.cxx @@ -37,8 +37,6 @@ #include <hints.hxx> -#define DDE_TXT_ENCODING osl_getThreadTextEncoding() - bool ScDdeLink::bIsInUpdate = false; ScDdeLink::ScDdeLink( ScDocument& rD, const OUString& rA, const OUString& rT, const OUString& rI, @@ -130,7 +128,7 @@ sfx2::SvBaseLink::UpdateResult ScDdeLink::DataChanged( return SUCCESS; OUString aLinkStr; - ScByteSequenceToString::GetString( aLinkStr, rValue, DDE_TXT_ENCODING ); + ScByteSequenceToString::GetString( aLinkStr, rValue, osl_getThreadTextEncoding() ); aLinkStr = convertLineEnd(aLinkStr, LINEEND_LF); // if string ends with line end, discard: |