| commit | 8407a506f0cffb902190858fa67559bd2685e502 | [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:53 2022 +0000 |
| tree | c8e55dd798fc6876c3d66797bd8e712c7a6be72b | |
| parent | 54aa876d76a427d778e9dbadfb85f567715a6fce [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/+/144813 Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
diff --git a/sc/source/core/tool/ddelink.cxx b/sc/source/core/tool/ddelink.cxx index 0b7d79e..eced7cd 100644 --- a/sc/source/core/tool/ddelink.cxx +++ b/sc/source/core/tool/ddelink.cxx
@@ -129,7 +129,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: