include/svl/poolitem.hxx | 1 + include/svx/sdgcpitm.hxx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-)
New commits: commit eb73e2c8b66ef3539e68ee8150e119bbe437955c Author: Noel Grandin <[email protected]> AuthorDate: Mon Sep 30 13:49:56 2024 +0200 Commit: Noel Grandin <[email protected]> CommitDate: Mon Sep 30 18:27:45 2024 +0200 SdrGrafCropItem needs its own SfxItemType Change-Id: I45bf4abf015dd493451f77e66dd70006867a2a6f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174268 Reviewed-by: Noel Grandin <[email protected]> Tested-by: Jenkins diff --git a/include/svl/poolitem.hxx b/include/svl/poolitem.hxx index dcf1a449eeb5..85bdef1c563e 100644 --- a/include/svl/poolitem.hxx +++ b/include/svl/poolitem.hxx @@ -178,6 +178,7 @@ enum class SfxItemType : sal_uInt16 { SdrFractionItemType, SdrGrafBlueItemType, SdrGrafContrastItemType, + SdrGrafCropType, SdrGrafGamma100ItemType, SdrGrafGreenItemType, SdrGrafLuminanceItemType, diff --git a/include/svx/sdgcpitm.hxx b/include/svx/sdgcpitm.hxx index a9712a15608d..d2c25d57f896 100644 --- a/include/svx/sdgcpitm.hxx +++ b/include/svx/sdgcpitm.hxx @@ -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; };
