summaryrefslogtreecommitdiff
path: root/extensions/source/bibliography
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-08-05 11:11:03 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-08-05 11:54:17 +0000
commitb4e12269e813338afc895986fbc4f2703cedd016 (patch)
tree8809ce08d9199ba14ffc51cd28db0869f826e208 /extensions/source/bibliography
parentdbe0b5aa9dc016498c623e76babcc486894d4235 (diff)
loplugin:countusersofdefaultparams in editeng..fpicker
Change-Id: I6356c95296d81736fc6d66e510cd70606ee55f68 Reviewed-on: https://gerrit.libreoffice.org/27897 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'extensions/source/bibliography')
-rw-r--r--extensions/source/bibliography/datman.hxx2
-rw-r--r--extensions/source/bibliography/toolbar.cxx2
-rw-r--r--extensions/source/bibliography/toolbar.hxx6
3 files changed, 5 insertions, 5 deletions
diff --git a/extensions/source/bibliography/datman.hxx b/extensions/source/bibliography/datman.hxx
index 19fd5506bec9..3ba10aac8047 100644
--- a/extensions/source/bibliography/datman.hxx
+++ b/extensions/source/bibliography/datman.hxx
@@ -158,7 +158,7 @@ public:
static OUString getControlName(sal_Int32 nFormatKey );
css::uno::Reference< css::awt::XControlModel > loadControlModel(const OUString& rName,
- bool bForceListBox = false);
+ bool bForceListBox);
void CreateMappingDialog(vcl::Window* pParent);
OUString CreateDBChangeDialog(vcl::Window* pParent);
diff --git a/extensions/source/bibliography/toolbar.cxx b/extensions/source/bibliography/toolbar.cxx
index 65e4010aab6a..a0d251bc580c 100644
--- a/extensions/source/bibliography/toolbar.cxx
+++ b/extensions/source/bibliography/toolbar.cxx
@@ -106,7 +106,7 @@ void BibTBListBoxListener::statusChanged(const css::frame::FeatureStateEvent& rE
aEntry = pStringArray[i];
pToolBar->InsertSourceEntry(aEntry);
}
- pToolBar->UpdateSourceList();
+ pToolBar->UpdateSourceList(true);
}
pToolBar->SelectSourceEntry(rEvt.FeatureDescriptor);
diff --git a/extensions/source/bibliography/toolbar.hxx b/extensions/source/bibliography/toolbar.hxx
index 97f189cc0618..136f8382ee64 100644
--- a/extensions/source/bibliography/toolbar.hxx
+++ b/extensions/source/bibliography/toolbar.hxx
@@ -164,12 +164,12 @@ class BibToolBar: public ToolBox
void SetXController(const css::uno::Reference< css::frame::XController > &);
void ClearSourceList();
- void UpdateSourceList(bool bFlag=true);
- void EnableSourceList(bool bFlag=true);
+ void UpdateSourceList(bool bFlag);
+ void EnableSourceList(bool bFlag);
void InsertSourceEntry(const OUString& );
void SelectSourceEntry(const OUString& );
- void EnableQuery(bool bFlag=true);
+ void EnableQuery(bool bFlag);
void SetQueryString(const OUString& );
void AdjustToolBox();