diff options
Diffstat (limited to 'reportdesign/source/ui/inc/metadata.hxx')
-rw-r--r-- | reportdesign/source/ui/inc/metadata.hxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/reportdesign/source/ui/inc/metadata.hxx b/reportdesign/source/ui/inc/metadata.hxx index 812a4bc0c9f0..fd2594c11c14 100644 --- a/reportdesign/source/ui/inc/metadata.hxx +++ b/reportdesign/source/ui/inc/metadata.hxx @@ -45,16 +45,8 @@ namespace rptui //= OPropertyInfoService - class OPropertyInfoService + class OPropertyInfoService final { - OPropertyInfoService(const OPropertyInfoService&) = delete; - void operator =(const OPropertyInfoService&) = delete; - OPropertyInfoService() = delete; - protected: - static sal_uInt16 s_nCount; - static OPropertyInfoImpl* s_pPropertyInfos; - // TODO: a real structure which allows quick access by name as well as by id - public: // IPropertyInfoService static sal_Int32 getPropertyId(const OUString& _rName); @@ -68,11 +60,19 @@ namespace rptui const css::uno::Reference< css::inspection::XPropertyHandler >& _xFormComponentHandler ); - protected: + private: static const OPropertyInfoImpl* getPropertyInfo(); static const OPropertyInfoImpl* getPropertyInfo(const OUString& _rName); static const OPropertyInfoImpl* getPropertyInfo(sal_Int32 _nId); + + OPropertyInfoService(const OPropertyInfoService&) = delete; + void operator =(const OPropertyInfoService&) = delete; + OPropertyInfoService() = delete; + + static sal_uInt16 s_nCount; + static OPropertyInfoImpl* s_pPropertyInfos; + // TODO: a real structure which allows quick access by name as well as by id }; |