summaryrefslogtreecommitdiff
path: root/sw/source/uibase/shells/txtattr.cxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2022-12-13 14:48:26 +0100
committerMiklos Vajna <vmiklos@collabora.com>2022-12-13 15:43:53 +0000
commit9a0e31fcb7fa871fa63abe106d83a04df2f4c74e (patch)
tree6e1f0ee886b4a40bf58feb6b9223777decbf5090 /sw/source/uibase/shells/txtattr.cxx
parent55e2d3f45dbd404f20021a4b1d5d5184d24a3cbf (diff)
sw: rename SwFormat::m_bAutoUpdateFormat to m_bAutoUpdateOnDirectFormat
To make it more obvious that this flag describes the relatively obscure feature where a direct format on one paragraph automatically makes it into its style and all other paragraphs with the same style are updated accordingly, kind of preventing real direct formatting. Change-Id: Ia97929cd65f1aa0ff7f11425ec6d00f234053921 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144051 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'sw/source/uibase/shells/txtattr.cxx')
-rw-r--r--sw/source/uibase/shells/txtattr.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/shells/txtattr.cxx b/sw/source/uibase/shells/txtattr.cxx
index b42dcdc8adac..1dc70a6dc073 100644
--- a/sw/source/uibase/shells/txtattr.cxx
+++ b/sw/source/uibase/shells/txtattr.cxx
@@ -213,7 +213,7 @@ void SwTextShell::ExecCharAttrArgs(SfxRequest &rReq)
if (rWrtSh.HasSelection() && rWrtSh.IsSelFullPara())
{
pColl = rWrtSh.GetCurTextFormatColl();
- if ( pColl && !pColl->IsAutoUpdateFormat() )
+ if ( pColl && !pColl->IsAutoUpdateOnDirectFormat() )
pColl = nullptr;
}
SfxItemPool& rPool = GetPool();
@@ -444,7 +444,7 @@ SET_LINESPACE:
}
SwWrtShell& rWrtSh = GetShell();
SwTextFormatColl* pColl = rWrtSh.GetCurTextFormatColl();
- if(pColl && pColl->IsAutoUpdateFormat())
+ if(pColl && pColl->IsAutoUpdateOnDirectFormat())
{
rWrtSh.AutoUpdatePara(pColl, aSet);
}