diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-11-20 23:39:21 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-11-20 23:39:21 +0100 |
commit | 380007d64716fc93fa265133eaa264132a242768 (patch) | |
tree | b405a09114e0f9aa11f0b1d08973399cac36cde6 /include/unotools/configitem.hxx | |
parent | 2d81c8f01771585e5f6bac87722051e0582f8453 (diff) |
Elide utl::ConfigItem_Impl
...and utl::ConfigItem::IsValidConfigMgr is always true.
Change-Id: I37e295729c3d0ae12719f0ae6f5a5628c58d0b9f
Diffstat (limited to 'include/unotools/configitem.hxx')
-rw-r--r-- | include/unotools/configitem.hxx | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/include/unotools/configitem.hxx b/include/unotools/configitem.hxx index 99aeae948d2a..9f3c86cc2fab 100644 --- a/include/unotools/configitem.hxx +++ b/include/unotools/configitem.hxx @@ -62,7 +62,6 @@ namespace utl class ConfigChangeListener_Impl; class ConfigManager; - struct ConfigItem_Impl; class UNOTOOLS_DLLPUBLIC ConfigItem : public ConfigurationBroadcaster { @@ -74,9 +73,11 @@ namespace utl m_xHierarchyAccess; com::sun::star::uno::Reference< com::sun::star::util::XChangesListener > xChangeLstnr; - ConfigItem_Impl* pImpl; + sal_Int16 m_nMode; + bool m_bIsModified; + bool m_bEnableInternalNotification; + sal_Int16 m_nInValueChange; - ConfigItem();// void RemoveChangesListener(); void CallNotify( const com::sun::star::uno::Sequence<OUString>& aPropertyNames); @@ -165,18 +166,14 @@ namespace utl const OUString& GetSubTreeName() const {return sSubTree;} - sal_Bool IsModified() const; + bool IsModified() const; /** writes the changed values into the sub tree. Always called in the Dtor of the derived class. */ virtual void Commit()=0; - sal_Bool IsInValueChange() const; + bool IsInValueChange() const; sal_Int16 GetMode() const; - - /** checks if the configuration manager used by this item is valid. - */ - sal_Bool IsValidConfigMgr() const; }; }//namespace utl #endif // INCLUDED_UNOTOOLS_CONFIGITEM_HXX |