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

Eike Rathke erack at redhat.com
Thu Sep 22 21:24:19 UTC 2016


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

New commits:
commit a84f4d266d01ddc085772e9a839d05c267a9fe67
Author: Eike Rathke <erack at redhat.com>
Date:   Thu Sep 22 23:21:42 2016 +0200

    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

diff --git a/include/vcl/salnativewidgets.hxx b/include/vcl/salnativewidgets.hxx
index 673341c..5d5bd1c 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; }
 };
 


More information about the Libreoffice-commits mailing list