summaryrefslogtreecommitdiffstats
path: root/connectivity
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-07-01 15:08:10 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-07-02 10:30:49 +0200
commit7c610a2a74ca2bde7673b3ceee11c1b3f6b9d498 (patch)
treeef333efac79c7e2eea2de1542488ee2565a506bf /connectivity
parent-Werror,-Wunused-private-field (diff)
downloadcore-7c610a2a74ca2bde7673b3ceee11c1b3f6b9d498.tar.gz
core-7c610a2a74ca2bde7673b3ceee11c1b3f6b9d498.zip
loplugin:constantparam
Change-Id: I9fbfa6163c1d4650c52b00dc911972f07fe7c0e5 Reviewed-on: https://gerrit.libreoffice.org/56778 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/inc/dbase/dindexnode.hxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/connectivity/source/inc/dbase/dindexnode.hxx b/connectivity/source/inc/dbase/dindexnode.hxx
index 1dc2cad48c6f..eb1ce0b9ea51 100644
--- a/connectivity/source/inc/dbase/dindexnode.hxx
+++ b/connectivity/source/inc/dbase/dindexnode.hxx
@@ -240,9 +240,8 @@ namespace connectivity
public:
ONDXNode(){}
- ONDXNode(const ONDXKey& rKey,
- ONDXPagePtr aPagePtr = ONDXPagePtr())
- :aChild(aPagePtr),aKey(rKey) {}
+ ONDXNode(const ONDXKey& rKey)
+ :aKey(rKey) {}
// Does the node point to a page?
bool HasChild() const {return aChild.HasPage();}