SdrGrafCropItem needs its own SfxItemType
Change-Id: I45bf4abf015dd493451f77e66dd70006867a2a6f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174268 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Jenkins
This commit is contained in:
parent
84725adbdc
commit
eb73e2c8b6
2 changed files with 2 additions and 1 deletions
|
@ -178,6 +178,7 @@ enum class SfxItemType : sal_uInt16 {
|
|||
SdrFractionItemType,
|
||||
SdrGrafBlueItemType,
|
||||
SdrGrafContrastItemType,
|
||||
SdrGrafCropType,
|
||||
SdrGrafGamma100ItemType,
|
||||
SdrGrafGreenItemType,
|
||||
SdrGrafLuminanceItemType,
|
||||
|
|
|
@ -35,7 +35,7 @@ public:
|
|||
|
||||
SdrGrafCropItem( sal_Int32 nLeftCrop = 0, sal_Int32 nTopCrop = 0,
|
||||
sal_Int32 nRightCrop = 0, sal_Int32 nBottomCrop = 0 ) :
|
||||
SvxGrfCrop( nLeftCrop, nRightCrop, nTopCrop, nBottomCrop, SDRATTR_GRAFCROP ) {}
|
||||
SvxGrfCrop( nLeftCrop, nRightCrop, nTopCrop, nBottomCrop, SDRATTR_GRAFCROP, SfxItemType::SdrGrafCropType ) {}
|
||||
|
||||
virtual SdrGrafCropItem* Clone( SfxItemPool* pPool = nullptr ) const override;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue