summaryrefslogtreecommitdiff
path: root/svl/source/items/style.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-03-26 16:37:00 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-03-26 16:39:26 +0100
commit70cc2b191b95fbc210bc1f0f6a7159f341894f0f (patch)
treea70f4957c454b443520cbf91250c41d9eea80017 /svl/source/items/style.cxx
parent8757bea2e88c6e349e1fe98d8e9695d7b9c6179e (diff)
First batch of adding SAL_OVERRRIDE to overriding function declarations
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
Diffstat (limited to 'svl/source/items/style.cxx')
-rw-r--r--svl/source/items/style.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svl/source/items/style.cxx b/svl/source/items/style.cxx
index 11a365fb3f5f..b97007a4bde5 100644
--- a/svl/source/items/style.cxx
+++ b/svl/source/items/style.cxx
@@ -374,7 +374,7 @@ struct DoesStyleMatchStyleSheetPredicate SAL_FINAL : public svl::StyleSheetPredi
: mIterator(it) {;}
bool
- Check(const SfxStyleSheetBase& styleSheet)
+ Check(const SfxStyleSheetBase& styleSheet) SAL_OVERRIDE
{
bool bMatchFamily = ((mIterator->GetSearchFamily() == SFX_STYLE_FAMILY_ALL) ||
( styleSheet.GetFamily() == mIterator->GetSearchFamily() ));
@@ -681,7 +681,7 @@ struct AddStyleSheetCallback : svl::StyleSheetCallback
AddStyleSheetCallback(SfxStyleSheetBasePool *pool)
: mPool(pool) {;}
- void DoIt(const SfxStyleSheetBase& ssheet)
+ void DoIt(const SfxStyleSheetBase& ssheet) SAL_OVERRIDE
{
mPool->Add(ssheet);
}
@@ -785,7 +785,7 @@ struct StyleSheetDisposerFunctor SAL_FINAL : public svl::StyleSheetDisposer
: mPool(pool) {;}
void
- Dispose(rtl::Reference<SfxStyleSheetBase> styleSheet)
+ Dispose(rtl::Reference<SfxStyleSheetBase> styleSheet) SAL_OVERRIDE
{
cppu::OWeakObject* weakObject = static_cast< ::cppu::OWeakObject* >(styleSheet.get());
com::sun::star::uno::Reference< com::sun::star::lang::XComponent >