diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-02-10 20:54:27 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-02-11 12:39:44 +0100 |
commit | 50568dab5baf0df31effbd39d73948b37fe64c1a (patch) | |
tree | 096eeffaa49c25880b36a73418b0d480dfa4f80a /include | |
parent | bd5eedd14069fa859bad25d4e126c244074d5f94 (diff) |
default args for ImplGetTabRect variant are a hazard
as it won't do anything with those defaults
Change-Id: I7b21bc09a28d40c4c643770872571f9caef4d615
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110729
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/tabctrl.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/tabctrl.hxx b/include/vcl/tabctrl.hxx index b113450fd90e..38a26e0680a4 100644 --- a/include/vcl/tabctrl.hxx +++ b/include/vcl/tabctrl.hxx @@ -69,7 +69,7 @@ protected: SAL_DLLPRIVATE ImplTabItem* ImplGetItem(const Point& rPt) const; SAL_DLLPRIVATE Size ImplGetItemSize( ImplTabItem* pItem, tools::Long nMaxWidth ); SAL_DLLPRIVATE tools::Rectangle ImplGetTabRect( sal_uInt16 nPos, tools::Long nWidth = -1, tools::Long nHeight = -1 ); - SAL_DLLPRIVATE tools::Rectangle ImplGetTabRect(const ImplTabItem*, tools::Long nWidth = -1, tools::Long nHeight = -1); + SAL_DLLPRIVATE tools::Rectangle ImplGetTabRect(const ImplTabItem*, tools::Long nWidth, tools::Long nHeight); SAL_DLLPRIVATE void ImplChangeTabPage( sal_uInt16 nId, sal_uInt16 nOldId ); SAL_DLLPRIVATE bool ImplPosCurTabPage(); virtual void ImplActivateTabPage( bool bNext ); |