summaryrefslogtreecommitdiff
path: root/sfx2/source/doc/objserv.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/doc/objserv.cxx')
-rw-r--r--sfx2/source/doc/objserv.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/sfx2/source/doc/objserv.cxx b/sfx2/source/doc/objserv.cxx
index ff155a031383..21997d0c5c49 100644
--- a/sfx2/source/doc/objserv.cxx
+++ b/sfx2/source/doc/objserv.cxx
@@ -150,6 +150,8 @@ void SfxObjectShell::InitInterface_Impl()
{
}
+namespace {
+
class SfxClosePreventer_Impl : public ::cppu::WeakImplHelper< css::util::XCloseListener >
{
bool m_bGotOwnership;
@@ -170,6 +172,8 @@ public:
} ;
+}
+
SfxClosePreventer_Impl::SfxClosePreventer_Impl()
: m_bGotOwnership( false )
, m_bPreventClose( true )
@@ -193,6 +197,7 @@ void SAL_CALL SfxClosePreventer_Impl::notifyClosing( const lang::EventObject& )
void SAL_CALL SfxClosePreventer_Impl::disposing( const lang::EventObject& )
{}
+namespace {
class SfxInstanceCloseGuard_Impl
{
@@ -207,6 +212,8 @@ public:
bool Init_Impl( const uno::Reference< util::XCloseable >& xCloseable );
};
+}
+
bool SfxInstanceCloseGuard_Impl::Init_Impl( const uno::Reference< util::XCloseable >& xCloseable )
{
bool bResult = false;