summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Luth <justin_luth@sil.org>2021-01-16 12:12:04 +0300
committerXisco Fauli <xiscofauli@libreoffice.org>2021-01-16 17:43:43 +0100
commitd864b799e0460c2c8ada62fd598e7adcb1ac6700 (patch)
tree47e129a29837589910ca744c585bf7ecc327a677
parenttdf#138897 sw: avoid creating SwUndoResetAttr in CopyImplImpl() (diff)
downloadcore-d864b799e0460c2c8ada62fd598e7adcb1ac6700.tar.gz
core-d864b799e0460c2c8ada62fd598e7adcb1ac6700.zip
tdf#116394 writerfilter: append '=' if not a formula marker
Oops - a silly mistake to throw away the character if it didn't match a special purpose. There is no point in adding a unit test for this. Change-Id: I3b48af578ae96744405ec0919ff341d1c9b43f65 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109426 Tested-by: Jenkins Reviewed-by: Justin Luth <justin_luth@sil.org> (cherry picked from commit b232b422a3cfe3b410bbc75e0fffdfc238fd10e7) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109397 Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
-rw-r--r--writerfilter/source/dmapper/DomainMapper_Impl.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/writerfilter/source/dmapper/DomainMapper_Impl.cxx b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
index e8a45ef3b5c0..5325190d5ef2 100644
--- a/writerfilter/source/dmapper/DomainMapper_Impl.cxx
+++ b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
@@ -3533,6 +3533,8 @@ static OUString lcl_ExtractToken(OUString const& rCommand,
++rIndex;
return "FORMULA";
}
+ else
+ token.append('=');
break;
default:
token.append(currentChar);