summaryrefslogtreecommitdiff
path: root/include/sfx2/docfac.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-12-03 16:02:36 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-12-04 07:12:28 +0100
commitf3ba759663b85381cf5abeaeee8ffa2c7ca59bc5 (patch)
tree310a068646b0c057d69346d7fbb07c5a5733ddfb /include/sfx2/docfac.hxx
parente909028cabf6d575f525283d089184555d56418f (diff)
remove unused enum SfxObjectShellFlags
Change-Id: I594e7beb3fb320b70ffe4dd98fee46c833f443dc Reviewed-on: https://gerrit.libreoffice.org/64453 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/sfx2/docfac.hxx')
-rw-r--r--include/sfx2/docfac.hxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/include/sfx2/docfac.hxx b/include/sfx2/docfac.hxx
index cdde177c02c8..1efdc6f90578 100644
--- a/include/sfx2/docfac.hxx
+++ b/include/sfx2/docfac.hxx
@@ -45,14 +45,12 @@ class SFX2_DLLPUBLIC SfxObjectFactory
private:
const OUString m_sFactoryName;
std::unique_ptr<SfxObjectFactory_Impl> pImpl; // Additional Data
- SfxObjectShellFlags const nFlags;
public:
- SfxObjectFactory( const SvGlobalName &rName, SfxObjectShellFlags nFlags, const OUString& sFactoryName );
+ SfxObjectFactory( const SvGlobalName &rName, const OUString& sFactoryName );
~SfxObjectFactory();
const SvGlobalName& GetClassId() const;
- SfxObjectShellFlags GetFlags() { return nFlags; }
OUString GetFactoryURL() const; // shortcut for "private:factory/GetShortName()"
const OUString& GetFactoryName() const { return m_sFactoryName; }
OUString GetModuleName() const;
@@ -90,10 +88,10 @@ public: \
static SfxObjectFactory& Factory(); \
virtual SfxObjectFactory& GetFactory() const override { return Factory(); }
-#define SFX_IMPL_OBJECTFACTORY(ClassName,GlobName,Flags,ShortName) \
+#define SFX_IMPL_OBJECTFACTORY(ClassName,GlobName,ShortName) \
SfxObjectFactory& ClassName::Factory() \
{ \
- static SfxObjectFactory aObjectFactory(GlobName, Flags, ShortName); \
+ static SfxObjectFactory aObjectFactory(GlobName, ShortName); \
return aObjectFactory; \
}
#endif // INCLUDED_SFX2_DOCFAC_HXX