diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-05-26 11:18:17 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-05-26 13:49:54 +0200 |
commit | 5315e6069e425aad88873beb5344bb8ea31e0c55 (patch) | |
tree | ee8928e3fb00e52a04faa1cc5a3424b3ed0f8ff2 /sd/inc/sdattr.hrc | |
parent | a82e7cc9ed17a2500ad8cb9ffe54c412b0d8063f (diff) |
use more TypedWhichId
which flushed out an inconsistency in how SID_NUMBER_TYPE_FORMAT was being used
Change-Id: Ib59ae4c4950136703d18d7485db432a39e3dc39c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152300
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/inc/sdattr.hrc')
-rw-r--r-- | sd/inc/sdattr.hrc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sd/inc/sdattr.hrc b/sd/inc/sdattr.hrc index 958ab13e7fb2..e4c102f46557 100644 --- a/sd/inc/sdattr.hrc +++ b/sd/inc/sdattr.hrc @@ -60,8 +60,8 @@ class XColorItem; // animation attributes #define ATTR_ANIMATION_START ATTR_PRESENT_END + 1 #define ATTR_ANIMATION_ACTIVE ATTR_ANIMATION_START -#define ATTR_ANIMATION_EFFECT ATTR_ANIMATION_START + 1 -#define ATTR_ANIMATION_SPEED ATTR_ANIMATION_START + 2 +#define ATTR_ANIMATION_EFFECT TypedWhichId<SfxUInt16Item>(ATTR_ANIMATION_START + 1) +#define ATTR_ANIMATION_SPEED TypedWhichId<SfxUInt16Item>(ATTR_ANIMATION_START + 2) #define ATTR_ANIMATION_INVISIBLE ATTR_ANIMATION_START + 3 #define ATTR_ANIMATION_FADEOUT ATTR_ANIMATION_START + 4 #define ATTR_ANIMATION_COLOR ATTR_ANIMATION_START + 5 @@ -72,9 +72,9 @@ class XColorItem; #define ATTR_ANIMATION_END ATTR_ANIMATION_TEXTEFFECT #define ATTR_ACTION_START ATTR_ANIMATION_END + 1 -#define ATTR_ACTION ATTR_ACTION_START -#define ATTR_ACTION_EFFECT ATTR_ACTION_START + 1 -#define ATTR_ACTION_EFFECTSPEED ATTR_ACTION_START + 2 +#define ATTR_ACTION TypedWhichId<SfxUInt16Item>(ATTR_ACTION_START) +#define ATTR_ACTION_EFFECT TypedWhichId<SfxUInt16Item>(ATTR_ACTION_START + 1) +#define ATTR_ACTION_EFFECTSPEED TypedWhichId<SfxUInt16Item>(ATTR_ACTION_START + 2) #define ATTR_ACTION_FILENAME TypedWhichId<SfxStringItem>(ATTR_ACTION_START + 3) #define ATTR_ACTION_SOUNDON ATTR_ACTION_START + 4 #define ATTR_ACTION_PLAYFULL ATTR_ACTION_START + 5 @@ -92,7 +92,7 @@ class XColorItem; #define ATTR_COPY_END ATTR_COPY_END_COLOR #define ATTR_SNAPLINE_START ATTR_COPY_END + 1 -#define ATTR_SNAPLINE_KIND ATTR_SNAPLINE_START +#define ATTR_SNAPLINE_KIND TypedWhichId<SfxUInt16Item>(ATTR_SNAPLINE_START) #define ATTR_SNAPLINE_X ATTR_SNAPLINE_START + 1 #define ATTR_SNAPLINE_Y ATTR_SNAPLINE_START + 2 #define ATTR_SNAPLINE_END ATTR_SNAPLINE_Y |