diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-21 09:15:32 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-08-21 10:19:44 +0200 |
commit | 3d614a639e8b46f9197cd0d74c306fcfa9bb7e45 (patch) | |
tree | 687e94210ff83940f2d8313f76e9a0fde1e556e4 /vcl/unx | |
parent | fa12df37f42994cd172ec62be936e84ab01a6cf7 (diff) |
loplugin: defaultparams
Change-Id: If1d183f32079548645b4974a16161dc997c026b7
Diffstat (limited to 'vcl/unx')
-rw-r--r-- | vcl/unx/generic/app/i18n_status.cxx | 2 | ||||
-rw-r--r-- | vcl/unx/generic/window/salframe.cxx | 4 | ||||
-rw-r--r-- | vcl/unx/gtk/a11y/atkfactory.cxx | 2 | ||||
-rw-r--r-- | vcl/unx/gtk/a11y/atkwindow.cxx | 2 | ||||
-rw-r--r-- | vcl/unx/gtk/window/gtksalframe.cxx | 14 |
5 files changed, 12 insertions, 12 deletions
diff --git a/vcl/unx/generic/app/i18n_status.cxx b/vcl/unx/generic/app/i18n_status.cxx index bb77762ad2d1..42056ce2335b 100644 --- a/vcl/unx/generic/app/i18n_status.cxx +++ b/vcl/unx/generic/app/i18n_status.cxx @@ -366,7 +366,7 @@ IIIMPStatusWindow::IIIMPStatusWindow( SalFrame* pParent, bool bOn ) : else fprintf( stderr, "Warning: could not reposition status window since no frame\n" ); #endif - EnableAlwaysOnTop( true ); + EnableAlwaysOnTop(); } void IIIMPStatusWindow::layout() diff --git a/vcl/unx/generic/window/salframe.cxx b/vcl/unx/generic/window/salframe.cxx index d11e52056b89..8dacdd8bf772 100644 --- a/vcl/unx/generic/window/salframe.cxx +++ b/vcl/unx/generic/window/salframe.cxx @@ -736,7 +736,7 @@ void X11SalFrame::Init( sal_uLong nSalFrameStyle, SalX11Screen nXScreen, SystemP SAL_FRAME_STYLE_INTRO | SAL_FRAME_STYLE_PARTIAL_FULLSCREEN) ) == SAL_FRAME_STYLE_DEFAULT ) - pDisplay_->getWMAdaptor()->maximizeFrame( this, true, true ); + pDisplay_->getWMAdaptor()->maximizeFrame( this, true ); if( !netwm_icon.empty() && GetDisplay()->getWMAdaptor()->getAtom( WMAdaptor::NET_WM_ICON )) XChangeProperty( GetXDisplay(), mhWindow, @@ -2033,7 +2033,7 @@ void X11SalFrame::Maximize() nShowState_ = SHOWSTATE_NORMAL; } - pDisplay_->getWMAdaptor()->maximizeFrame( this, true, true ); + pDisplay_->getWMAdaptor()->maximizeFrame( this, true ); } void X11SalFrame::Restore() diff --git a/vcl/unx/gtk/a11y/atkfactory.cxx b/vcl/unx/gtk/a11y/atkfactory.cxx index 63b33c904117..7512815b9859 100644 --- a/vcl/unx/gtk/a11y/atkfactory.cxx +++ b/vcl/unx/gtk/a11y/atkfactory.cxx @@ -135,7 +135,7 @@ wrapper_factory_create_accessible( GObject *obj ) if( pWindow ) { - uno::Reference< accessibility::XAccessible > xAccessible = pWindow->GetAccessible(true); + uno::Reference< accessibility::XAccessible > xAccessible = pWindow->GetAccessible(); if( xAccessible.is() ) { AtkObject *accessible = ooo_wrapper_registry_get( xAccessible ); diff --git a/vcl/unx/gtk/a11y/atkwindow.cxx b/vcl/unx/gtk/a11y/atkwindow.cxx index 635645f234e3..a55312eaf043 100644 --- a/vcl/unx/gtk/a11y/atkwindow.cxx +++ b/vcl/unx/gtk/a11y/atkwindow.cxx @@ -188,7 +188,7 @@ ooo_window_wrapper_real_initialize(AtkObject *obj, gpointer data) { init_from_window( obj, pWindow ); - Reference< XAccessible > xAccessible( pWindow->GetAccessible(true) ); + Reference< XAccessible > xAccessible( pWindow->GetAccessible() ); /* We need the wrapper object for the top-level XAccessible to be * in the wrapper registry when atk traverses the hierarchy up on diff --git a/vcl/unx/gtk/window/gtksalframe.cxx b/vcl/unx/gtk/window/gtksalframe.cxx index f1abaa83cf08..6bc25f3fd06b 100644 --- a/vcl/unx/gtk/window/gtksalframe.cxx +++ b/vcl/unx/gtk/window/gtksalframe.cxx @@ -937,7 +937,7 @@ GtkSalFrame::~GtkSalFrame() void GtkSalFrame::moveWindow( long nX, long nY ) { - if( isChild( false, true ) ) + if( isChild( false ) ) { if( m_pParent ) gtk_fixed_move( m_pParent->getFixedContainer(), @@ -972,7 +972,7 @@ void GtkSalFrame::window_resize(long nWidth, long nHeight) void GtkSalFrame::resizeWindow( long nWidth, long nHeight ) { - if( isChild( false, true ) ) + if( isChild( false ) ) { widget_set_size_request(nWidth, nHeight); } @@ -2132,7 +2132,7 @@ void GtkSalFrame::SetPosSize( long nX, long nY, long nWidth, long nHeight, sal_u maGeometry.nWidth = nWidth; maGeometry.nHeight = nHeight; - if( isChild( false, true ) ) + if( isChild( false ) ) widget_set_size_request(nWidth, nHeight); else if( ! ( m_nState & GDK_WINDOW_STATE_MAXIMIZED ) ) window_resize(nWidth, nHeight); @@ -2737,7 +2737,7 @@ void GtkSalFrame::ToTop( sal_uInt16 nFlags ) { if( m_pWindow ) { - if( isChild( false, true ) ) + if( isChild( false ) ) gtk_widget_grab_focus( m_pWindow ); else if( IS_WIDGET_MAPPED( m_pWindow ) ) { @@ -2789,7 +2789,7 @@ void GtkSalFrame::SetPointer( PointerStyle ePointerStyle ) // #i80791# use grabPointer the same way as CaptureMouse, respective float grab if( getDisplay()->MouseCaptured( this ) ) - grabPointer( true, false ); + grabPointer( true ); else if( m_nFloats > 0 ) grabPointer( true, true ); } @@ -2904,7 +2904,7 @@ void GtkSalFrame::CaptureMouse( bool bCapture ) void GtkSalFrame::SetPointerPos( long nX, long nY ) { GtkSalFrame* pFrame = this; - while( pFrame && pFrame->isChild( false, true ) ) + while( pFrame && pFrame->isChild( false ) ) pFrame = pFrame->m_pParent; if( ! pFrame ) return; @@ -4676,7 +4676,7 @@ static uno::Reference<accessibility::XAccessibleEditableText> lcl_GetxText(vcl:: uno::Reference<accessibility::XAccessibleEditableText> xText; try { - uno::Reference< accessibility::XAccessible > xAccessible( pFocusWin->GetAccessible( true ) ); + uno::Reference< accessibility::XAccessible > xAccessible( pFocusWin->GetAccessible() ); if (xAccessible.is()) xText = FindFocus(xAccessible->getAccessibleContext()); } |