diff options
author | Noel Grandin <noel@peralex.com> | 2016-07-22 14:35:27 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-07-25 06:09:17 +0000 |
commit | 938821fb08e427864db6a10642f385bde9803f6c (patch) | |
tree | 759da9d0d0905a90f6dac2f0bf750721c17421c4 /svx/source/table | |
parent | 4d4d77a1aad1bcae18bad35dad5308d33d6b2e51 (diff) |
new loplugin overrideparam
verify that parameters on override methods have the same set of default
values for their params as their parent/super-methods do.
Change-Id: Ibdbc1c6e417fbaa680ea025a6bbf5ba9c2e5bcd2
Reviewed-on: https://gerrit.libreoffice.org/27437
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'svx/source/table')
-rw-r--r-- | svx/source/table/cell.cxx | 2 | ||||
-rw-r--r-- | svx/source/table/svdotable.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/table/cell.cxx b/svx/source/table/cell.cxx index a7f1933c2237..90f499065962 100644 --- a/svx/source/table/cell.cxx +++ b/svx/source/table/cell.cxx @@ -168,7 +168,7 @@ namespace sdr void ItemSetChanged(const SfxItemSet& rSet) override; - void ItemChange(const sal_uInt16 nWhich, const SfxPoolItem* pNewItem) override; + void ItemChange(const sal_uInt16 nWhich, const SfxPoolItem* pNewItem = nullptr) override; void SetStyleSheet(SfxStyleSheet* pNewStyleSheet, bool bDontRemoveHardAttr) override; diff --git a/svx/source/table/svdotable.cxx b/svx/source/table/svdotable.cxx index a113dd33e757..018ee2ed641a 100644 --- a/svx/source/table/svdotable.cxx +++ b/svx/source/table/svdotable.cxx @@ -100,7 +100,7 @@ public: // Clone() operator, normally just calls the local copy constructor BaseProperties& Clone(SdrObject& rObj) const override; - virtual void ItemChange(const sal_uInt16 nWhich, const SfxPoolItem* pNewItem) override; + virtual void ItemChange(const sal_uInt16 nWhich, const SfxPoolItem* pNewItem = nullptr) override; }; TableProperties::TableProperties(SdrObject& rObj) |