summaryrefslogtreecommitdiff
path: root/include/sfx2/docfac.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-03-27 18:12:18 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-03-27 18:12:18 +0100
commit567ef6d5782cdb729b49005caf6005610ce03e22 (patch)
tree7e3be1da41382e555d9091914ef7e064852a4fd4 /include/sfx2/docfac.hxx
parentc36daa01f444ebad799c1cc7a106f1b4bb3c3d12 (diff)
Second batch of adding SAL_OVERRIDE to overriding function declarations
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: Ie656f9d653fc716f72ac175925272696d509038f
Diffstat (limited to 'include/sfx2/docfac.hxx')
-rw-r--r--include/sfx2/docfac.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sfx2/docfac.hxx b/include/sfx2/docfac.hxx
index 85d25fec608d..40dc08b3b59d 100644
--- a/include/sfx2/docfac.hxx
+++ b/include/sfx2/docfac.hxx
@@ -105,7 +105,7 @@ private:
#define SFX_DECL_OBJECTFACTORY() \
public: \
static SfxObjectFactory& Factory(); \
- virtual SfxObjectFactory& GetFactory() const { return Factory(); }
+ virtual SfxObjectFactory& GetFactory() const SAL_OVERRIDE { return Factory(); }
#define SFX_IMPL_OBJECTFACTORY(ClassName,GlobName,Flags,ShortName) \
SfxObjectFactory& ClassName::Factory() \