diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-12-05 13:22:44 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-12-10 14:18:48 +0100 |
commit | 0005b330eaed0b5559042d2597fb45e0c9125d7e (patch) | |
tree | 7e60dddf005893fc61f26f8cb40afcf352004448 /sw/source/core/inc/frame.hxx | |
parent | d9dd06e7ce64d42a7df2c9e90061bb809f4fe7c6 (diff) |
forcepoint#76 avoid deleting footnote that would delete undeletable page
Change-Id: I4622569eb9c757c6dcbdda32081ddc94e53db919
Reviewed-on: https://gerrit.libreoffice.org/64622
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source/core/inc/frame.hxx')
-rw-r--r-- | sw/source/core/inc/frame.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/inc/frame.hxx b/sw/source/core/inc/frame.hxx index 1d3defae80da..920bd621fff4 100644 --- a/sw/source/core/inc/frame.hxx +++ b/sw/source/core/inc/frame.hxx @@ -856,7 +856,7 @@ public: bool IsProtected() const; bool IsColLocked() const { return mbColLocked; } - bool IsDeleteForbidden() const { return mbForbidDelete; } + virtual bool IsDeleteForbidden() const { return mbForbidDelete; } /// this is the only way to delete a SwFrame instance static void DestroyFrame(SwFrame *const pFrame); |