summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorPranav Kant <pranavk@collabora.co.uk>2017-02-03 13:43:01 +0530
committerAndras Timar <andras.timar@collabora.com>2017-02-18 00:53:07 +0100
commit3ce4cb99c71849c0e1366f655077b25d820baaf3 (patch)
tree932ab143832ce1b7dc89e408a37708d51bd7e6a7 /sw
parentac13fba5d0e6dfa434c17009cf4b560d4b0ff7d5 (diff)
Indentation
Change-Id: I723438eb4258f12413a16b5b727f5c8f6eb3083c Reviewed-on: https://gerrit.libreoffice.org/33876 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: pranavk <pranavk@collabora.co.uk> (cherry picked from commit 900556a89278f6d98fcce1405c9954318e52e671)
Diffstat (limited to 'sw')
-rw-r--r--sw/source/uibase/docvw/PostItMgr.cxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/sw/source/uibase/docvw/PostItMgr.cxx b/sw/source/uibase/docvw/PostItMgr.cxx
index 65a896c64179..80332abad12f 100644
--- a/sw/source/uibase/docvw/PostItMgr.cxx
+++ b/sw/source/uibase/docvw/PostItMgr.cxx
@@ -867,11 +867,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();
}