diff options
Diffstat (limited to 'editeng/source/items/numitem.cxx')
-rw-r--r-- | editeng/source/items/numitem.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editeng/source/items/numitem.cxx b/editeng/source/items/numitem.cxx index 3e5fc65907ea..891113ddf396 100644 --- a/editeng/source/items/numitem.cxx +++ b/editeng/source/items/numitem.cxx @@ -407,7 +407,7 @@ void SvxNumberFormat::SetGraphicBrush( const SvxBrushItem* pBrushItem, if(pSize) aGraphicSize = *pSize; else - aGraphicSize.Width() = aGraphicSize.Height() = 0; + aGraphicSize.setWidth( aGraphicSize.Height() = 0 ); } void SvxNumberFormat::SetGraphic( const OUString& rName ) @@ -419,7 +419,7 @@ void SvxNumberFormat::SetGraphic( const OUString& rName ) if( eVertOrient == text::VertOrientation::NONE ) eVertOrient = text::VertOrientation::TOP; - aGraphicSize.Width() = aGraphicSize.Height() = 0; + aGraphicSize.setWidth( aGraphicSize.Height() = 0 ); } sal_Int16 SvxNumberFormat::GetVertOrient() const |