summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-01-23 17:19:17 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-01-23 17:19:53 +0000
commitc8f15a768dd4d71acfb65c3af4995e2a991b8087 (patch)
tree4944496f831ba5f1ac8b62907b09ec2c6360aaf5 /extensions
parentctor OModuleResourceClient first so OModuleResourceClient dtor is last (diff)
downloadcore-c8f15a768dd4d71acfb65c3af4995e2a991b8087.tar.gz
core-c8f15a768dd4d71acfb65c3af4995e2a991b8087.zip
call FreeResource like the other RoadmapWizard users
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/abpilot/abspilot.cxx5
-rw-r--r--extensions/source/abpilot/abspilot.hxx2
2 files changed, 7 insertions, 0 deletions
diff --git a/extensions/source/abpilot/abspilot.cxx b/extensions/source/abpilot/abspilot.cxx
index 9f08d05d68a2..0024596ef809 100644
--- a/extensions/source/abpilot/abspilot.cxx
+++ b/extensions/source/abpilot/abspilot.cxx
@@ -135,6 +135,11 @@ namespace abp
typeSelectionChanged( m_aSettings.eType );
}
+ OAddessBookSourcePilot::~OAddessBookSourcePilot()
+ {
+ FreeResource();
+ }
+
//---------------------------------------------------------------------
String OAddessBookSourcePilot::getStateDisplayName( WizardState _nState ) const
{
diff --git a/extensions/source/abpilot/abspilot.hxx b/extensions/source/abpilot/abspilot.hxx
index a8136706d189..9c751c5eafd3 100644
--- a/extensions/source/abpilot/abspilot.hxx
+++ b/extensions/source/abpilot/abspilot.hxx
@@ -59,6 +59,8 @@ namespace abp
OAddessBookSourcePilot(
Window* _pParent,
const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& _rxORB);
+ /// dtor
+ ~OAddessBookSourcePilot();
/// get the service factory which was used to create the dialog
::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >