summaryrefslogtreecommitdiff
path: root/sw/source/ui/misc/pggrid.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-02-21 10:13:03 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-02-21 12:58:49 +0100
commit180f2860525fb7ed4892b417b20c3f2f9cbb44e0 (patch)
treef4c11ab79c1ba022f31944668eae2f20a8f5c808 /sw/source/ui/misc/pggrid.cxx
parentb99dd5350c21ad4096af0ae281c518b127fa37b5 (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/ui/misc/pggrid.cxx')
-rw-r--r--sw/source/ui/misc/pggrid.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/ui/misc/pggrid.cxx b/sw/source/ui/misc/pggrid.cxx
index 77aa10018c93..2ec697256232 100644
--- a/sw/source/ui/misc/pggrid.cxx
+++ b/sw/source/ui/misc/pggrid.cxx
@@ -322,13 +322,13 @@ void SwTextGridPage::UpdatePageSize(const SfxItemSet& rSet)
rBox.GetDistance(SvxBoxItemLine::RIGHT);
if(m_bVertical)
{
- m_aPageSize.Width() = nValue1;
- m_aPageSize.Height() = nValue2;
+ m_aPageSize.setWidth( nValue1 );
+ m_aPageSize.setHeight( nValue2 );
}
else
{
- m_aPageSize.Width() = nValue2;
- m_aPageSize.Height() = nValue1;
+ m_aPageSize.setWidth( nValue2 );
+ m_aPageSize.setHeight( nValue1 );
}
sal_Int32 nTextSize = static_cast< sal_Int32 >(m_bRubyUserValue ?