summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2016-09-22 23:21:42 +0200
committerEike Rathke <erack@redhat.com>2016-09-22 23:21:42 +0200
commita84f4d266d01ddc085772e9a839d05c267a9fe67 (patch)
treea13f5d8a01db0f1a0882d8327be26bb12ef5fe22 /include
parentd519232369c3dca7a3ad8011dcabc52479fa518f (diff)
attempt to fix build, reintroduce TabitemValue::isLast()
commit 7419057e3ec4365748fa6456e207f40fd9e09c62 Date: Thu Sep 22 16:34:14 2016 +0200 loplugin:unusedmethods in chart2..svx removed that but vcl/unx/kde/salnativewidgets-kde.cxx needs it. Change-Id: I1ddc98ffafb1f6a1a22642a9a83cc58085cb4271
Diffstat (limited to 'include')
-rw-r--r--include/vcl/salnativewidgets.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/vcl/salnativewidgets.hxx b/include/vcl/salnativewidgets.hxx
index 673341c1cf95..5d5bd1c2707d 100644
--- a/include/vcl/salnativewidgets.hxx
+++ b/include/vcl/salnativewidgets.hxx
@@ -420,6 +420,7 @@ class VCL_DLLPUBLIC TabitemValue : public ImplControlValue
bool isBothAligned() const { return isLeftAligned() && isRightAligned(); }
bool isNotAligned() const { return !(mnAlignment & (TabitemFlags::LeftAligned | TabitemFlags::RightAligned)); }
bool isFirst() const { return bool(mnAlignment & TabitemFlags::FirstInGroup); }
+ bool isLast() const { return bool(mnAlignment & TabitemFlags::LastInGroup); }
const Rectangle& getContentRect() const { return maContentRect; }
};