summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-05-16 12:36:22 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-05-16 14:20:27 +0200
commit6df22f0ec513415cf6c920c1f8063dabe7303c06 (patch)
tree59d4d9205c51da0ffc14d895abdf00c1a4b8e8b7 /cui
parenta6f29aae36e5b07d877d7ea833b6d06b49b5574a (diff)
loplugin:checkunusedparams various
Change-Id: I5d1cc807134230d86e0226a12fada204004312d3 Reviewed-on: https://gerrit.libreoffice.org/37675 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui')
-rw-r--r--cui/source/dialogs/hangulhanjadlg.cxx6
-rw-r--r--cui/source/inc/hangulhanjadlg.hxx2
-rw-r--r--cui/source/inc/numpages.hxx2
-rw-r--r--cui/source/options/connpooloptions.cxx6
-rw-r--r--cui/source/options/connpooloptions.hxx2
-rw-r--r--cui/source/tabpages/numpages.cxx4
6 files changed, 11 insertions, 11 deletions
diff --git a/cui/source/dialogs/hangulhanjadlg.cxx b/cui/source/dialogs/hangulhanjadlg.cxx
index fb766aba1653..7cbc09cb18d6 100644
--- a/cui/source/dialogs/hangulhanjadlg.cxx
+++ b/cui/source/dialogs/hangulhanjadlg.cxx
@@ -1533,7 +1533,7 @@ namespace svx
if( xDict.is() && m_pSuggestions )
{
//delete old entry
- bool bRemovedSomething = DeleteEntryFromDictionary( m_aOriginal, xDict );
+ bool bRemovedSomething = DeleteEntryFromDictionary( xDict );
OUString aLeft( m_aOriginal );
const OUString* pRight = m_pSuggestions->First();
@@ -1565,7 +1565,7 @@ namespace svx
}
}
- bool HangulHanjaEditDictDialog::DeleteEntryFromDictionary( const OUString&, const Reference< XConversionDictionary >& xDict )
+ bool HangulHanjaEditDictDialog::DeleteEntryFromDictionary( const Reference< XConversionDictionary >& xDict )
{
bool bRemovedSomething = false;
if( xDict.is() )
@@ -1596,7 +1596,7 @@ namespace svx
IMPL_LINK_NOARG( HangulHanjaEditDictDialog, DeletePBPushHdl, Button*, void )
{
- if( DeleteEntryFromDictionary( m_aOriginal, m_rDictList[ m_nCurrentDict ] ) )
+ if( DeleteEntryFromDictionary( m_rDictList[ m_nCurrentDict ] ) )
{
m_aOriginal.clear();
m_bModifiedOriginal = true;
diff --git a/cui/source/inc/hangulhanjadlg.hxx b/cui/source/inc/hangulhanjadlg.hxx
index 60bdb4cff011..182eefc80f7d 100644
--- a/cui/source/inc/hangulhanjadlg.hxx
+++ b/cui/source/inc/hangulhanjadlg.hxx
@@ -310,7 +310,7 @@ namespace svx
void SetEditText( Edit& _rEdit, sal_uInt16 _nEntryNum );
void EditModify( Edit* _pEdit, sal_uInt8 _nEntryOffset );
- bool DeleteEntryFromDictionary( const OUString& rEntry, const css::uno::Reference< css::linguistic2::XConversionDictionary >& xDict );
+ bool DeleteEntryFromDictionary( const css::uno::Reference< css::linguistic2::XConversionDictionary >& xDict );
public:
HangulHanjaEditDictDialog( vcl::Window* _pParent, HHDictList& _rDictList, sal_uInt32 _nSelDict );
diff --git a/cui/source/inc/numpages.hxx b/cui/source/inc/numpages.hxx
index b09fd9366c9a..09e5b109ffc3 100644
--- a/cui/source/inc/numpages.hxx
+++ b/cui/source/inc/numpages.hxx
@@ -314,7 +314,7 @@ class SvxNumOptionsTabPage : public SfxTabPage
0 - Number;
1 - Bullet;
2 - Bitmap; */
- void SwitchNumberType( sal_uInt8 nType, bool bBmp = false );
+ void SwitchNumberType( sal_uInt8 nType );
void CheckForStartValue_Impl(sal_uInt16 nNumberingType);
DECL_LINK( NumberTypeSelectHdl_Impl, ListBox&, void );
diff --git a/cui/source/options/connpooloptions.cxx b/cui/source/options/connpooloptions.cxx
index 642309118778..faaeeccfc3d8 100644
--- a/cui/source/options/connpooloptions.cxx
+++ b/cui/source/options/connpooloptions.cxx
@@ -338,7 +338,7 @@ namespace offapp
return VclPtr<ConnectionPoolOptionsPage>::Create(_pParent, *_rAttrSet);
}
- void ConnectionPoolOptionsPage::implInitControls(const SfxItemSet& _rSet, bool /*_bFromReset*/)
+ void ConnectionPoolOptionsPage::implInitControls(const SfxItemSet& _rSet)
{
// the enabled flag
const SfxBoolItem* pEnabled = _rSet.GetItem<SfxBoolItem>(SID_SB_POOLING_ENABLED);
@@ -399,13 +399,13 @@ namespace offapp
void ConnectionPoolOptionsPage::ActivatePage( const SfxItemSet& _rSet)
{
SfxTabPage::ActivatePage(_rSet);
- implInitControls(_rSet, false);
+ implInitControls(_rSet);
}
void ConnectionPoolOptionsPage::Reset(const SfxItemSet* _rSet)
{
- implInitControls(*_rSet, true);
+ implInitControls(*_rSet);
}
diff --git a/cui/source/options/connpooloptions.hxx b/cui/source/options/connpooloptions.hxx
index b91f6a323864..9e0c5bca3347 100644
--- a/cui/source/options/connpooloptions.hxx
+++ b/cui/source/options/connpooloptions.hxx
@@ -64,7 +64,7 @@ namespace offapp
DECL_LINK( OnEnabledDisabled, Button*, void );
DECL_LINK( OnDriverRowChanged, const DriverPooling*, void );
- void implInitControls(const SfxItemSet& _rSet, bool _bFromReset);
+ void implInitControls(const SfxItemSet& _rSet);
void commitTimeoutField();
};
diff --git a/cui/source/tabpages/numpages.cxx b/cui/source/tabpages/numpages.cxx
index 441b143c69c9..f785bbec456e 100644
--- a/cui/source/tabpages/numpages.cxx
+++ b/cui/source/tabpages/numpages.cxx
@@ -1649,7 +1649,7 @@ void SvxNumOptionsTabPage::InitControls()
}
// 0 - Number; 1 - Bullet; 2 - Bitmap
-void SvxNumOptionsTabPage::SwitchNumberType( sal_uInt8 nType, bool )
+void SvxNumOptionsTabPage::SwitchNumberType( sal_uInt8 nType )
{
if(nBullet == nType)
return;
@@ -1797,7 +1797,7 @@ IMPL_LINK( SvxNumOptionsTabPage, NumberTypeSelectHdl_Impl, ListBox&, rBox, void
if(!bBmp)
aNumFmt.SetGraphic("");
pActNum->SetLevel(i, aNumFmt);
- SwitchNumberType(SHOW_BITMAP, bBmp );
+ SwitchNumberType(SHOW_BITMAP);
bShowOrient = true;
}
else if( SVX_NUM_CHAR_SPECIAL == nNumberingType )