sw/source/uibase/docvw/SidebarWin.cxx |    6 ++++++
 1 file changed, 6 insertions(+)

New commits:
commit 4523f78312bd07449fa205301d99a81ef0f69420
Author: Ashod Nakashian <[email protected]>
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 <[email protected]>
    Tested-by: Ashod Nakashian <[email protected]>

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()
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to