diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-31 10:41:55 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-31 13:58:23 +0100 |
commit | 4f798ed25645b3b1c2e5100a6353cfbc4650becc (patch) | |
tree | b42022d8b483ab9dea229cc95fc21efa2c30b4c8 /cui | |
parent | 7383ab517030db0c2d7bf4f393f38743fbcaba04 (diff) |
loplugin:constantparam in editeng
Change-Id: I0a07326d5b63e82ef16e02f75fd8523e3b73e1f4
Reviewed-on: https://gerrit.libreoffice.org/44096
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/tabpages/page.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/tabpages/page.cxx b/cui/source/tabpages/page.cxx index 4e895fa09ff7..bc83dcfc3f57 100644 --- a/cui/source/tabpages/page.cxx +++ b/cui/source/tabpages/page.cxx @@ -514,7 +514,7 @@ void SvxPageDescPage::Reset( const SfxItemSet* rSet ) Swap( aPaperSize ); // Actual Paper Format - Paper ePaper = SvxPaperInfo::GetSvxPaper( aPaperSize, MapUnit::Map100thMM, true ); + Paper ePaper = SvxPaperInfo::GetSvxPaper( aPaperSize, MapUnit::Map100thMM ); if ( PAPER_USER != ePaper ) aPaperSize = SvxPaperInfo::GetPaperSize( ePaper, MapUnit::Map100thMM ); @@ -996,7 +996,7 @@ IMPL_LINK_NOARG(SvxPageDescPage, PaperSizeModify_Impl, Edit&, void) MapUnit eUnit = GetItemSet().GetPool()->GetMetric( nWhich ); Size aSize( GetCoreValue( *m_pPaperWidthEdit, eUnit ), GetCoreValue( *m_pPaperHeightEdit, eUnit ) ); - Paper ePaper = SvxPaperInfo::GetSvxPaper( aSize, eUnit, true ); + Paper ePaper = SvxPaperInfo::GetSvxPaper( aSize, eUnit ); m_pPaperSizeBox->SetSelection( ePaper ); UpdateExample_Impl( true ); |