[Libreoffice-commits] .: sw/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Sun Sep 16 00:29:11 PDT 2012


 sw/source/ui/vba/vbaselection.cxx |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit 823d44d390ae57e7e13a7edfa57060af9c3c561e
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sun Sep 16 09:28:07 2012 +0200

    Fix consecutive return, goto... statements are unnecessary
    
    Change-Id: Ia0c399470b933824ae6fefbb486cf742f72312fd

diff --git a/sw/source/ui/vba/vbaselection.cxx b/sw/source/ui/vba/vbaselection.cxx
index 491a8a6..6913dd9 100644
--- a/sw/source/ui/vba/vbaselection.cxx
+++ b/sw/source/ui/vba/vbaselection.cxx
@@ -353,7 +353,6 @@ SwVbaSelection::Move( const uno::Any& _unit, const uno::Any& _count, const uno::
         default:
         {
             throw uno::RuntimeException( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("Not implemented") ), uno::Reference< uno::XInterface >() );
-            break;
         }
     }
 }


More information about the Libreoffice-commits mailing list