diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2017-10-20 18:40:14 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2017-10-20 15:19:29 +0200 |
commit | aedaee97a7e4ae9b0c00163c5767ae6ebc937ead (patch) | |
tree | 73c54aa0bf3db31a3b9826c4f07e8593439e50f2 | |
parent | fd5fa397a0a46470e034bb23789f7a17592cb070 (diff) |
Drop redundant cast
Change-Id: I8f0835a910bef2eac058a8408a86edc774ab8777
Reviewed-on: https://gerrit.libreoffice.org/43594
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
-rw-r--r-- | include/svtools/svtabbx.hxx | 2 | ||||
-rw-r--r-- | include/svx/svdpntv.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/svtools/svtabbx.hxx b/include/svtools/svtabbx.hxx index e652aa9c9a51..248e8447123c 100644 --- a/include/svtools/svtabbx.hxx +++ b/include/svtools/svtabbx.hxx @@ -66,7 +66,7 @@ public: virtual ~SvTabListBox() override; virtual void dispose() override; void SetTabs(const long* pTabs, MapUnit = MapUnit::MapAppFont); - sal_uInt16 TabCount() const { return (sal_uInt16)nTabCount; } + sal_uInt16 TabCount() const { return nTabCount; } using SvTreeListBox::GetTab; long GetTab( sal_uInt16 nTab ) const; void SetTab( sal_uInt16 nTab, long nValue, MapUnit = MapUnit::MapAppFont ); diff --git a/include/svx/svdpntv.hxx b/include/svx/svdpntv.hxx index fede2d744bb1..09b91178299a 100644 --- a/include/svx/svdpntv.hxx +++ b/include/svx/svdpntv.hxx @@ -272,7 +272,7 @@ public: void SetActualWin(const OutputDevice* pWin); void SetMinMoveDistancePixel(sal_uInt16 nVal) { mnMinMovPix=nVal; TheresNewMapMode(); } void SetHitTolerancePixel(sal_uInt16 nVal) { mnHitTolPix=nVal; TheresNewMapMode(); } - sal_uInt16 GetHitTolerancePixel() const { return (sal_uInt16)mnHitTolPix; } + sal_uInt16 GetHitTolerancePixel() const { return mnHitTolPix; } // Data read access on logic HitTolerance and MinMoveTolerance sal_uInt16 getHitTolLog() const { return mnHitTolLog; } |