From bbf134a2b77909706492cbc41952210f89c0df71 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 24 Apr 2018 13:36:34 +0200 Subject: SvTabListBox::SetTabs, pass count explicit passing count as first element in array, dodgy. Change-Id: I49905b554b3b4d6cc3fa419a36389cd2e5ded463 --- include/svtools/svtabbx.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/svtools/svtabbx.hxx') diff --git a/include/svtools/svtabbx.hxx b/include/svtools/svtabbx.hxx index 248e8447123c..6f9a44e54246 100644 --- a/include/svtools/svtabbx.hxx +++ b/include/svtools/svtabbx.hxx @@ -65,7 +65,7 @@ public: SvTabListBox( vcl::Window* pParent, WinBits ); virtual ~SvTabListBox() override; virtual void dispose() override; - void SetTabs(const long* pTabs, MapUnit = MapUnit::MapAppFont); + void SetTabs(sal_uInt16 nTabs, long const pTabPositions[], MapUnit = MapUnit::MapAppFont); sal_uInt16 TabCount() const { return nTabCount; } using SvTreeListBox::GetTab; long GetTab( sal_uInt16 nTab ) const; -- cgit v1.2.3