summaryrefslogtreecommitdiffstats
path: root/sfx2/source/doc/objxtor.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/doc/objxtor.cxx')
-rw-r--r--sfx2/source/doc/objxtor.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/sfx2/source/doc/objxtor.cxx b/sfx2/source/doc/objxtor.cxx
index 1f1ead6642ed..d004c7a69e91 100644
--- a/sfx2/source/doc/objxtor.cxx
+++ b/sfx2/source/doc/objxtor.cxx
@@ -146,9 +146,6 @@ OUString lclGetVBAGlobalConstName( const Reference< XInterface >& rxComponent )
#endif
-} // namespace
-
-
class SfxModelListener_Impl : public ::cppu::WeakImplHelper< css::util::XCloseListener >
{
SfxObjectShell* mpDoc;
@@ -160,6 +157,8 @@ public:
};
+} // namespace
+
void SAL_CALL SfxModelListener_Impl::queryClosing( const css::lang::EventObject& , sal_Bool )
{
}
@@ -513,6 +512,7 @@ bool SfxObjectShell::IsInPrepareClose() const
return pImpl->bInPrepareClose;
}
+namespace {
struct BoolEnv_Impl
{
@@ -522,6 +522,7 @@ struct BoolEnv_Impl
~BoolEnv_Impl() { rImpl.bInPrepareClose = false; }
};
+}
bool SfxObjectShell::PrepareClose
(