summaryrefslogtreecommitdiff
path: root/unotools/source/config
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-11-12 20:20:42 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-11-14 07:35:58 +0000
commit93c5ac9ff1033492bec1aefcda94c1507cafcccd (patch)
treee7fe7913ba17e2f0210c07fd5eee21f3ed64241d /unotools/source/config
parent1987a5c7772fafc1e863deeead9081fd747f7713 (diff)
ReleaseConfigMgr not called by anything
Diffstat (limited to 'unotools/source/config')
-rw-r--r--unotools/source/config/configitem.cxx17
1 files changed, 0 insertions, 17 deletions
diff --git a/unotools/source/config/configitem.cxx b/unotools/source/config/configitem.cxx
index a0200e6b4d09..cb06d05cafec 100644
--- a/unotools/source/config/configitem.cxx
+++ b/unotools/source/config/configitem.cxx
@@ -250,23 +250,6 @@ ConfigItem::~ConfigItem()
delete pImpl;
}
-void ConfigItem::ReleaseConfigMgr()
-{
- Reference<XHierarchicalNameAccess> xHierarchyAccess = GetTree();
- if(xHierarchyAccess.is())
- {
- try
- {
- Reference<XChangesBatch> xBatch(xHierarchyAccess, UNO_QUERY);
- xBatch->commitChanges();
- }
- CATCH_INFO("Exception from commitChanges(): ")
- }
- RemoveChangesListener();
- OSL_ENSURE(pImpl->pManager, "ConfigManager already released");
- pImpl->pManager = 0;
-}
-
void ConfigItem::CallNotify( const com::sun::star::uno::Sequence<OUString>& rPropertyNames )
{
// the call is forwarded to the virtual Notify() method