summaryrefslogtreecommitdiff
path: root/sw/source/ui/vba/vbaparagraph.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/vba/vbaparagraph.cxx')
-rw-r--r--sw/source/ui/vba/vbaparagraph.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/source/ui/vba/vbaparagraph.cxx b/sw/source/ui/vba/vbaparagraph.cxx
index 957dd606ff77..b9bfe036be6d 100644
--- a/sw/source/ui/vba/vbaparagraph.cxx
+++ b/sw/source/ui/vba/vbaparagraph.cxx
@@ -71,6 +71,8 @@ SwVbaParagraph::getServiceNames()
return aServiceNames;
}
+namespace {
+
class ParagraphCollectionHelper : public ::cppu::WeakImplHelper< container::XIndexAccess,
container::XEnumerationAccess >
{
@@ -133,6 +135,8 @@ public:
}
};
+}
+
SwVbaParagraphs::SwVbaParagraphs( const uno::Reference< XHelperInterface >& xParent, const uno::Reference< css::uno::XComponentContext > & xContext, const uno::Reference< text::XTextDocument >& xDocument ) : SwVbaParagraphs_BASE( xParent, xContext, new ParagraphCollectionHelper( xDocument ) ), mxTextDocument( xDocument )
{
}