summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/AnnotationWin.hxx3
-rw-r--r--sw/inc/SidebarWin.hxx2
2 files changed, 3 insertions, 2 deletions
diff --git a/sw/inc/AnnotationWin.hxx b/sw/inc/AnnotationWin.hxx
index 07dde376b880..0062f96481e5 100644
--- a/sw/inc/AnnotationWin.hxx
+++ b/sw/inc/AnnotationWin.hxx
@@ -52,7 +52,8 @@ class SwAnnotationWin : public sw::sidebarwindows::SwSidebarWin
virtual sal_uInt32 MoveCaret() override;
- virtual bool CalcFollow() override;
+ /// Calculate parent postit id of currrent annotation window
+ virtual sal_uInt32 CalcParent() override;
void InitAnswer(OutlinerParaObject* pText);
virtual bool IsProtected() override;
diff --git a/sw/inc/SidebarWin.hxx b/sw/inc/SidebarWin.hxx
index 742e2f29c5b3..bb6dab546d5b 100644
--- a/sw/inc/SidebarWin.hxx
+++ b/sw/inc/SidebarWin.hxx
@@ -146,7 +146,7 @@ class SwSidebarWin : public vcl::Window
bool IsFollow() { return mbIsFollow; }
void SetFollow( bool bIsFollow) { mbIsFollow = bIsFollow; };
- virtual bool CalcFollow() = 0;
+ virtual sal_uInt32 CalcParent() = 0;
sal_Int32 GetMetaHeight();
sal_Int32 GetMinimumSizeWithMeta();