summaryrefslogtreecommitdiff
path: root/extensions
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 /extensions
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 'extensions')
-rw-r--r--extensions/source/bibliography/bibconfig.cxx2
-rw-r--r--extensions/source/bibliography/bibconfig.hxx4
2 files changed, 4 insertions, 2 deletions
diff --git a/extensions/source/bibliography/bibconfig.cxx b/extensions/source/bibliography/bibconfig.cxx
index c9d0af0c9d65..4c7b65c9a559 100644
--- a/extensions/source/bibliography/bibconfig.cxx
+++ b/extensions/source/bibliography/bibconfig.cxx
@@ -218,7 +218,7 @@ void BibConfig::Notify( const com::sun::star::uno::Sequence<OUString>& )
{
}
-void BibConfig::Commit()
+void BibConfig::ImplCommit()
{
const Sequence<OUString> aPropertyNames = GetPropertyNames();
Sequence<Any> aValues(aPropertyNames.getLength());
diff --git a/extensions/source/bibliography/bibconfig.hxx b/extensions/source/bibliography/bibconfig.hxx
index 4bca1a9208f5..23880ed711ac 100644
--- a/extensions/source/bibliography/bibconfig.hxx
+++ b/extensions/source/bibliography/bibconfig.hxx
@@ -102,11 +102,13 @@ class BibConfig : public utl::ConfigItem
OUString aColumnDefaults[COLUMN_COUNT];
com::sun::star::uno::Sequence<OUString> GetPropertyNames();
+
+ virtual void ImplCommit() SAL_OVERRIDE;
+
public:
BibConfig();
virtual ~BibConfig();
- virtual void Commit() SAL_OVERRIDE;
virtual void Notify( const com::sun::star::uno::Sequence<OUString>& aPropertyNames) SAL_OVERRIDE;
BibDBDescriptor GetBibliographyURL();