sw/source/uibase/docvw/PostItMgr.cxx |   10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

New commits:
commit 900556a89278f6d98fcce1405c9954318e52e671
Author: Pranav Kant <pran...@collabora.co.uk>
Date:   Fri Feb 3 13:43:01 2017 +0530

    Indentation
    
    Change-Id: I723438eb4258f12413a16b5b727f5c8f6eb3083c
    Reviewed-on: https://gerrit.libreoffice.org/33876
    Tested-by: Jenkins <c...@libreoffice.org>
    Reviewed-by: pranavk <pran...@collabora.co.uk>

diff --git a/sw/source/uibase/docvw/PostItMgr.cxx 
b/sw/source/uibase/docvw/PostItMgr.cxx
index 80e31d8..5e07b2e 100644
--- a/sw/source/uibase/docvw/PostItMgr.cxx
+++ b/sw/source/uibase/docvw/PostItMgr.cxx
@@ -866,11 +866,13 @@ void SwPostItMgr::LayoutPostIts()
                 else
                 {
                     for(SwSidebarWin_iterator i = aVisiblePostItList.begin(); 
i != aVisiblePostItList.end() ; ++i)
-                                                            
(*i)->SetPosAndSize();
+                    {
+                        (*i)->SetPosAndSize();
+                    }
 
-                                                    bool bOldScrollbar = 
pPage->bScrollbar;
-                                                    pPage->bScrollbar = false;
-                                                    bUpdate = (bOldScrollbar 
!= pPage->bScrollbar) || bUpdate;
+                    bool bOldScrollbar = pPage->bScrollbar;
+                    pPage->bScrollbar = false;
+                    bUpdate = (bOldScrollbar != pPage->bScrollbar) || bUpdate;
                 }
                 aVisiblePostItList.clear();
             }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to