diff options
author | Noel Grandin <noel@peralex.com> | 2016-05-31 08:47:19 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-05-31 08:48:34 +0200 |
commit | e48a13af9f48155cd35e3081a8afd53c1f5e6398 (patch) | |
tree | bae3599a95ca6e37959f3bf1a8d46f94b9ee0445 | |
parent | 6cf436799cb145c61f8324c074541950ee1a23e8 (diff) |
fix KDE4 build
after 3d7325898547c94826cfdd "loplugin:unusedmethods"
Change-Id: I32303948c5046b2880cd4e64cada32ea776a0861
-rwxr-xr-x | compilerplugins/clang/unusedmethods.py | 1 | ||||
-rw-r--r-- | include/vcl/salnativewidgets.hxx | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/compilerplugins/clang/unusedmethods.py b/compilerplugins/clang/unusedmethods.py index a4717c912fe0..64b82986bc94 100755 --- a/compilerplugins/clang/unusedmethods.py +++ b/compilerplugins/clang/unusedmethods.py @@ -49,6 +49,7 @@ unusedMethodsExclusionSet = set([ "void OpenGLContext::requestSingleBufferedRendering()", "_Bool TabitemValue::isBothAligned() const", "_Bool TabitemValue::isNotAligned() const", + "void TabitemValue::isLast() const", "void StyleSettings::SetSpinSize(long)", "void StyleSettings::SetFloatTitleHeight(long)", "void StyleSettings::SetTitleHeight(long)", diff --git a/include/vcl/salnativewidgets.hxx b/include/vcl/salnativewidgets.hxx index 80aac4e7b620..88f1ae0cb89b 100644 --- a/include/vcl/salnativewidgets.hxx +++ b/include/vcl/salnativewidgets.hxx @@ -448,6 +448,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; } }; |