diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-03-11 16:14:47 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-03-11 16:50:00 +0100 |
commit | 765f6211b1371c1e40de386e715de6b3d1a8df86 (patch) | |
tree | 0d0a8d92097a628ac72316593db9561c23948685 /sw/source/uibase/config | |
parent | 0bd20a26686d01efea4c64c1f4aac53ae1c142aa (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/config')
-rw-r--r-- | sw/source/uibase/config/barcfg.cxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/config/dbconfig.cxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/config/fontcfg.cxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/config/modcfg.cxx | 10 | ||||
-rw-r--r-- | sw/source/uibase/config/prtopt.cxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/config/usrpref.cxx | 10 |
6 files changed, 14 insertions, 14 deletions
diff --git a/sw/source/uibase/config/barcfg.cxx b/sw/source/uibase/config/barcfg.cxx index f9c4db5a81fd..d0b8ce3431a3 100644 --- a/sw/source/uibase/config/barcfg.cxx +++ b/sw/source/uibase/config/barcfg.cxx @@ -110,7 +110,7 @@ Sequence<OUString> SwToolbarConfigItem::GetPropertyNames() return aNames; } -void SwToolbarConfigItem::Commit() +void SwToolbarConfigItem::ImplCommit() { Sequence<OUString> aNames = GetPropertyNames(); diff --git a/sw/source/uibase/config/dbconfig.cxx b/sw/source/uibase/config/dbconfig.cxx index cad668f4a618..d3114c8ca9d1 100644 --- a/sw/source/uibase/config/dbconfig.cxx +++ b/sw/source/uibase/config/dbconfig.cxx @@ -110,7 +110,7 @@ const SwDBData& SwDBConfig::GetBibliographySource() return *pBibImpl; } -void SwDBConfig::Commit() {} +void SwDBConfig::ImplCommit() {} void SwDBConfig::Notify( const ::com::sun::star::uno::Sequence< OUString >& ) {} /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/source/uibase/config/fontcfg.cxx b/sw/source/uibase/config/fontcfg.cxx index 7fbd5270f209..53971f9aede6 100644 --- a/sw/source/uibase/config/fontcfg.cxx +++ b/sw/source/uibase/config/fontcfg.cxx @@ -131,7 +131,7 @@ SwStdFontConfig::SwStdFontConfig() : } } -void SwStdFontConfig::Commit() +void SwStdFontConfig::ImplCommit() { Sequence<OUString> aNames = GetPropertyNames(); Sequence<Any> aValues(aNames.getLength()); diff --git a/sw/source/uibase/config/modcfg.cxx b/sw/source/uibase/config/modcfg.cxx index 8176a79f608c..52a97e248d01 100644 --- a/sw/source/uibase/config/modcfg.cxx +++ b/sw/source/uibase/config/modcfg.cxx @@ -291,7 +291,7 @@ static sal_Int32 lcl_ConvertAttrToCfg(const AuthorCharAttr& rAttr) void SwRevisionConfig::Notify( const ::com::sun::star::uno::Sequence< OUString >& ) {} -void SwRevisionConfig::Commit() +void SwRevisionConfig::ImplCommit() { const Sequence<OUString>& aNames = GetPropertyNames(); Sequence<Any> aValues(aNames.getLength()); @@ -633,7 +633,7 @@ static void lcl_WriteOpt(const InsCaptionOpt& rOpt, Any* pValues, sal_Int32 nPro void SwInsertConfig::Notify( const ::com::sun::star::uno::Sequence< OUString >& ) {} -void SwInsertConfig::Commit() +void SwInsertConfig::ImplCommit() { const Sequence<OUString>& aNames = GetPropertyNames(); Sequence<Any> aValues(aNames.getLength()); @@ -1134,7 +1134,7 @@ SwTableConfig::~SwTableConfig() void SwTableConfig::Notify( const ::com::sun::star::uno::Sequence< OUString >& ) {} -void SwTableConfig::Commit() +void SwTableConfig::ImplCommit() { const Sequence<OUString>& aNames = GetPropertyNames(); Sequence<Any> aValues(aNames.getLength()); @@ -1236,7 +1236,7 @@ const Sequence<OUString>& SwMiscConfig::GetPropertyNames() void SwMiscConfig::Notify( const ::com::sun::star::uno::Sequence< OUString >& ) {} -void SwMiscConfig::Commit() +void SwMiscConfig::ImplCommit() { const Sequence<OUString>& aNames = GetPropertyNames(); Sequence<Any> aValues(aNames.getLength()); @@ -1340,7 +1340,7 @@ SwCompareConfig::~SwCompareConfig() { } -void SwCompareConfig::Commit() +void SwCompareConfig::ImplCommit() { const Sequence<OUString>& aNames = GetPropertyNames(); Sequence<Any> aValues(aNames.getLength()); diff --git a/sw/source/uibase/config/prtopt.cxx b/sw/source/uibase/config/prtopt.cxx index a8c007448583..e3c8cb2a0cb3 100644 --- a/sw/source/uibase/config/prtopt.cxx +++ b/sw/source/uibase/config/prtopt.cxx @@ -127,7 +127,7 @@ SwPrintOptions::~SwPrintOptions() void SwPrintOptions::Notify( const ::com::sun::star::uno::Sequence< OUString >& ) {} -void SwPrintOptions::Commit() +void SwPrintOptions::ImplCommit() { Sequence<OUString> aNames = GetPropertyNames(); diff --git a/sw/source/uibase/config/usrpref.cxx b/sw/source/uibase/config/usrpref.cxx index 49e353b8a4e1..017d885ced7e 100644 --- a/sw/source/uibase/config/usrpref.cxx +++ b/sw/source/uibase/config/usrpref.cxx @@ -127,7 +127,7 @@ void SwContentViewConfig::Notify( const Sequence< OUString > & /*rPropertyNames* Load(); } -void SwContentViewConfig::Commit() +void SwContentViewConfig::ImplCommit() { Sequence<OUString> aNames = GetPropertyNames(); @@ -259,7 +259,7 @@ SwLayoutViewConfig::~SwLayoutViewConfig() { } -void SwLayoutViewConfig::Commit() +void SwLayoutViewConfig::ImplCommit() { Sequence<OUString> aNames = GetPropertyNames(); @@ -394,7 +394,7 @@ SwGridConfig::~SwGridConfig() { } -void SwGridConfig::Commit() +void SwGridConfig::ImplCommit() { Sequence<OUString> aNames = GetPropertyNames(); @@ -479,7 +479,7 @@ SwCursorConfig::~SwCursorConfig() { } -void SwCursorConfig::Commit() +void SwCursorConfig::ImplCommit() { Sequence<OUString> aNames = GetPropertyNames(); @@ -544,7 +544,7 @@ SwWebColorConfig::~SwWebColorConfig() { } -void SwWebColorConfig::Commit() +void SwWebColorConfig::ImplCommit() { Sequence<Any> aValues(aPropNames.getLength()); Any* pValues = aValues.getArray(); |