summaryrefslogtreecommitdiff
path: root/vcl/unx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-10-19 17:52:06 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-10-19 17:52:06 +0200
commit165c643c936dda1a75e084157a03d0f52a5ea381 (patch)
treee631d5b9b1d0c91042cefdc78c1f3ba3bebfe7ba /vcl/unx
parentf2937f2a6f0355005875e1e6409a09b28193b448 (diff)
loplugin:defaultparams
Change-Id: I8db42173f116372b1c849284540c111635c3582e
Diffstat (limited to 'vcl/unx')
-rw-r--r--vcl/unx/generic/app/i18n_status.cxx4
-rw-r--r--vcl/unx/generic/window/salframe.cxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/vcl/unx/generic/app/i18n_status.cxx b/vcl/unx/generic/app/i18n_status.cxx
index 089f55afe845..24e3854a4c32 100644
--- a/vcl/unx/generic/app/i18n_status.cxx
+++ b/vcl/unx/generic/app/i18n_status.cxx
@@ -154,7 +154,7 @@ void XIMStatusWindow::layout()
m_aStatusText->SetPosSizePixel( Point( 1, 1 ), aControlSize );
m_aStatusText->SetFont( aFont );
- m_aStatusText->Show( true );
+ m_aStatusText->Show();
if (m_bAnchoredAtRight && IsVisible())
{
@@ -340,7 +340,7 @@ IIIMPStatusWindow::IIIMPStatusWindow( SalFrame* pParent, bool bOn ) :
m_aStatusBtn->SetSelectHdl( LINK( this, IIIMPStatusWindow, SelectHdl ) );
m_aStatusBtn->SetPopupMenu( &m_aMenu );
- m_aStatusBtn->Show( true );
+ m_aStatusBtn->Show();
const ::std::vector< I18NStatus::ChoiceData >& rChoices( I18NStatus::get().getChoices() );
int i = 1;
diff --git a/vcl/unx/generic/window/salframe.cxx b/vcl/unx/generic/window/salframe.cxx
index 002a058ad835..604ab609d93f 100644
--- a/vcl/unx/generic/window/salframe.cxx
+++ b/vcl/unx/generic/window/salframe.cxx
@@ -736,7 +736,7 @@ void X11SalFrame::Init( SalFrameStyleFlags nSalFrameStyle, SalX11Screen nXScreen
SalFrameStyleFlags::INTRO |
SalFrameStyleFlags::PARTIAL_FULLSCREEN) )
== SalFrameStyleFlags::DEFAULT )
- pDisplay_->getWMAdaptor()->maximizeFrame( this, true );
+ pDisplay_->getWMAdaptor()->maximizeFrame( this );
if( !netwm_icon.empty() && GetDisplay()->getWMAdaptor()->getAtom( WMAdaptor::NET_WM_ICON ))
XChangeProperty( GetXDisplay(), mhWindow,
@@ -2022,7 +2022,7 @@ void X11SalFrame::Maximize()
nShowState_ = SHOWSTATE_NORMAL;
}
- pDisplay_->getWMAdaptor()->maximizeFrame( this, true );
+ pDisplay_->getWMAdaptor()->maximizeFrame( this );
}
void X11SalFrame::Restore()