summaryrefslogtreecommitdiff
path: root/sw/source/core/unocore/unoftn.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/unocore/unoftn.cxx')
-rw-r--r--sw/source/core/unocore/unoftn.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/unocore/unoftn.cxx b/sw/source/core/unocore/unoftn.cxx
index d8bf523b3a42..50a4bfc0cba1 100644
--- a/sw/source/core/unocore/unoftn.cxx
+++ b/sw/source/core/unocore/unoftn.cxx
@@ -95,7 +95,7 @@ public:
return m_rThis.GetDoc() ? m_pFormatFootnote : nullptr;
}
- SwFormatFootnote const& GetFootnoteFormatOrThrow() {
+ SwFormatFootnote const& GetFootnoteFormatOrThrow() const {
SwFormatFootnote const*const pFootnote( GetFootnoteFormat() );
if (!pFootnote) {
throw uno::RuntimeException("SwXFootnote: disposed or invalid", nullptr);