diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-27 16:17:13 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-27 20:37:02 +0200 |
commit | 5f41f7b33e2f85be4c9d7380822916a7469cf39b (patch) | |
tree | 78a6f5e989ecf918598c9cc621411b92341f4d91 /sw/source/core/unocore/unoframe.cxx | |
parent | b9d2c3345a14420ae2f936ffa37f269fcfe74475 (diff) |
loplugin:constantparam in sw
Change-Id: Ia477de0fb910f6a8fbb0a5054f4bdb43dd9ff381
Reviewed-on: https://gerrit.libreoffice.org/43951
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core/unocore/unoframe.cxx')
-rw-r--r-- | sw/source/core/unocore/unoframe.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/unocore/unoframe.cxx b/sw/source/core/unocore/unoframe.cxx index 5f54e2daf937..b663f5d836b1 100644 --- a/sw/source/core/unocore/unoframe.cxx +++ b/sw/source/core/unocore/unoframe.cxx @@ -987,7 +987,7 @@ bool SwFrameProperties_Impl::AnyToItemSet(SwDoc *pDoc, SfxItemSet& rSet, SfxItem { OUString sStyle; *pStyleName >>= sStyle; - SwStyleNameMapper::FillUIName(sStyle, sStyle, SwGetPoolIdFromName::FrmFmt, true); + SwStyleNameMapper::FillUIName(sStyle, sStyle, SwGetPoolIdFromName::FrmFmt); pStyle = static_cast<SwDocStyleSheet*>(pDoc->GetDocShell()->GetStyleSheetPool()->Find(sStyle, SfxStyleFamily::Frame)); } @@ -1060,7 +1060,7 @@ bool SwGraphicProperties_Impl::AnyToItemSet( { OUString sStyle; *pStyleName >>= sStyle; - SwStyleNameMapper::FillUIName(sStyle, sStyle, SwGetPoolIdFromName::FrmFmt, true); + SwStyleNameMapper::FillUIName(sStyle, sStyle, SwGetPoolIdFromName::FrmFmt); pStyle = static_cast<SwDocStyleSheet*>(pDoc->GetDocShell()->GetStyleSheetPool()->Find(sStyle, SfxStyleFamily::Frame)); } @@ -1390,7 +1390,7 @@ static SwFrameFormat *lcl_GetFrameFormat( const ::uno::Any& rValue, SwDoc *pDoc rValue >>= uTemp; OUString sStyle; SwStyleNameMapper::FillUIName(uTemp, sStyle, - SwGetPoolIdFromName::FrmFmt, true); + SwGetPoolIdFromName::FrmFmt); SwDocStyleSheet* pStyle = static_cast<SwDocStyleSheet*>(pDocSh->GetStyleSheetPool()->Find(sStyle, SfxStyleFamily::Frame)); |