summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorBaole Fang <baole.fang@gmail.com>2023-07-06 12:03:31 -0400
committerMike Kaganski <mike.kaganski@collabora.com>2023-07-29 03:53:28 +0200
commite26aeb882dd236adf19679d5df9b7ba5da1ed226 (patch)
tree7a144a0a6bc65f3fde49401be63dfd32c70f8d96 /editeng
parente3d28846c2343072750197fcdeaf44a945ddcb61 (diff)
tdf#156165: Fix replace custom styles while typing
Originally, Replace Custom Styles changes styles to text body by entering BuiltText. Since styles change to text body is removed from BuiltTest, it is converted independently. Now, conversion is applied even during typing because m_aFlags.bChgUserColl is true (its default value) during typing. Therefore, its default value is changed to false. Change-Id: I8ce067b311922b5e1bdcd84036229c369b50a977 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154144 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/misc/swafopt.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/misc/swafopt.cxx b/editeng/source/misc/swafopt.cxx
index f6de4098d2e4..f5f79a45be97 100644
--- a/editeng/source/misc/swafopt.cxx
+++ b/editeng/source/misc/swafopt.cxx
@@ -27,7 +27,6 @@ SvxSwAutoFormatFlags::SvxSwAutoFormatFlags()
bAutoCorrect =
bCapitalStartSentence =
bCapitalStartWord =
- bChgUserColl =
bChgEnumNum =
bAddNonBrkSpace =
bChgOrdinalNumber =
@@ -42,6 +41,7 @@ SvxSwAutoFormatFlags::SvxSwAutoFormatFlags()
bAFormatByInpDelSpacesAtSttEnd =
bAFormatByInpDelSpacesBetweenLines = true;
+ bChgUserColl =
bReplaceStyles =
bDelEmptyNode =
bWithRedlining =