summaryrefslogtreecommitdiff
path: root/sw/source/ui/vba/vbasections.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/vba/vbasections.cxx')
-rw-r--r--sw/source/ui/vba/vbasections.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/source/ui/vba/vbasections.cxx b/sw/source/ui/vba/vbasections.cxx
index 3e57eb65430a..78f4b9c1d296 100644
--- a/sw/source/ui/vba/vbasections.cxx
+++ b/sw/source/ui/vba/vbasections.cxx
@@ -30,6 +30,8 @@ using namespace ::com::sun::star;
typedef std::vector< uno::Reference< beans::XPropertySet > > XSectionVec;
+namespace {
+
class SectionEnumeration : public ::cppu::WeakImplHelper< container::XEnumeration >
{
XSectionVec mxSections;
@@ -132,6 +134,8 @@ public:
}
};
+}
+
SwVbaSections::SwVbaSections( const uno::Reference< XHelperInterface >& xParent, const uno::Reference< uno::XComponentContext > & xContext, const uno::Reference< frame::XModel >& xModel ): SwVbaSections_BASE( xParent, xContext, uno::Reference< container::XIndexAccess >( new SectionCollectionHelper( xParent, xContext, xModel ) ) ), mxModel( xModel )
{
}