summaryrefslogtreecommitdiff
path: root/sw/source/core/graphic/grfatr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/graphic/grfatr.cxx')
-rw-r--r--sw/source/core/graphic/grfatr.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/graphic/grfatr.cxx b/sw/source/core/graphic/grfatr.cxx
index bf7ff665bc47..549d2d67da3b 100644
--- a/sw/source/core/graphic/grfatr.cxx
+++ b/sw/source/core/graphic/grfatr.cxx
@@ -134,11 +134,11 @@ bool SwMirrorGrf::PutValue( const uno::Any& rVal, sal_uInt8 nMemberId )
}
SwCropGrf::SwCropGrf()
- : SvxGrfCrop( RES_GRFATR_CROPGRF )
+ : SvxGrfCrop( RES_GRFATR_CROPGRF, SfxItemType::SwCropGrfType )
{}
SwCropGrf::SwCropGrf(sal_Int32 nL, sal_Int32 nR, sal_Int32 nT, sal_Int32 nB )
- : SvxGrfCrop( nL, nR, nT, nB, RES_GRFATR_CROPGRF )
+ : SvxGrfCrop( nL, nR, nT, nB, RES_GRFATR_CROPGRF, SfxItemType::SwCropGrfType )
{}
SwCropGrf* SwCropGrf::Clone( SfxItemPool* ) const
@@ -166,7 +166,7 @@ Degree10 SwRotationGrf::checkAndCorrectValue(Degree10 nValue)
SwRotationGrf::SwRotationGrf( Degree10 nVal, const Size& rSz )
// tdf#115529 check and evtl. correct value
-: SfxUInt16Item( RES_GRFATR_ROTATION, checkAndCorrectValue(nVal).get() ),
+: SfxUInt16Item( RES_GRFATR_ROTATION, checkAndCorrectValue(nVal).get(), SfxItemType::SwRotationGrfType ),
m_aUnrotatedSize( rSz )
{
}