summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-09-14 09:01:06 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-09-14 08:47:06 +0000
commit20a9e101d909cb1953101e5962b74731e1265400 (patch)
tree4e2516dcb7a5e19efb36fc4c2560b9211af83ce9 /include
parent0761f97525b3f3ce2cd73f8db28bf389a3c44f57 (diff)
loplugin:constantparam
clean up the plugin a little, and try to catch params which are default constructed, which doesn't seem to be working yet Change-Id: Ife45f18502a45cd26306424b7432c55fcbb0fd12 Reviewed-on: https://gerrit.libreoffice.org/28861 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/basic/sbxvar.hxx2
-rw-r--r--include/svx/svdpage.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/basic/sbxvar.hxx b/include/basic/sbxvar.hxx
index 4a625d1b8c8e..60ab190a7a8a 100644
--- a/include/basic/sbxvar.hxx
+++ b/include/basic/sbxvar.hxx
@@ -242,7 +242,7 @@ protected:
public:
SBX_DECL_PERSIST_NODATA(SBXID_VARIABLE,2);
SbxVariable();
- SbxVariable( SbxDataType, void* = nullptr );
+ SbxVariable( SbxDataType );
SbxVariable( const SbxVariable& );
SbxVariable& operator=( const SbxVariable& );
diff --git a/include/svx/svdpage.hxx b/include/svx/svdpage.hxx
index 98c53cfe3150..8067adda06c9 100644
--- a/include/svx/svdpage.hxx
+++ b/include/svx/svdpage.hxx
@@ -101,7 +101,7 @@ private:
/// simple ActionChildInserted forwarder to have it on a central place
static void impChildInserted(SdrObject& rChild);
public:
- SdrObjList(SdrModel* pNewModel, SdrPage* pNewPage, SdrObjList* pNewUpList=nullptr);
+ SdrObjList(SdrModel* pNewModel, SdrPage* pNewPage);
virtual ~SdrObjList();
virtual SdrObjList* Clone() const;