diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-11 08:42:49 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-08-11 09:48:18 +0200 |
commit | 286dfc2a720ea8bd6b26c10126202fa25a112e0f (patch) | |
tree | 4b179846f09fa0be53f9cd6e078b7d0b79b92392 /toolkit | |
parent | 3553a5d3a899954c4db09e264d8faf07e817e564 (diff) |
loplugin: defaultparams
Change-Id: I50ba6a836473961d952ed88e56532501469c5368
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/source/awt/vclxcontainer.cxx | 2 | ||||
-rw-r--r-- | toolkit/source/awt/vclxtoolkit.cxx | 4 | ||||
-rw-r--r-- | toolkit/source/awt/vclxwindow.cxx | 6 | ||||
-rw-r--r-- | toolkit/source/awt/vclxwindows.cxx | 2 | ||||
-rw-r--r-- | toolkit/source/controls/unocontrol.cxx | 2 | ||||
-rw-r--r-- | toolkit/source/helper/vclunohelper.cxx | 2 |
6 files changed, 9 insertions, 9 deletions
diff --git a/toolkit/source/awt/vclxcontainer.cxx b/toolkit/source/awt/vclxcontainer.cxx index 448a09fd8882..ca66dbc6c042 100644 --- a/toolkit/source/awt/vclxcontainer.cxx +++ b/toolkit/source/awt/vclxcontainer.cxx @@ -96,7 +96,7 @@ void VCLXContainer::removeVclContainerListener( const ::com::sun::star::uno::Ref for ( sal_uInt16 n = 0; n < nChildren; n++ ) { vcl::Window* pChild = pWindow->GetChild( n ); - ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer > xWP = pChild->GetComponentInterface( true ); + ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer > xWP = pChild->GetComponentInterface(); ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow > xW( xWP, ::com::sun::star::uno::UNO_QUERY ); pChildRefs[n] = xW; } diff --git a/toolkit/source/awt/vclxtoolkit.cxx b/toolkit/source/awt/vclxtoolkit.cxx index 52a6451033d7..9d5ff0183e51 100644 --- a/toolkit/source/awt/vclxtoolkit.cxx +++ b/toolkit/source/awt/vclxtoolkit.cxx @@ -1275,7 +1275,7 @@ css::uno::Reference< css::awt::XWindowPeer > VCLXToolkit::ImplCreateWindow( if ( !pNewComp ) { // Default-Interface - xRef = pNewWindow->GetComponentInterface( true ); + xRef = pNewWindow->GetComponentInterface(); } else { @@ -1855,7 +1855,7 @@ void VCLXToolkit::callFocusListeners(::VclSimpleEvent const * pEvent, break; } if (pFocus != 0) - xNext = pFocus->GetComponentInterface(true); + xNext = pFocus->GetComponentInterface(); css::awt::FocusEvent aAwtEvent( static_cast< css::awt::XWindow * >(pWindow->GetWindowPeer()), static_cast<sal_Int16>(pWindow->GetGetFocusFlags()), diff --git a/toolkit/source/awt/vclxwindow.cxx b/toolkit/source/awt/vclxwindow.cxx index c9d4bc65cc14..01c9d65e190f 100644 --- a/toolkit/source/awt/vclxwindow.cxx +++ b/toolkit/source/awt/vclxwindow.cxx @@ -617,7 +617,7 @@ void VCLXWindow::ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) if ( pNextC ) pNext = pNextC; - pNext->GetComponentInterface( true ); + pNext->GetComponentInterface(); aEvent.NextFocus = static_cast<cppu::OWeakObject*>(pNext->GetWindowPeer()); } mpImpl->getFocusListeners().focusLost( aEvent ); @@ -1059,7 +1059,7 @@ void VCLXWindow::addWindowListener( const ::com::sun::star::uno::Reference< ::co // #100119# Get all resize events, even if height or width 0, or invisible if ( GetWindow() ) - GetWindow()->EnableAllResize( true ); + GetWindow()->EnableAllResize(); } void VCLXWindow::removeWindowListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowListener >& rxListener ) throw(::com::sun::star::uno::RuntimeException, std::exception) @@ -2338,7 +2338,7 @@ void VCLXWindow::draw( sal_Int32 nX, sal_Int32 nY ) throw(::com::sun::star::uno: pWindow->EnableNativeWidget(false); pWindow->PaintToDevice( pDev, aP, aSz ); if( bOldNW ) - pWindow->EnableNativeWidget(true); + pWindow->EnableNativeWidget(); } } } diff --git a/toolkit/source/awt/vclxwindows.cxx b/toolkit/source/awt/vclxwindows.cxx index af22717c3a63..f54c0467c3df 100644 --- a/toolkit/source/awt/vclxwindows.cxx +++ b/toolkit/source/awt/vclxwindows.cxx @@ -2602,7 +2602,7 @@ sal_uInt16 VCLXMultiPage::insertTab( TabPage* pPage, OUString& sTitle ) { TabControl *pTabControl = getTabControl(); sal_uInt16 id = sal::static_int_cast< sal_uInt16 >( mTabId++ ); - pTabControl->InsertPage( id, sTitle, TAB_APPEND ); + pTabControl->InsertPage( id, sTitle ); pTabControl->SetTabPage( id, pPage ); return id; } diff --git a/toolkit/source/controls/unocontrol.cxx b/toolkit/source/controls/unocontrol.cxx index 56e1fc006dcd..0cf63e514010 100644 --- a/toolkit/source/controls/unocontrol.cxx +++ b/toolkit/source/controls/unocontrol.cxx @@ -189,7 +189,7 @@ Reference< XWindowPeer > UnoControl::ImplGetCompatiblePeer( bool bAcceptExist } try { - xMe->createPeer( NULL, pParentWindow->GetComponentInterface( true ) ); + xMe->createPeer( NULL, pParentWindow->GetComponentInterface() ); } catch( const Exception& ) { diff --git a/toolkit/source/helper/vclunohelper.cxx b/toolkit/source/helper/vclunohelper.cxx index 273a6cf577b1..8cfb8b3cbc19 100644 --- a/toolkit/source/helper/vclunohelper.cxx +++ b/toolkit/source/helper/vclunohelper.cxx @@ -189,7 +189,7 @@ Polygon VCLUnoHelper::CreatePolygon( const ::com::sun::star::uno::Sequence< sal_ ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlContainer> VCLUnoHelper::CreateControlContainer( vcl::Window* pWindow ) { - UnoControlContainer* pContainer = new UnoControlContainer( pWindow->GetComponentInterface( true ) ); + UnoControlContainer* pContainer = new UnoControlContainer( pWindow->GetComponentInterface() ); ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlContainer > x = pContainer; UnoControlModel* pContainerModel = new UnoControlContainerModel( ::comphelper::getProcessComponentContext() ); |