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

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Tue Jun 22 12:04:03 UTC 2021


 sc/source/ui/view/editsh.cxx |   15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

New commits:
commit 75c42c1f3ba6d40d518a4da400a84015d30240c0
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Jun 22 09:57:49 2021 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Tue Jun 22 14:03:23 2021 +0200

    fix indent
    
    Change-Id: I0a7e43906522462c6bbf9aaec89d296e5017a3a4
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117652
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sc/source/ui/view/editsh.cxx b/sc/source/ui/view/editsh.cxx
index 451b73a9a208..83c042b2b2be 100644
--- a/sc/source/ui/view/editsh.cxx
+++ b/sc/source/ui/view/editsh.cxx
@@ -616,14 +616,13 @@ void ScEditShell::Execute( SfxRequest& rReq )
                 }
             }
             break;
-
-            case SID_OPEN_HYPERLINK:
-                {
-                    const SvxURLField* pURLField = GetURLField();
-                    if ( pURLField )
-                        ScGlobal::OpenURL( pURLField->GetURL(), pURLField->GetTargetFrame(), true );
-                    return;
-                }
+        case SID_OPEN_HYPERLINK:
+            {
+                const SvxURLField* pURLField = GetURLField();
+                if ( pURLField )
+                    ScGlobal::OpenURL( pURLField->GetURL(), pURLField->GetTargetFrame(), true );
+                return;
+            }
         case SID_EDIT_HYPERLINK:
             {
                 // Ensure the field is selected first


More information about the Libreoffice-commits mailing list