[Libreoffice-commits] core.git: include/vcl
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Thu Feb 11 11:40:28 UTC 2021
include/vcl/tabctrl.hxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 50568dab5baf0df31effbd39d73948b37fe64c1a
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed Feb 10 20:54:27 2021 +0000
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Thu Feb 11 12:39:44 2021 +0100
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 at redhat.com>
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 );
More information about the Libreoffice-commits
mailing list