diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-02-21 10:13:03 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-02-21 12:58:49 +0100 |
commit | 180f2860525fb7ed4892b417b20c3f2f9cbb44e0 (patch) | |
tree | f4c11ab79c1ba022f31944668eae2f20a8f5c808 /sw/source/filter/html/htmlforw.cxx | |
parent | b99dd5350c21ad4096af0ae281c518b127fa37b5 (diff) |
loplugin:changetoolsgen in sw
Change-Id: If07efe4c15cfc28df38a9327856d39313ca78d50
Reviewed-on: https://gerrit.libreoffice.org/50078
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/filter/html/htmlforw.cxx')
-rw-r--r-- | sw/source/filter/html/htmlforw.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/filter/html/htmlforw.cxx b/sw/source/filter/html/htmlforw.cxx index cd2548cd0a26..d7011c4b19d7 100644 --- a/sw/source/filter/html/htmlforw.cxx +++ b/sw/source/filter/html/htmlforw.cxx @@ -669,8 +669,8 @@ static void GetControlSize(const SdrUnoObj& rFormObj, Size& rSz, SwDoc *pDoc) sal_Int16 nCols=0, nLines=0; xLC->getColumnsAndLines( nCols, nLines ); - rSz.Width() = nCols; - rSz.Height() = nLines; + rSz.setWidth( nCols ); + rSz.setHeight( nLines ); } Writer& OutHTML_DrawFrameFormatAsControl( Writer& rWrt, @@ -988,9 +988,9 @@ Writer& OutHTML_DrawFrameFormatAsControl( Writer& rWrt, Application::GetDefaultDevice()->LogicToPixel( aTwipSz, MapMode(MapUnit::MapTwip) ); if( !aPixelSz.Width() && aTwipSz.Width() ) - aPixelSz.Width() = 1; + aPixelSz.setWidth( 1 ); if( !aPixelSz.Height() && aTwipSz.Height() ) - aPixelSz.Height() = 1; + aPixelSz.setHeight( 1 ); } if( aPixelSz.Width() ) |