summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-12 15:10:10 +0200
committerNoel Grandin <noel@peralex.com>2015-08-14 11:11:07 +0200
commit371a535afbccd1cc405117ad5529fc980e041e68 (patch)
treeeeb0b0af693b5e818c9b0b391f802871053b61d3 /framework
parentfceee9237c583f8d95396845a1c1606000df26fb (diff)
loplugin: defaultparams
Change-Id: I0538bbb2e121d8feeff03535cb327c957e03de1b
Diffstat (limited to 'framework')
-rw-r--r--framework/source/dispatch/servicehandler.cxx2
-rw-r--r--framework/source/uielement/headermenucontroller.cxx2
-rw-r--r--framework/source/uielement/langselectionmenucontroller.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/framework/source/dispatch/servicehandler.cxx b/framework/source/dispatch/servicehandler.cxx
index 8ef3913c76e3..3f700bc4e1e3 100644
--- a/framework/source/dispatch/servicehandler.cxx
+++ b/framework/source/dispatch/servicehandler.cxx
@@ -186,7 +186,7 @@ css::uno::Reference< css::uno::XInterface > ServiceHandler::implts_dispatch( con
OUString sServiceName;
OUString sArguments;
- sal_Int32 nArgStart = sServiceAndArguments.indexOf('?',0);
+ sal_Int32 nArgStart = sServiceAndArguments.indexOf('?');
if (nArgStart!=-1)
{
sServiceName = sServiceAndArguments.copy(0,nArgStart);
diff --git a/framework/source/uielement/headermenucontroller.cxx b/framework/source/uielement/headermenucontroller.cxx
index abbcac413c21..0c57b6691164 100644
--- a/framework/source/uielement/headermenucontroller.cxx
+++ b/framework/source/uielement/headermenucontroller.cxx
@@ -144,7 +144,7 @@ void HeaderMenuController::fillPopupMenu( const Reference< ::com::sun::star::fra
pVCLPopupMenu->SetItemCommand( nId, aCommand );
if ( bHeaderIsOn )
- pVCLPopupMenu->CheckItem( nId, true );
+ pVCLPopupMenu->CheckItem( nId );
++nId;
// Check if all entries have the same state
diff --git a/framework/source/uielement/langselectionmenucontroller.cxx b/framework/source/uielement/langselectionmenucontroller.cxx
index 17b689d1aad1..5d89a000994f 100644
--- a/framework/source/uielement/langselectionmenucontroller.cxx
+++ b/framework/source/uielement/langselectionmenucontroller.cxx
@@ -217,7 +217,7 @@ void LanguageSelectionMenuController::fillPopupMenu( Reference< css::awt::XPopup
if (rStr == m_aCurLang && eMode == MODE_SetLanguageSelectionMenu )
{
//make a sign for the current language
- pPopupMenu->CheckItem( nItemId, true );
+ pPopupMenu->CheckItem( nItemId );
}
++nItemId;
}