summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorAndreas Heinisch <andreas.heinisch@yahoo.de>2023-11-17 12:09:18 +0100
committerAndreas Heinisch <andreas.heinisch@yahoo.de>2023-11-17 14:13:14 +0100
commit5af2041c551e97903d2ba7994c5e893836891832 (patch)
tree78a3f719b21a5af94f7fddaa83ed402b6f8d1c70 /cui
parentfb789aff45773c2b161376d13dd660b80af0d157 (diff)
tdf#154543 - Paragraph dialog: reset snap to grid to parent setting
Added the SID_ATTR_PARA_SNAPTOGRID to the alignment ranges in order to reset the snap to grid option to the corresponding parent setting. Without this parameter, the main dialog does not have any knowledge about this option. Change-Id: Ib090fae0919be54dd41674d129f5355c3566a90c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159565 Tested-by: Jenkins Reviewed-by: Andreas Heinisch <andreas.heinisch@yahoo.de>
Diffstat (limited to 'cui')
-rw-r--r--cui/source/tabpages/paragrph.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/cui/source/tabpages/paragrph.cxx b/cui/source/tabpages/paragrph.cxx
index 7c8f2dc225a7..132b125f0293 100644
--- a/cui/source/tabpages/paragrph.cxx
+++ b/cui/source/tabpages/paragrph.cxx
@@ -66,7 +66,11 @@ const WhichRangesContainer SvxStdParagraphTabPage::pStdRanges(
>);
const WhichRangesContainer SvxParaAlignTabPage::pAlignRanges(
- svl::Items<SID_ATTR_PARA_ADJUST, SID_ATTR_PARA_ADJUST>); // 10027
+ svl::Items<
+ SID_ATTR_PARA_ADJUST, SID_ATTR_PARA_ADJUST, // 10027
+ // tdf#154543 - reset snap to grid to parent
+ SID_ATTR_PARA_SNAPTOGRID, SID_ATTR_PARA_SNAPTOGRID // 10945
+ >);
const WhichRangesContainer SvxParaAlignTabPage::pSdrAlignRanges(
svl::Items<