diff options
author | Pranav Kant <pranavk@collabora.co.uk> | 2017-01-22 14:40:27 +0530 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2017-02-18 00:49:13 +0100 |
commit | 4713d0fea3fc6c219c02f5ad0cdc04828eaab291 (patch) | |
tree | 56c26d64412263dc0bb0f10b002f6501f5452929 /sw | |
parent | 897bb75a66bd497de00804b967d2cee196dc15c7 (diff) |
Indentation
Change-Id: Ic5b636d5c77b3afff96fc6e4486041153dea9b2a
(cherry picked from commit 73875b39e0ea00a3d80188c229b91c63355cd087)
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/uibase/docvw/SidebarWin.cxx | 4 | ||||
-rw-r--r-- | sw/source/uibase/shells/annotsh.cxx | 12 |
2 files changed, 8 insertions, 8 deletions
diff --git a/sw/source/uibase/docvw/SidebarWin.cxx b/sw/source/uibase/docvw/SidebarWin.cxx index 8b06d005b752..e4eb830309c4 100644 --- a/sw/source/uibase/docvw/SidebarWin.cxx +++ b/sw/source/uibase/docvw/SidebarWin.cxx @@ -1319,8 +1319,8 @@ void SwSidebarWin::ExecuteCommand(sal_uInt16 nSlot) } case FN_DELETE_COMMENT: - //Delete(); // do not kill the parent of our open popup menu - mnEventId = Application::PostUserEvent( LINK( this, SwSidebarWin, DeleteHdl), nullptr, true ); + //Delete(); // do not kill the parent of our open popup menu + mnEventId = Application::PostUserEvent( LINK( this, SwSidebarWin, DeleteHdl), nullptr, true ); break; case FN_FORMAT_ALL_NOTES: case FN_DELETE_ALL_NOTES: diff --git a/sw/source/uibase/shells/annotsh.cxx b/sw/source/uibase/shells/annotsh.cxx index d102bf824635..67e283608872 100644 --- a/sw/source/uibase/shells/annotsh.cxx +++ b/sw/source/uibase/shells/annotsh.cxx @@ -1106,12 +1106,12 @@ void SwAnnotationShell::NoteExec(SfxRequest &rReq) sal_uInt16 nSlot = rReq.GetSlot(); switch (nSlot) { - case FN_REPLY: - case FN_POSTIT: - case FN_DELETE_COMMENT: - if ( pPostItMgr->HasActiveSidebarWin() ) - pPostItMgr->GetActiveSidebarWin()->ExecuteCommand(nSlot); - break; + case FN_REPLY: + case FN_POSTIT: + case FN_DELETE_COMMENT: + if ( pPostItMgr->HasActiveSidebarWin() ) + pPostItMgr->GetActiveSidebarWin()->ExecuteCommand(nSlot); + break; case FN_DELETE_ALL_NOTES: pPostItMgr->Delete(); |