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/ui/misc/pggrid.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/ui/misc/pggrid.cxx')
-rw-r--r-- | sw/source/ui/misc/pggrid.cxx | 8 |
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 ? |