summaryrefslogtreecommitdiff
path: root/sw/source/ui/vba/vbapanes.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/vba/vbapanes.cxx')
-rw-r--r--sw/source/ui/vba/vbapanes.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/source/ui/vba/vbapanes.cxx b/sw/source/ui/vba/vbapanes.cxx
index 9147111ab36a..a9e4373803f0 100644
--- a/sw/source/ui/vba/vbapanes.cxx
+++ b/sw/source/ui/vba/vbapanes.cxx
@@ -23,6 +23,8 @@
using namespace ::ooo::vba;
using namespace ::com::sun::star;
+namespace {
+
// I assume there is only one pane in Writer
class PanesIndexAccess : public ::cppu::WeakImplHelper<container::XIndexAccess >
{
@@ -74,6 +76,8 @@ public:
}
};
+}
+
SwVbaPanes::SwVbaPanes( const uno::Reference< XHelperInterface >& xParent, const uno::Reference< uno::XComponentContext > & xContext, const uno::Reference< frame::XModel >& xModel ): SwVbaPanes_BASE( xParent, xContext, new PanesIndexAccess( xParent, xContext, xModel ) )
{
}