diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-05 12:26:29 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-05 12:21:19 +0000 |
commit | 572e9cde744e2b482a04ff4b457ad2cfde5f70d2 (patch) | |
tree | 78e93df178de6d17d55eef7c3907781aa131ff7c /include/svx/svdpntv.hxx | |
parent | 5f282c101a644ffc3615c3dc43ddb99febecae16 (diff) |
loplugin:redundantcast find c-style bool casts
Change-Id: I3237b93babc67de12c3771aa84766c2141ca93b2
Reviewed-on: https://gerrit.libreoffice.org/36137
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svx/svdpntv.hxx')
-rw-r--r-- | include/svx/svdpntv.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/svx/svdpntv.hxx b/include/svx/svdpntv.hxx index b660297d573c..da219d703f8e 100644 --- a/include/svx/svdpntv.hxx +++ b/include/svx/svdpntv.hxx @@ -392,10 +392,10 @@ public: bool getHideChart() const { return mbHideChart; } bool getHideDraw() const { return mbHideDraw; } bool getHideFormControl() const { return mbHideFormControl; } - void setHideOle(bool bNew) { if(bNew != (bool)mbHideOle) mbHideOle = bNew; } - void setHideChart(bool bNew) { if(bNew != (bool)mbHideChart) mbHideChart = bNew; } - void setHideDraw(bool bNew) { if(bNew != (bool)mbHideDraw) mbHideDraw = bNew; } - void setHideFormControl(bool bNew) { if(bNew != (bool)mbHideFormControl) mbHideFormControl = bNew; } + void setHideOle(bool bNew) { if(bNew != mbHideOle) mbHideOle = bNew; } + void setHideChart(bool bNew) { if(bNew != mbHideChart) mbHideChart = bNew; } + void setHideDraw(bool bNew) { if(bNew != mbHideDraw) mbHideDraw = bNew; } + void setHideFormControl(bool bNew) { if(bNew != mbHideFormControl) mbHideFormControl = bNew; } void SetGridCoarse(const Size& rSiz) { maGridBig=rSiz; } void SetGridFine(const Size& rSiz) { |