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

Pranav Kant pranavk at collabora.co.uk
Fri Jan 27 11:54:26 UTC 2017


 sw/source/uibase/docvw/SidebarWin.cxx |    4 ++--
 sw/source/uibase/shells/annotsh.cxx   |   12 ++++++------
 2 files changed, 8 insertions(+), 8 deletions(-)

New commits:
commit 73875b39e0ea00a3d80188c229b91c63355cd087
Author: Pranav Kant <pranavk at collabora.co.uk>
Date:   Sun Jan 22 14:40:27 2017 +0530

    Indentation
    
    Change-Id: Ic5b636d5c77b3afff96fc6e4486041153dea9b2a

diff --git a/sw/source/uibase/docvw/SidebarWin.cxx b/sw/source/uibase/docvw/SidebarWin.cxx
index f71b6b6..bf25231 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 70f399c..4e3fe77 100644
--- a/sw/source/uibase/shells/annotsh.cxx
+++ b/sw/source/uibase/shells/annotsh.cxx
@@ -1104,12 +1104,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();


More information about the Libreoffice-commits mailing list