summaryrefslogtreecommitdiff
path: root/editeng/source/items/numitem.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-02-13 15:49:10 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-02-14 07:27:50 +0100
commit2096aac8b958db66b3ddce16b06dca87edc8ba0a (patch)
tree68f5972ea90c5f434deaa1e29f5ce1e710634fa4 /editeng/source/items/numitem.cxx
parenta9ca38bdf7ff9d15529b5903e640987fc14c0fa7 (diff)
loplugin:changetoolsgen in editeng..extensions
Change-Id: I476fd8b988216a300c57fcf184ea3742139363fe Reviewed-on: https://gerrit.libreoffice.org/49656 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'editeng/source/items/numitem.cxx')
-rw-r--r--editeng/source/items/numitem.cxx4
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