summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorPranav Kant <pranavk@collabora.co.uk>2017-02-03 17:00:51 +0530
committerpranavk <pranavk@collabora.co.uk>2017-02-06 03:42:44 +0000
commit5596b3f86f753b7ae0a262ccea84c6a61bdc9ca2 (patch)
tree6d124189d2b0b7c1e96638bd5263c95582e63830 /sw/inc
parenta296a69c984b17cfbcd249cf6bdc191d08dff2a6 (diff)
lok: comments: emit add callback after layout finishes
Change-Id: Ie6eba244dd5eb78813185f8c7aceed841d05d48b Reviewed-on: https://gerrit.libreoffice.org/33877 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: pranavk <pranavk@collabora.co.uk>
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/SidebarWin.hxx1
-rw-r--r--sw/inc/postithelper.hxx2
2 files changed, 3 insertions, 0 deletions
diff --git a/sw/inc/SidebarWin.hxx b/sw/inc/SidebarWin.hxx
index 4d114b8dfd58..de109fb4b5c4 100644
--- a/sw/inc/SidebarWin.hxx
+++ b/sw/inc/SidebarWin.hxx
@@ -84,6 +84,7 @@ class SwSidebarWin : public vcl::Window
inline const SwRect& GetAnchorRect() { return mAnchorRect; }
inline const std::vector<basegfx::B2DRange>& GetAnnotationTextRanges() { return maAnnotationTextRanges; }
SwEditWin& EditWin();
+ inline SwSidebarItem& GetSidebarItem() { return mrSidebarItem; }
inline OutlinerView* GetOutlinerView() { return mpOutlinerView;}
bool HasScrollbar() const;
diff --git a/sw/inc/postithelper.hxx b/sw/inc/postithelper.hxx
index 74857a124585..2d89cbc98734 100644
--- a/sw/inc/postithelper.hxx
+++ b/sw/inc/postithelper.hxx
@@ -92,6 +92,7 @@ public:
VclPtr<sw::sidebarwindows::SwSidebarWin> pPostIt;
bool bShow;
bool bFocus;
+ bool bPendingLayout;
SwPostItHelper::SwLayoutStatus mLayoutStatus;
SwLayoutInfo maLayoutInfo;
@@ -100,6 +101,7 @@ public:
: pPostIt(nullptr)
, bShow(true)
, bFocus(aFocus)
+ , bPendingLayout(false)
, mLayoutStatus( SwPostItHelper::INVISIBLE )
, maLayoutInfo()
{