include/svtools/svtabbx.hxx | 2 +- include/svx/svdpntv.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
New commits: commit aedaee97a7e4ae9b0c00163c5767ae6ebc937ead Author: Takeshi Abe <[email protected]> Date: Fri Oct 20 18:40:14 2017 +0900 Drop redundant cast Change-Id: I8f0835a910bef2eac058a8408a86edc774ab8777 Reviewed-on: https://gerrit.libreoffice.org/43594 Tested-by: Jenkins <[email protected]> Reviewed-by: Takeshi Abe <[email protected]> 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; } _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
