[Libreoffice-commits] core.git: sw/source

Pranav Kant pranavk at collabora.co.uk
Sun Feb 5 17:14:55 UTC 2017


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

New commits:
commit 900556a89278f6d98fcce1405c9954318e52e671
Author: Pranav Kant <pranavk at 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 <ci at libreoffice.org>
    Reviewed-by: pranavk <pranavk at 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();
             }


More information about the Libreoffice-commits mailing list