From aedaee97a7e4ae9b0c00163c5767ae6ebc937ead Mon Sep 17 00:00:00 2001 From: Takeshi Abe Date: Fri, 20 Oct 2017 18:40:14 +0900 Subject: Drop redundant cast Change-Id: I8f0835a910bef2eac058a8408a86edc774ab8777 Reviewed-on: https://gerrit.libreoffice.org/43594 Tested-by: Jenkins Reviewed-by: Takeshi Abe --- include/svtools/svtabbx.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/svtools') 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 ); -- cgit