| commit | 7e60f5dd6422b1409204f97e4704d7163ada73c2 | [log] |
|---|---|---|
| author | Mike Kaganski <mike.kaganski@collabora.com> | Thu Dec 29 17:53:42 2022 +0000 |
| committer | Xisco Fauli <xiscofauli@libreoffice.org> | Fri Dec 30 08:58:45 2022 +0000 |
| tree | bd001c653dfa0f5f351d9cdadaae32d8263c7e42 | |
| parent | 1675ed7816c9078a8fbc744afab76e206634fc3a [diff] |
tdf#152717: ScDdeLink::DataChanged may get OUString directly ... after commit 94df17f58fe6269452b7252b712a89978c444bec (tdf#151429: don't convert OUStrings to system encoding, 2022-10-08) Change-Id: Ie9d6eb2a4465a576eefe0840a30636e898fa9028 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144810 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> (cherry picked from commit 37723413115baafdc7d13ad26d11aa5f917c2036) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144812 Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
diff --git a/sc/source/core/tool/ddelink.cxx b/sc/source/core/tool/ddelink.cxx index 95591dd..775c718 100644 --- a/sc/source/core/tool/ddelink.cxx +++ b/sc/source/core/tool/ddelink.cxx
@@ -130,7 +130,8 @@ sfx2::SvBaseLink::UpdateResult ScDdeLink::DataChanged( return SUCCESS; OUString aLinkStr; ScByteSequenceToString::GetString( aLinkStr, rValue, osl_getThreadTextEncoding() ); if (!(rValue >>= aLinkStr)) ScByteSequenceToString::GetString( aLinkStr, rValue, osl_getThreadTextEncoding() ); aLinkStr = convertLineEnd(aLinkStr, LINEEND_LF); // if string ends with line end, discard: