diff options
Diffstat (limited to 'desktop/source/pkgchk/unopkg/unopkg_shared.h')
-rw-r--r-- | desktop/source/pkgchk/unopkg/unopkg_shared.h | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/desktop/source/pkgchk/unopkg/unopkg_shared.h b/desktop/source/pkgchk/unopkg/unopkg_shared.h index 400e2835199e..c8cdc3c51a78 100644 --- a/desktop/source/pkgchk/unopkg/unopkg_shared.h +++ b/desktop/source/pkgchk/unopkg/unopkg_shared.h @@ -35,8 +35,6 @@ #include "tools/resmgr.hxx" #include "rtl/ustring.hxx" #include "unotools/configmgr.hxx" -#include "ucbhelper/contentbroker.hxx" - #define APP_NAME "unopkg" @@ -126,14 +124,10 @@ bool isBootstrapVariable(sal_uInt32 * pIndex); class DisposeGuard { css::uno::Reference<css::lang::XComponent> m_xComp; - bool m_bDeinitUCB; + public: - DisposeGuard(): m_bDeinitUCB(false) {} inline ~DisposeGuard() { - if (m_bDeinitUCB) - ::ucbhelper::ContentBroker::deinitialize(); - if (m_xComp.is()) m_xComp->dispose(); } @@ -143,12 +137,6 @@ public: { m_xComp = xComp; } - - inline void setDeinitUCB() - { - m_bDeinitUCB = true; - } - }; //============================================================================== |