summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uno/unotxdoc.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/uno/unotxdoc.cxx')
-rw-r--r--sw/source/uibase/uno/unotxdoc.cxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/sw/source/uibase/uno/unotxdoc.cxx b/sw/source/uibase/uno/unotxdoc.cxx
index 300f7b81bb61..23d4d3974c79 100644
--- a/sw/source/uibase/uno/unotxdoc.cxx
+++ b/sw/source/uibase/uno/unotxdoc.cxx
@@ -620,6 +620,11 @@ Reference< XIndexAccess > SwXTextDocument::getNumberingRules()
Reference< XIndexAccess > SwXTextDocument::getFootnotes()
{
+ return getSwXFootnotes();
+}
+
+rtl::Reference< SwXFootnotes > SwXTextDocument::getSwXFootnotes()
+{
SolarMutexGuard aGuard;
ThrowIfInvalid();
if(!mxXFootnotes.is())
@@ -643,6 +648,11 @@ Reference< XPropertySet > SAL_CALL
Reference< XIndexAccess > SwXTextDocument::getEndnotes()
{
+ return getSwXEndnotes();
+}
+
+rtl::Reference< SwXFootnotes > SwXTextDocument::getSwXEndnotes()
+{
SolarMutexGuard aGuard;
ThrowIfInvalid();
if(!mxXEndnotes.is())