[Libreoffice-commits] core.git: compilerplugins/clang vcl/unx

2021-06-17 Thread Caolán McNamara (via logerrit)
 compilerplugins/clang/reservedid.cxx |2 
 vcl/unx/gtk3/gtkinst.cxx |  136 +--
 2 files changed, 131 insertions(+), 7 deletions(-)

New commits:
commit de74235388015673f32f9fb0bfdcf95071c7ba0e
Author: Caolán McNamara 
AuthorDate: Wed Jun 16 20:59:39 2021 +0100
Commit: Caolán McNamara 
CommitDate: Thu Jun 17 13:25:19 2021 +0200

gtk4: restore double-decker notebooks

add a 'NotifyingLayout' to find out when the size of a widget
changes now that size-allocate has been removed

Change-Id: Iae55b7fafd2fd26c62afaedd777ae40e84fbb964
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117348
Tested-by: Jenkins
Reviewed-by: Caolán McNamara 

diff --git a/compilerplugins/clang/reservedid.cxx 
b/compilerplugins/clang/reservedid.cxx
index 0792c96b2da6..7ac340da282a 100644
--- a/compilerplugins/clang/reservedid.cxx
+++ b/compilerplugins/clang/reservedid.cxx
@@ -209,6 +209,8 @@ bool ReservedId::VisitNamedDecl(NamedDecl const * decl) {
 && s != "_GstVideoOverlay"
 // avmedia/source/gstreamer/gstplayer.hxx
 && s != "_Module" // extensions/source/activex/StdAfx2.h, 
CComModule
+&& s != "_NotifyingLayout" // vcl/unx/gtk3/gtkinst.cxx
+&& s != "_NotifyingLayoutClass" // vcl/unx/gtk3/gtkinst.cxx
 && s != "_SurfacePaintable" // vcl/unx/gtk3/gtkinst.cxx
 && s != "_SurfacePaintableClass" // vcl/unx/gtk3/gtkinst.cxx
 && s != "_XRegion" // vcl/unx/generic/gdi/x11cairotextrender.cxx
diff --git a/vcl/unx/gtk3/gtkinst.cxx b/vcl/unx/gtk3/gtkinst.cxx
index de09ae503a21..b1c8a2fbe0b5 100644
--- a/vcl/unx/gtk3/gtkinst.cxx
+++ b/vcl/unx/gtk3/gtkinst.cxx
@@ -7785,6 +7785,98 @@ public:
 
 }
 
+#if GTK_CHECK_VERSION(4, 0, 0)
+
+G_BEGIN_DECLS
+
+G_DECLARE_FINAL_TYPE(NotifyingLayout, notifying_layout, NOTIFYING, LAYOUT, 
GtkLayoutManager)
+
+struct _NotifyingLayout
+{
+GtkLayoutManager parent_instance;
+
+GtkWidget* m_pWidget;
+GtkLayoutManager* m_pOrigManager;
+Link m_aLink;
+
+void StartWatch(GtkWidget* pWidget, const Link& rLink)
+{
+m_pWidget = pWidget;
+m_aLink = rLink;
+
+m_pOrigManager = gtk_widget_get_layout_manager(m_pWidget);
+g_object_ref(m_pOrigManager);
+
+gtk_widget_set_layout_manager(pWidget, GTK_LAYOUT_MANAGER(this));
+}
+
+void StopWatch()
+{
+gtk_widget_set_layout_manager(m_pWidget, m_pOrigManager);
+}
+};
+
+struct _NotifyingLayoutClass
+{
+GtkLayoutManagerClass parent_class;
+};
+
+G_DEFINE_TYPE(NotifyingLayout, notifying_layout, GTK_TYPE_LAYOUT_MANAGER)
+
+static void notifying_layout_measure(GtkLayoutManager* pLayoutManager,
+ GtkWidget* widget,
+ GtkOrientation orientation,
+ int for_size,
+ int *minimum,
+ int *natural,
+ int *minimum_baseline,
+ int *natural_baseline)
+{
+NotifyingLayout* self = NOTIFYING_LAYOUT(pLayoutManager);
+GtkLayoutManagerClass* pKlass = 
GTK_LAYOUT_MANAGER_CLASS(G_OBJECT_GET_CLASS(self->m_pOrigManager));
+pKlass->measure(self->m_pOrigManager, widget, orientation, for_size,
+minimum, natural, minimum_baseline, natural_baseline);
+}
+
+static void notifying_layout_allocate(GtkLayoutManager* pLayoutManager,
+  GtkWidget* widget,
+  int width,
+  int height,
+  int baseline)
+{
+NotifyingLayout* self = NOTIFYING_LAYOUT(pLayoutManager);
+GtkLayoutManagerClass* pKlass = 
GTK_LAYOUT_MANAGER_CLASS(G_OBJECT_GET_CLASS(self->m_pOrigManager));
+pKlass->allocate(self->m_pOrigManager, widget, width, height, baseline);
+self->m_aLink.Call(nullptr);
+}
+
+static GtkSizeRequestMode notifying_layout_get_request_mode(GtkLayoutManager* 
pLayoutManager,
+GtkWidget* widget)
+{
+NotifyingLayout* self = NOTIFYING_LAYOUT(pLayoutManager);
+GtkLayoutManagerClass* pKlass = 
GTK_LAYOUT_MANAGER_CLASS(G_OBJECT_GET_CLASS(self->m_pOrigManager));
+return pKlass->get_request_mode(self->m_pOrigManager, widget);
+}
+
+static void notifying_layout_class_init(NotifyingLayoutClass* klass)
+{
+GtkLayoutManagerClass *layout_class = GTK_LAYOUT_MANAGER_CLASS(klass);
+
+layout_class->get_request_mode = notifying_layout_get_request_mode;
+layout_class->measure = notifying_layout_measure;
+layout_class->allocate = notifying_layout_allocate;
+}
+
+static void notifying_layout_init(NotifyingLayout* self)
+{
+self->m_pWidget = nullptr;
+self->m_pOrigManager = nullptr;
+}
+
+G_END_DECLS
+
+#endif
+
 namespace {
 
 class 

[Libreoffice-commits] core.git: compilerplugins/clang vcl/unx

2021-05-27 Thread Caolán McNamara (via logerrit)
 compilerplugins/clang/reservedid.cxx |2 
 vcl/unx/gtk3/gtkinst.cxx |  125 ++-
 2 files changed, 98 insertions(+), 29 deletions(-)

New commits:
commit d132982667d0e8112e7cf9f5cc39323ec7be5068
Author: Caolán McNamara 
AuthorDate: Thu May 27 16:20:12 2021 +0100
Commit: Caolán McNamara 
CommitDate: Thu May 27 21:09:46 2021 +0200

gtk4: continue to provide Paintable via cairo surface

instead of squeezing through a GdkTexture and losing hidpi surfaces

Change-Id: I1ee75ff804d1d769273e2f80335bfdf528ae8039
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116267
Tested-by: Jenkins
Reviewed-by: Caolán McNamara 

diff --git a/compilerplugins/clang/reservedid.cxx 
b/compilerplugins/clang/reservedid.cxx
index 3f019a10d830..169942f9c392 100644
--- a/compilerplugins/clang/reservedid.cxx
+++ b/compilerplugins/clang/reservedid.cxx
@@ -207,6 +207,8 @@ bool ReservedId::VisitNamedDecl(NamedDecl const * decl) {
 && s != "_GstVideoOverlay"
 // avmedia/source/gstreamer/gstplayer.hxx
 && s != "_Module" // extensions/source/activex/StdAfx2.h, 
CComModule
+&& s != "_SurfacePaintable" // vcl/unx/gtk3/gtkinst.cxx
+&& s != "_SurfacePaintableClass" // vcl/unx/gtk3/gtkinst.cxx
 && s != "_XRegion" // vcl/unx/generic/gdi/x11cairotextrender.cxx
 && s != "_XTrap") // vcl/unx/generic/gdi/xrender_peer.hxx
 {
diff --git a/vcl/unx/gtk3/gtkinst.cxx b/vcl/unx/gtk3/gtkinst.cxx
index 4fd5e509fa1f..6ba181f8564f 100644
--- a/vcl/unx/gtk3/gtkinst.cxx
+++ b/vcl/unx/gtk3/gtkinst.cxx
@@ -3981,48 +3981,115 @@ namespace
 #endif
 return pixbuf;
 }
+}
 
 #if GTK_CHECK_VERSION(4, 0, 0)
-GdkTexture* texture_new_from_virtual_device(const VirtualDevice& 
rImageSurface)
+
+G_BEGIN_DECLS
+
+G_DECLARE_FINAL_TYPE(SurfacePaintable, surface_paintable, SURFACE, PAINTABLE, 
GObject)
+
+struct _SurfacePaintable
+{
+GObject parent_instance;
+int width;
+int height;
+cairo_surface_t* surface;
+};
+
+struct _SurfacePaintableClass
+{
+GObjectClass parent_class;
+};
+
+static void surface_paintable_snapshot(GdkPaintable *paintable, GdkSnapshot 
*snapshot,
+   double width, double height)
+{
+graphene_rect_t rect = GRAPHENE_RECT_INIT(0.0f, 0.0f,
+  static_cast(width),
+  static_cast(height));
+SurfacePaintable *self = SURFACE_PAINTABLE(paintable);
+cairo_t* cr = gtk_snapshot_append_cairo(GTK_SNAPSHOT(snapshot), );
+cairo_set_source_surface(cr, self->surface, 0, 0);
+cairo_paint(cr);
+cairo_destroy(cr);
+}
+
+static int surface_paintable_get_intrinsic_width(GdkPaintable *paintable)
+{
+SurfacePaintable *self = SURFACE_PAINTABLE(paintable);
+return self->width;
+}
+
+static int surface_paintable_get_intrinsic_height(GdkPaintable *paintable)
+{
+SurfacePaintable *self = SURFACE_PAINTABLE(paintable);
+return self->height;
+}
+
+static void surface_paintable_init_interface(GdkPaintableInterface *iface)
+{
+iface->snapshot = surface_paintable_snapshot;
+iface->get_intrinsic_width = surface_paintable_get_intrinsic_width;
+iface->get_intrinsic_height = surface_paintable_get_intrinsic_height;
+}
+
+G_DEFINE_TYPE_WITH_CODE(SurfacePaintable, surface_paintable, G_TYPE_OBJECT,
+G_IMPLEMENT_INTERFACE(GDK_TYPE_PAINTABLE,
+  
surface_paintable_init_interface));
+
+static void surface_paintable_init(SurfacePaintable *self)
+{
+self->width = 0;
+self->height = 0;
+self->surface = nullptr;
+}
+
+static void surface_paintable_dispose(GObject *object)
+{
+SurfacePaintable* self = SURFACE_PAINTABLE(object);
+cairo_surface_destroy(self->surface);
+G_OBJECT_CLASS(surface_paintable_parent_class)->dispose(object);
+}
+
+static void surface_paintable_class_init(SurfacePaintableClass *klass)
+{
+GObjectClass *object_class = G_OBJECT_CLASS(klass);
+object_class->dispose = surface_paintable_dispose;
+}
+
+G_END_DECLS
+
+#endif
+
+namespace
+{
+#if GTK_CHECK_VERSION(4, 0, 0)
+SurfacePaintable* paintable_new_from_virtual_device(const VirtualDevice& 
rImageSurface)
 {
 cairo_surface_t* surface = get_underlying_cairo_surface(rImageSurface);
 
 Size aSize(rImageSurface.GetOutputSizePixel());
-
-// seems unfortunately to lose the potentially hidpi image here
-cairo_surface_t* target = cairo_surface_create_similar_image(surface,
- 
CAIRO_FORMAT_ARGB32,
- 
aSize.Width(),
- 
aSize.Height());
-
+cairo_surface_t* target = cairo_surface_create_similar(surface,
+

[Libreoffice-commits] core.git: compilerplugins/clang vcl/unx

2019-07-22 Thread Michael Weghorn (via logerrit)
 compilerplugins/clang/unusedfields.only-used-in-constructor.results |2 --
 compilerplugins/clang/unusedfields.untouched.results|2 --
 vcl/unx/gtk3_kde5/kde5_filepicker.cxx   |1 -
 vcl/unx/gtk3_kde5/kde5_filepicker.hxx   |2 --
 vcl/unx/kf5/KF5FilePicker.cxx   |1 -
 vcl/unx/kf5/KF5FilePicker.hxx   |2 --
 6 files changed, 10 deletions(-)

New commits:
commit adb3e60d3f61b5d8c9690fe38cf55ced19f038b0
Author: Michael Weghorn 
AuthorDate: Mon Jul 22 12:52:09 2019 +0200
Commit: Michael Weghorn 
CommitDate: Mon Jul 22 16:16:30 2019 +0200

kf5/gtk3_kde5 fpickers: Drop unused 'allowRemoteUrls'

Change-Id: I591bf9fbe6e22bedda5a94334130a4f674cd66e6
Reviewed-on: https://gerrit.libreoffice.org/76110
Tested-by: Jenkins
Reviewed-by: Michael Weghorn 

diff --git 
a/compilerplugins/clang/unusedfields.only-used-in-constructor.results 
b/compilerplugins/clang/unusedfields.only-used-in-constructor.results
index db4b5e7efed6..ca08d4cca7a5 100644
--- a/compilerplugins/clang/unusedfields.only-used-in-constructor.results
+++ b/compilerplugins/clang/unusedfields.only-used-in-constructor.results
@@ -842,8 +842,6 @@ vcl/unx/gtk/glomenu.cxx:20
 GLOMenu parent_instance const GMenuModel
 vcl/unx/kf5/KF5FilePicker.hxx:32
 KF5FilePicker _layout class QGridLayout *
-vcl/unx/kf5/KF5FilePicker.hxx:34
-KF5FilePicker allowRemoteUrls _Bool
 writerfilter/source/dmapper/PropertyMap.hxx:198
 writerfilter::dmapper::SectionPropertyMap m_nDebugSectionNumber sal_Int32
 xmloff/source/text/XMLTextListBlockContext.hxx:35
diff --git a/compilerplugins/clang/unusedfields.untouched.results 
b/compilerplugins/clang/unusedfields.untouched.results
index d7092855f60b..0982b2dca66c 100644
--- a/compilerplugins/clang/unusedfields.untouched.results
+++ b/compilerplugins/clang/unusedfields.untouched.results
@@ -762,8 +762,6 @@ vcl/unx/gtk3/gtk3gtkinst.cxx:3532
 CrippledViewport viewport GtkViewport
 vcl/unx/gtk/a11y/atkhypertext.cxx:29
 HyperLink atk_hyper_link const AtkHyperlink
-vcl/unx/kf5/KF5FilePicker.hxx:34
-KF5FilePicker allowRemoteUrls _Bool
 writerfilter/source/ooxml/OOXMLStreamImpl.hxx:43
 writerfilter::ooxml::OOXMLStreamImpl mxFastParser 
css::uno::Reference
 writerperfect/inc/WPFTEncodingDialog.hxx:37
diff --git a/vcl/unx/gtk3_kde5/kde5_filepicker.cxx 
b/vcl/unx/gtk3_kde5/kde5_filepicker.cxx
index 2ee4dbd8e85c..a3c2ecf63483 100644
--- a/vcl/unx/gtk3_kde5/kde5_filepicker.cxx
+++ b/vcl/unx/gtk3_kde5/kde5_filepicker.cxx
@@ -42,7 +42,6 @@ KDE5FilePicker::KDE5FilePicker(QObject* parent)
 , _extraControls(new QWidget)
 , _layout(new QGridLayout(_extraControls))
 , _winId(0)
-, allowRemoteUrls(false)
 {
 _dialog->setSupportedSchemes({
 QStringLiteral("file"), QStringLiteral("ftp"), QStringLiteral("http"),
diff --git a/vcl/unx/gtk3_kde5/kde5_filepicker.hxx 
b/vcl/unx/gtk3_kde5/kde5_filepicker.hxx
index c979a5ddcad9..0442c333ab05 100644
--- a/vcl/unx/gtk3_kde5/kde5_filepicker.hxx
+++ b/vcl/unx/gtk3_kde5/kde5_filepicker.hxx
@@ -55,8 +55,6 @@ protected:
 
 sal_uIntPtr _winId;
 
-bool allowRemoteUrls;
-
 public:
 explicit KDE5FilePicker(QObject* parent = nullptr);
 ~KDE5FilePicker() override;
diff --git a/vcl/unx/kf5/KF5FilePicker.cxx b/vcl/unx/kf5/KF5FilePicker.cxx
index 366ca89ffa54..9ecbbb7d8feb 100644
--- a/vcl/unx/kf5/KF5FilePicker.cxx
+++ b/vcl/unx/kf5/KF5FilePicker.cxx
@@ -54,7 +54,6 @@ 
KF5FilePicker::KF5FilePicker(css::uno::Reference co
 // Native kf5 filepicker does not add file extension automatically
 : Qt5FilePicker(context, eMode, true, true)
 , _layout(new QGridLayout(m_pExtraControls))
-, allowRemoteUrls(false)
 {
 // use native dialog
 m_pFileDialog->setOption(QFileDialog::DontUseNativeDialog, false);
diff --git a/vcl/unx/kf5/KF5FilePicker.hxx b/vcl/unx/kf5/KF5FilePicker.hxx
index 6bfc7ee96077..4325e782d0f4 100644
--- a/vcl/unx/kf5/KF5FilePicker.hxx
+++ b/vcl/unx/kf5/KF5FilePicker.hxx
@@ -31,8 +31,6 @@ protected:
 //layout for extra custom controls
 QGridLayout* _layout;
 
-bool allowRemoteUrls;
-
 public:
 explicit KF5FilePicker(css::uno::Reference 
const& context,
QFileDialog::FileMode);
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

[Libreoffice-commits] core.git: compilerplugins/clang vcl/unx

2017-11-16 Thread Stephan Bergmann
 compilerplugins/clang/casttovoid.cxx |2 +-
 vcl/unx/gtk/gtkdata.cxx  |3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

New commits:
commit 11b741ac5e32c65475c61961679adac11660eab2
Author: Stephan Bergmann 
Date:   Fri Nov 17 08:09:59 2017 +0100

Make loplugin:casttovoid more resilient against macros

...in the type at the start of a ParmVarDecl, so that it does not 
erroneously
assume in isSharedCAndCppCode that the whole decl is in "the body of a macro
definition".  (Even better might be to check the whole ParmVarDecl is 
inside one
macro body.)

Turns out that vcl/unx/gtk/gtkdata.cxx indirectly includes stdbool.h via 
some
vcl/inc/unx/saldisp.hxx -> 
workdir/UnpackedTarball/epoxy/include/epoxy/glx.h ->
workdir/UnpackedTarball/epoxy/include/epoxy/gl.h, and Clang's stdbool.h 
contains

> /* Don't define bool, true, and false in C++, except as a GNU extension. 
*/
> #ifndef __cplusplus
> #define bool _Bool
> #define true 1
> #define false 0
> #elif defined(__GNUC__) && !defined(__STRICT_ANSI__)
> /* Define _Bool, bool, false, true as a GNU extension. */
> #define _Bool bool
> #define bool  bool
> #define false false
> #define true  true
> #endif

since 
"Define _Bool, bool, true, and false macros in  when we're in a
GNU-compatible C++ dialect. Fixes " while GCC's
stdbool.h has meanwhile been improved with
 "C++11
explicitly forbids macros for bool, true and false" to

> #ifndef __cplusplus
>
> #define bool  _Bool
> #define true  1
> #define false 0
>
> #else /* __cplusplus */
>
> /* Supporting _Bool in C++ is a GCC extension.  */
> #define _Bool bool
>
> #if __cplusplus < 201103L
> /* Defining these macros in C++98 is a GCC extension.  */
> #define bool  bool
> #define false false
> #define true  true
> #endif
>
> #endif /* __cplusplus */

Change-Id: I42caab83ac6e4d5e5297376136a6bbe6f3d70818

diff --git a/compilerplugins/clang/casttovoid.cxx 
b/compilerplugins/clang/casttovoid.cxx
index 1ed7e4e19c78..e98388c8de7b 100644
--- a/compilerplugins/clang/casttovoid.cxx
+++ b/compilerplugins/clang/casttovoid.cxx
@@ -414,7 +414,7 @@ private:
 }
 
 bool isSharedCAndCppCode(VarDecl const * decl) const {
-auto loc = decl->getLocStart();
+auto loc = decl->getLocation();
 while (compiler.getSourceManager().isMacroArgExpansion(loc)) {
 loc = compiler.getSourceManager().getImmediateMacroCallerLoc(loc);
 }
diff --git a/vcl/unx/gtk/gtkdata.cxx b/vcl/unx/gtk/gtkdata.cxx
index c7eaa8da0039..c6f5925da80f 100644
--- a/vcl/unx/gtk/gtkdata.cxx
+++ b/vcl/unx/gtk/gtkdata.cxx
@@ -644,9 +644,8 @@ void GtkSalData::ErrorTrapPush()
 gdk_error_trap_push ();
 }
 
-bool GtkSalData::ErrorTrapPop( bool bIgnoreError )
+bool GtkSalData::ErrorTrapPop( bool )
 {
-(void) bIgnoreError;
 return gdk_error_trap_pop () != 0;
 }
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: compilerplugins/clang vcl/unx

2016-06-30 Thread Stephan Bergmann
 compilerplugins/clang/badstatics.cxx |2 ++
 vcl/unx/gtk/a11y/atkutil.cxx |   21 +
 2 files changed, 19 insertions(+), 4 deletions(-)

New commits:
commit 2ea01fb9002c4aceba724cabad663d6026381c0c
Author: Stephan Bergmann 
Date:   Thu Jun 30 12:53:40 2016 +0200

loplugin:badstatics: further (Linux-only) static only found with libc++

Change-Id: I048212e3feb3f548d5a65940dd71ccb71cade778

diff --git a/compilerplugins/clang/badstatics.cxx 
b/compilerplugins/clang/badstatics.cxx
index 4904e1a..12e6b93 100644
--- a/compilerplugins/clang/badstatics.cxx
+++ b/compilerplugins/clang/badstatics.cxx
@@ -148,6 +148,8 @@ public:
 || name == "theAddInAsyncTbl"
 // sc/source/core/tool/adiasync.cxx, would leak
 // ScAddInAsync* keys if that set is not empty at exit
+|| name == "g_aWindowList"
+//vcl/unx/gtk/a11y/atkutil.cxx, asserted empty at exit
) // these variables appear unproblematic
 {
 return true;
diff --git a/vcl/unx/gtk/a11y/atkutil.cxx b/vcl/unx/gtk/a11y/atkutil.cxx
index d722936..79d8013 100644
--- a/vcl/unx/gtk/a11y/atkutil.cxx
+++ b/vcl/unx/gtk/a11y/atkutil.cxx
@@ -44,6 +44,7 @@
 #include 
 #include 
 
+#include 
 #include 
 
 using namespace ::com::sun::star;
@@ -483,7 +484,19 @@ static void handle_toolbox_buttonchange(VclWindowEvent 
const *pEvent)
 
 /*/
 
-static std::set< VclPtr > g_aWindowList;
+namespace {
+
+struct WindowList {
+~WindowList() { assert(list.empty()); };
+// needs to be empty already on DeInitVCL, but at least check it's 
empty
+// on exit
+
+std::set< VclPtr > list;
+};
+
+WindowList g_aWindowList;
+
+}
 
 static void handle_get_focus(::VclWindowEvent const * pEvent)
 {
@@ -534,9 +547,9 @@ static void handle_get_focus(::VclWindowEvent const * 
pEvent)
 }
 else
 {
-if( g_aWindowList.find(pWindow) == g_aWindowList.end() )
+if( g_aWindowList.list.find(pWindow) == g_aWindowList.list.end() )
 {
-g_aWindowList.insert(pWindow);
+g_aWindowList.list.insert(pWindow);
 try
 {
 aDocumentFocusListener->attachRecursive(xAccessible, xContext, 
xStateSet);
@@ -628,7 +641,7 @@ void WindowEventHandler(void *, VclSimpleEvent& rEvent)
 break;
 
 case VCLEVENT_OBJECT_DYING:
-g_aWindowList.erase( static_cast< ::VclWindowEvent const * 
>()->GetWindow() );
+g_aWindowList.list.erase( static_cast< ::VclWindowEvent const * 
>()->GetWindow() );
 SAL_FALLTHROUGH;
 case VCLEVENT_TOOLBOX_HIGHLIGHTOFF:
 handle_toolbox_highlightoff(static_cast< ::VclWindowEvent const * 
>()->GetWindow());
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits