vbahelper/source/msforms/vbacontrol.cxx | 4 ---- 1 file changed, 4 deletions(-)
New commits: commit 091f4f14c596ea0c34d891372a4fc820f92e36ae Author: Julien Nabet <serval2...@yahoo.fr> Date: Sat Apr 12 23:24:11 2014 +0200 cppcheck: multiCondition, remove 2 duplicate "else if" blocks Change-Id: I538bacd0e52a5e7d5df9847ad4632e02124aeb95 diff --git a/vbahelper/source/msforms/vbacontrol.cxx b/vbahelper/source/msforms/vbacontrol.cxx index 7e39227..fdcfedc 100644 --- a/vbahelper/source/msforms/vbacontrol.cxx +++ b/vbahelper/source/msforms/vbacontrol.cxx @@ -699,10 +699,6 @@ void SAL_CALL ScVbaControl::setTabIndex( sal_Int32 /*nTabIndex*/ ) throw (uno::R xVBAControl.set( new ScVbaControl( xVbaParent, xContext, xControl, xModel, xGeoHelper.release() ) ); else if ( xServiceInfo->supportsService( "com.sun.star.awt.UnoFrameModel" ) ) xVBAControl.set( new ScVbaFrame( xVbaParent, xContext, xControl, xModel, xGeoHelper.release(), xDialog ) ); - else if ( xServiceInfo->supportsService( "com.sun.star.awt.UnoControlSpinButtonModel" ) ) - xVBAControl.set( new ScVbaSpinButton( xVbaParent, xContext, xControl, xModel, xGeoHelper.release() ) ); - else if ( xServiceInfo->supportsService( "com.sun.star.custom.awt.UnoControlSystemAXContainerModel" ) ) - xVBAControl.set( new VbaSystemAXControl( xVbaParent, xContext, xControl, xModel, xGeoHelper.release() ) ); if( xVBAControl.is() ) return xVBAControl; throw uno::RuntimeException( "Unsupported control." , uno::Reference< uno::XInterface >() ); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits