Kaydet (Commit) aedaee97 authored tarafından Takeshi Abe's avatar Takeshi Abe

Drop redundant cast

Change-Id: I8f0835a910bef2eac058a8408a86edc774ab8777
Reviewed-on: https://gerrit.libreoffice.org/43594Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarTakeshi Abe <tabe@fixedpoint.jp>
üst fd5fa397
...@@ -66,7 +66,7 @@ public: ...@@ -66,7 +66,7 @@ public:
virtual ~SvTabListBox() override; virtual ~SvTabListBox() override;
virtual void dispose() override; virtual void dispose() override;
void SetTabs(const long* pTabs, MapUnit = MapUnit::MapAppFont); 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; using SvTreeListBox::GetTab;
long GetTab( sal_uInt16 nTab ) const; long GetTab( sal_uInt16 nTab ) const;
void SetTab( sal_uInt16 nTab, long nValue, MapUnit = MapUnit::MapAppFont ); void SetTab( sal_uInt16 nTab, long nValue, MapUnit = MapUnit::MapAppFont );
......
...@@ -272,7 +272,7 @@ public: ...@@ -272,7 +272,7 @@ public:
void SetActualWin(const OutputDevice* pWin); void SetActualWin(const OutputDevice* pWin);
void SetMinMoveDistancePixel(sal_uInt16 nVal) { mnMinMovPix=nVal; TheresNewMapMode(); } void SetMinMoveDistancePixel(sal_uInt16 nVal) { mnMinMovPix=nVal; TheresNewMapMode(); }
void SetHitTolerancePixel(sal_uInt16 nVal) { mnHitTolPix=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 // Data read access on logic HitTolerance and MinMoveTolerance
sal_uInt16 getHitTolLog() const { return mnHitTolLog; } sal_uInt16 getHitTolLog() const { return mnHitTolLog; }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment