summaryrefslogtreecommitdiff
path: root/svl/source/items/style.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-04-04 14:13:00 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-04-05 06:42:40 +0000
commitff339c89b51ed571d55c762e43aa1a6ee9ada1cb (patch)
tree5ed1c9a8353037745ce49e5a97e696157a0dcbca /svl/source/items/style.cxx
parent3d6c84f2d9683b23c14fa5bf50ca4425cf4ceb04 (diff)
loplugin:constantparam part2
Change-Id: I7ec4c946be52a6b56aee908426f95ecacc7b0746 Reviewed-on: https://gerrit.libreoffice.org/36072 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svl/source/items/style.cxx')
-rw-r--r--svl/source/items/style.cxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/svl/source/items/style.cxx b/svl/source/items/style.cxx
index e71f9375493c..a80b3be6ad02 100644
--- a/svl/source/items/style.cxx
+++ b/svl/source/items/style.cxx
@@ -60,13 +60,12 @@ static DbgStyleSheetReferences aDbgStyleSheetReferences;
#endif
-SfxStyleSheetHintExtended::SfxStyleSheetHintExtended
+SfxStyleSheetModifiedHint::SfxStyleSheetModifiedHint
(
- SfxHintId nAction,
const OUString& rOldName,
SfxStyleSheetBase& rStyleSheet // Remains with the caller
)
-: SfxStyleSheetHint( nAction, rStyleSheet ),
+: SfxStyleSheetHint( SfxHintId::StyleSheetModified, rStyleSheet ),
aName( rOldName )
{}
@@ -185,8 +184,7 @@ bool SfxStyleSheetBase::SetName(const OUString& rName, bool bReIndexNow)
if (bReIndexNow)
pPool->Reindex();
pPool->SetSearchMask(eTmpFam, nTmpMask);
- pPool->Broadcast( SfxStyleSheetHintExtended(
- SfxHintId::StyleSheetModified, aOldName, *this ) );
+ pPool->Broadcast( SfxStyleSheetModifiedHint( aOldName, *this ) );
}
return true;
}