[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-5.0' - sw/source
Ashod Nakashian
ashod.nakashian at collabora.co.uk
Sun May 15 20:12:51 UTC 2016
sw/source/uibase/docvw/SidebarWin.cxx | 6 ++++++
1 file changed, 6 insertions(+)
New commits:
commit 4523f78312bd07449fa205301d99a81ef0f69420
Author: Ashod Nakashian <ashod.nakashian at collabora.co.uk>
Date: Sat May 14 20:09:26 2016 -0400
LOK: invalidate annotation window upon showing
Change-Id: Ib2624c55759c8ac81986bf3b516fd17cbde19ec9
Reviewed-on: https://gerrit.libreoffice.org/25014
Reviewed-by: Ashod Nakashian <ashnakash at gmail.com>
Tested-by: Ashod Nakashian <ashnakash at gmail.com>
diff --git a/sw/source/uibase/docvw/SidebarWin.cxx b/sw/source/uibase/docvw/SidebarWin.cxx
index a66f948..79e334e 100644
--- a/sw/source/uibase/docvw/SidebarWin.cxx
+++ b/sw/source/uibase/docvw/SidebarWin.cxx
@@ -1214,6 +1214,12 @@ void SwSidebarWin::ShowNote()
mpShadow->setVisible(true);
if (mpAnchor && !mpAnchor->isVisible())
mpAnchor->setVisible(true);
+
+ // Invalidate.
+ mpSidebarTextControl->Push(PushFlags::MAPMODE);
+ lcl_translateTwips(*EditWin(), *mpSidebarTextControl, nullptr);
+ mpSidebarTextControl->Invalidate();
+ mpSidebarTextControl->Pop();
}
void SwSidebarWin::HideNote()
More information about the Libreoffice-commits
mailing list