summaryrefslogtreecommitdiff
path: root/sw/source/uibase/inc/labelcfg.hxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-03-11 16:14:47 +0100
committerMichael Stahl <mstahl@redhat.com>2015-03-11 16:50:00 +0100
commit765f6211b1371c1e40de386e715de6b3d1a8df86 (patch)
tree0d0a8d92097a628ac72316593db9561c23948685 /sw/source/uibase/inc/labelcfg.hxx
parent0bd20a26686d01efea4c64c1f4aac53ae1c142aa (diff)
utl::ConfigItem::Commit() should call ClearModified()
Rename the virtual function, and add a new non-virtual Commit() to do that. Change-Id: I09421df781ba965d6ff638b46cd8214fb3a00022
Diffstat (limited to 'sw/source/uibase/inc/labelcfg.hxx')
-rw-r--r--sw/source/uibase/inc/labelcfg.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/sw/source/uibase/inc/labelcfg.hxx b/sw/source/uibase/inc/labelcfg.hxx
index 0a8a162e077a..5f47a4b638e6 100644
--- a/sw/source/uibase/inc/labelcfg.hxx
+++ b/sw/source/uibase/inc/labelcfg.hxx
@@ -34,14 +34,16 @@ struct SwLabelMeasure
class SW_DLLPUBLIC SwLabelConfig : public utl::ConfigItem
{
+private:
std::vector<OUString> m_aManufacturers;
std::map< OUString, std::map<OUString, SwLabelMeasure> > m_aLabels;
+ virtual void ImplCommit() SAL_OVERRIDE;
+
public:
SwLabelConfig();
virtual ~SwLabelConfig();
- virtual void Commit() SAL_OVERRIDE;
virtual void Notify( const ::com::sun::star::uno::Sequence< OUString >& aPropertyNames ) SAL_OVERRIDE;
void FillLabels(const OUString& rManufacturer, SwLabRecs& rLabArr);