diff options
author | Noel Grandin <noel@peralex.com> | 2016-09-01 12:44:03 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-09-02 07:32:17 +0000 |
commit | 175c49baef5d8dd3f7a28fec5a3dce956303dc42 (patch) | |
tree | c354cdcdd75bee54a9fbf6895fe9f801a107c27f /svx/inc | |
parent | a8a7b7114d96b2013b00e9bc0ced81aad5495457 (diff) |
loplugin:countusersofdefaultparams
Change-Id: I2ed581e58523ac8b52aa520f7a02f69f408665fe
Reviewed-on: https://gerrit.libreoffice.org/28587
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'svx/inc')
-rw-r--r-- | svx/inc/sdr/properties/attributeproperties.hxx | 2 | ||||
-rw-r--r-- | svx/inc/sdr/properties/customshapeproperties.hxx | 2 | ||||
-rw-r--r-- | svx/inc/sdr/properties/e3dsceneproperties.hxx | 4 | ||||
-rw-r--r-- | svx/inc/sdr/properties/emptyproperties.hxx | 2 | ||||
-rw-r--r-- | svx/inc/sdr/properties/groupproperties.hxx | 6 |
5 files changed, 8 insertions, 8 deletions
diff --git a/svx/inc/sdr/properties/attributeproperties.hxx b/svx/inc/sdr/properties/attributeproperties.hxx index d8a9bc54b88a..262cf7749d7c 100644 --- a/svx/inc/sdr/properties/attributeproperties.hxx +++ b/svx/inc/sdr/properties/attributeproperties.hxx @@ -70,7 +70,7 @@ namespace sdr virtual SfxStyleSheet* GetStyleSheet() const override; // Move properties to a new ItemPool. - virtual void MoveToItemPool(SfxItemPool* pSrcPool, SfxItemPool* pDestPool, SdrModel* pNewModel = nullptr) override; + virtual void MoveToItemPool(SfxItemPool* pSrcPool, SfxItemPool* pDestPool, SdrModel* pNewModel) override; // Set new model. virtual void SetModel(SdrModel* pOldModel, SdrModel* pNewModel) override; diff --git a/svx/inc/sdr/properties/customshapeproperties.hxx b/svx/inc/sdr/properties/customshapeproperties.hxx index 577996a7d70d..3f1cc40cd54a 100644 --- a/svx/inc/sdr/properties/customshapeproperties.hxx +++ b/svx/inc/sdr/properties/customshapeproperties.hxx @@ -54,7 +54,7 @@ namespace sdr // clear single item direct, do not do any notifies or things like that. // Also supports complete deleteion of items when default parameter 0 is used. - virtual void ClearObjectItemDirect(const sal_uInt16 nWhich = 0) override; + virtual void ClearObjectItemDirect(const sal_uInt16 nWhich) override; public: diff --git a/svx/inc/sdr/properties/e3dsceneproperties.hxx b/svx/inc/sdr/properties/e3dsceneproperties.hxx index 3a2e98a9ddb7..bd415df1fc69 100644 --- a/svx/inc/sdr/properties/e3dsceneproperties.hxx +++ b/svx/inc/sdr/properties/e3dsceneproperties.hxx @@ -63,7 +63,7 @@ namespace sdr virtual void SetMergedItem(const SfxPoolItem& rItem) override; // Clear a single item, iterate over hierarchies if necessary. - virtual void ClearMergedItem(const sal_uInt16 nWhich = 0) override; + virtual void ClearMergedItem(const sal_uInt16 nWhich) override; // set a new StyleSheet and broadcast virtual void SetStyleSheet(SfxStyleSheet* pNewStyleSheet, bool bDontRemoveHardAttr) override; @@ -72,7 +72,7 @@ namespace sdr virtual SfxStyleSheet* GetStyleSheet() const override; // Move properties to a new ItemPool. Default implementation does nothing. - virtual void MoveToItemPool(SfxItemPool* pSrcPool, SfxItemPool* pDestPool, SdrModel* pNewModel = nullptr) override; + virtual void MoveToItemPool(SfxItemPool* pSrcPool, SfxItemPool* pDestPool, SdrModel* pNewModel) override; // Special for scene: void SetSceneItemsFromCamera(); diff --git a/svx/inc/sdr/properties/emptyproperties.hxx b/svx/inc/sdr/properties/emptyproperties.hxx index 202807759775..453e3572be76 100644 --- a/svx/inc/sdr/properties/emptyproperties.hxx +++ b/svx/inc/sdr/properties/emptyproperties.hxx @@ -75,7 +75,7 @@ namespace sdr // clear single item direct, do not do any notifies or things like that. // Also supports complete deleteion of items when default parameter 0 is used. - virtual void ClearObjectItemDirect(const sal_uInt16 nWhich = 0) override; + virtual void ClearObjectItemDirect(const sal_uInt16 nWhich) override; // set complete item set virtual void SetObjectItemSet(const SfxItemSet& rSet) override; diff --git a/svx/inc/sdr/properties/groupproperties.hxx b/svx/inc/sdr/properties/groupproperties.hxx index a9f44817b162..615efffd3015 100644 --- a/svx/inc/sdr/properties/groupproperties.hxx +++ b/svx/inc/sdr/properties/groupproperties.hxx @@ -82,13 +82,13 @@ namespace sdr // clear single item direct, do not do any notifies or things like that. // Also supports complete deleteion of items when default parameter 0 is used. - virtual void ClearObjectItemDirect(const sal_uInt16 nWhich = 0) override; + virtual void ClearObjectItemDirect(const sal_uInt16 nWhich) override; // Set a single item, iterate over hierarchies if necessary. virtual void SetMergedItem(const SfxPoolItem& rItem) override; // Clear a single item, iterate over hierarchies if necessary. - virtual void ClearMergedItem(const sal_uInt16 nWhich = 0) override; + virtual void ClearMergedItem(const sal_uInt16 nWhich) override; // set complete item set virtual void SetObjectItemSet(const SfxItemSet& rSet) override; @@ -104,7 +104,7 @@ namespace sdr virtual void ForceDefaultAttributes() override; // Move properties to a new ItemPool. - virtual void MoveToItemPool(SfxItemPool* pSrcPool, SfxItemPool* pDestPool, SdrModel* pNewModel = nullptr) override; + virtual void MoveToItemPool(SfxItemPool* pSrcPool, SfxItemPool* pDestPool, SdrModel* pNewModel) override; // force all attributes which come from styles to hard attributes // to be able to live without the style. |