[Libreoffice-commits] core.git: include/vcl

Noel Grandin noel.grandin at collabora.co.uk
Tue Feb 21 10:56:49 UTC 2017


 include/vcl/salnativewidgets.hxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit fe459304497f822b1b9ab1f49602c0a81813c987
Author: Noel Grandin <noel.grandin at collabora.co.uk>
Date:   Tue Feb 21 12:55:52 2017 +0200

    fix KDE build
    
    after commit 0649622956431e0a1955cb80d1175025401ab5e5
    "loplugin:unusedmethods"
    
    Change-Id: Ia9ef3f8c1e64397a350656a3addc1b2a67f0b118

diff --git a/include/vcl/salnativewidgets.hxx b/include/vcl/salnativewidgets.hxx
index e60cfe9..30997a9 100644
--- a/include/vcl/salnativewidgets.hxx
+++ b/include/vcl/salnativewidgets.hxx
@@ -367,6 +367,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; }
 };
 


More information about the Libreoffice-commits mailing list