summaryrefslogtreecommitdiff
path: root/include/editeng
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-05-25 19:16:43 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-05-26 11:18:07 +0200
commit2d6dff8d9837c66d5961ea74921306110b9d747b (patch)
tree1f567253ed3f4169d3a5eecb424952d05b03a9d4 /include/editeng
parentd1b0dbcbd7016fea59b4a509d95045f643b9eeec (diff)
use more TypedWhichId
Change-Id: Icc1cbd2717034c87bdaea1b62253b001243c6652 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152290 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/editeng')
-rw-r--r--include/editeng/editids.hrc6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/editeng/editids.hrc b/include/editeng/editids.hrc
index bf6b33afb4d7..f33972743aa0 100644
--- a/include/editeng/editids.hrc
+++ b/include/editeng/editids.hrc
@@ -50,6 +50,7 @@ class SvxKerningItem;
class SvxLanguageItem;
class SvxLineSpacingItem;
class SvxLRSpaceItem;
+class SvxOrphansItem;
class SvxOverlineItem;
class SvxPageModelItem;
class SvxParaVertAlignItem;
@@ -62,6 +63,7 @@ class SvxTwoLinesItem;
class SvxUnderlineItem;
class SvxULSpaceItem;
class SvxWeightItem;
+class SvxWidowsItem;
class SvxWordLineModeItem;
/*
@@ -107,8 +109,8 @@ class SvxWordLineModeItem;
#define SID_ATTR_PARA_PAGEBREAK ( SID_SVX_START + 37 )
#define SID_ATTR_PARA_HYPHENZONE TypedWhichId<SvxHyphenZoneItem>( SID_SVX_START + 38 )
#define SID_ATTR_PARA_SPLIT TypedWhichId<SvxFormatSplitItem>( SID_SVX_START + 39 )
-#define SID_ATTR_PARA_ORPHANS ( SID_SVX_START + 40 )
-#define SID_ATTR_PARA_WIDOWS ( SID_SVX_START + 41 )
+#define SID_ATTR_PARA_ORPHANS TypedWhichId<SvxOrphansItem>( SID_SVX_START + 40 )
+#define SID_ATTR_PARA_WIDOWS TypedWhichId<SvxWidowsItem>( SID_SVX_START + 41 )
#define SID_ATTR_PARA_ULSPACE ( SID_SVX_START + 42 )
#define SID_ATTR_PARA_LRSPACE ( SID_SVX_START + 43 )
#define SID_ATTR_PARA_LEFTSPACE ( SID_SVX_START + 44 )