summaryrefslogtreecommitdiff
path: root/sw/inc/postithelper.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/inc/postithelper.hxx')
-rw-r--r--sw/inc/postithelper.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/sw/inc/postithelper.hxx b/sw/inc/postithelper.hxx
index cdbbc7b27580..e0f934dfe025 100644
--- a/sw/inc/postithelper.hxx
+++ b/sw/inc/postithelper.hxx
@@ -31,6 +31,7 @@ class SwRootFrame;
class SwPostItMgr;
class SwEditWin;
class SwFrame;
+class IDocumentRedlineAccess;
namespace sw { namespace annotation {
class SwAnnotationWin;
} }
@@ -115,7 +116,7 @@ public:
SwSidebarItem & operator =(SwSidebarItem &&) = default;
virtual SwPosition GetAnchorPosition() const = 0;
- virtual bool UseElement() = 0;
+ virtual bool UseElement(SwRootFrame const&, IDocumentRedlineAccess const&) = 0;
virtual const SwFormatField& GetFormatField() const = 0;
virtual const SfxBroadcaster* GetBroadCaster() const = 0;
virtual VclPtr<sw::annotation::SwAnnotationWin> GetSidebarWindow( SwEditWin& rEditWin,
@@ -134,7 +135,7 @@ public:
}
virtual SwPosition GetAnchorPosition() const override;
- virtual bool UseElement() override;
+ virtual bool UseElement(SwRootFrame const&, IDocumentRedlineAccess const&) override;
virtual const SwFormatField& GetFormatField() const override
{
return mrFormatField;