summaryrefslogtreecommitdiff
path: root/sw/source/ui/vba/vbabookmarks.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/vba/vbabookmarks.cxx')
-rw-r--r--sw/source/ui/vba/vbabookmarks.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/source/ui/vba/vbabookmarks.cxx b/sw/source/ui/vba/vbabookmarks.cxx
index ae0eaed5e89a..53c23f85e38d 100644
--- a/sw/source/ui/vba/vbabookmarks.cxx
+++ b/sw/source/ui/vba/vbabookmarks.cxx
@@ -31,6 +31,8 @@
using namespace ::ooo::vba;
using namespace ::com::sun::star;
+namespace {
+
class BookmarksEnumeration : public EnumerationHelperImpl
{
uno::Reference< frame::XModel > mxModel;
@@ -108,6 +110,8 @@ public:
}
};
+}
+
SwVbaBookmarks::SwVbaBookmarks( const uno::Reference< XHelperInterface >& xParent, const uno::Reference< css::uno::XComponentContext > & xContext, const uno::Reference< container::XIndexAccess >& xBookmarks, const uno::Reference< frame::XModel >& xModel ): SwVbaBookmarks_BASE( xParent, xContext, uno::Reference< container::XIndexAccess >( new BookmarkCollectionHelper( xBookmarks ) ) ), mxModel( xModel )
{
mxBookmarksSupplier.set( mxModel, uno::UNO_QUERY_THROW );