[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-5.3' - 2 commits - include/sfx2 include/vcl sc/source sd/source sfx2/source sw/source vcl/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Fri Mar 15 19:33:28 UTC 2019
include/sfx2/lokhelper.hxx | 14 ++++
include/vcl/ITiledRenderable.hxx | 52 --------------
sc/source/ui/unoobj/docuno.cxx | 42 ------------
sd/source/ui/unoidl/unomodel.cxx | 44 +-----------
sfx2/source/view/lokcharthelper.cxx | 24 ------
sfx2/source/view/lokhelper.cxx | 126 ++++++++++++++++++++++++++++++++++++
sw/source/uibase/uno/unotxdoc.cxx | 45 ------------
vcl/source/app/ITiledRenderable.cxx | 1
8 files changed, 152 insertions(+), 196 deletions(-)
New commits:
commit e55b17786719e6e6a6346e6e2ea0a5928b70aaf1
Author: Michael Meeks <michael.meeks at collabora.com>
AuthorDate: Thu Mar 14 14:58:15 2019 +0100
Commit: Michael Meeks <michael.meeks at collabora.com>
CommitDate: Fri Mar 15 18:19:53 2019 +0100
LOK: switch view before event emission if necessary.
Unfortunately we still have large amounts of global state, and key
event handling in some corners requires this in addition to the window.
Change-Id: Id817030536f9cb45dbc39551dfb5332fc6998c62
Reviewed-on: https://gerrit.libreoffice.org/69269
Reviewed-by: Jan Holesovsky <kendy at collabora.com>
Tested-by: Jan Holesovsky <kendy at collabora.com>
diff --git a/sfx2/source/view/lokhelper.cxx b/sfx2/source/view/lokhelper.cxx
index f18d193a5de8..9060fa05778a 100644
--- a/sfx2/source/view/lokhelper.cxx
+++ b/sfx2/source/view/lokhelper.cxx
@@ -217,6 +217,7 @@ namespace
{
struct LOKAsyncEventData
{
+ int mnView; // Window is not enough.
VclPtr<vcl::Window> mpWindow;
sal_uLong mnEvent;
MouseEvent maMouseEvent;
@@ -229,6 +230,13 @@ namespace
if (pLOKEv->mpWindow->IsDisposed())
return;
+ int nView = SfxLokHelper::getView(nullptr);
+ if (nView != pLOKEv->mnView)
+ {
+ SAL_INFO("sfx.view", "LOK - view mismatch " << nView << " vs. " << pLOKEv->mnView);
+ SfxLokHelper::setView(pLOKEv->mnView);
+ }
+
switch (pLOKEv->mnEvent)
{
case VCLEVENT_WINDOW_KEYINPUT:
@@ -275,6 +283,7 @@ namespace
return;
}
+ pEvent->mnView = SfxLokHelper::getView(nullptr);
Application::PostUserEvent(Link<void*, void>(pEvent, LOKPostAsyncEvent));
}
}
commit 5f55b69773e89d4013f9c1f68d6c362bfe67e911
Author: Michael Meeks <michael.meeks at collabora.com>
AuthorDate: Wed Mar 13 17:18:11 2019 +0100
Commit: Michael Meeks <michael.meeks at collabora.com>
CommitDate: Fri Mar 15 18:19:52 2019 +0100
LOK: re-factor async key & mouse event re-posting.
A fairly pure re-factor, although adding disposed window
checking to a number of sites with a warning.
Moves the event emission helpers from VCL into SfxLokHelper: we're
going to need more view / integration here next anyway.
Removes lots of copy/paste horror.
Change-Id: I279c11a1d8093b4feeeb6b7850f500806fff80dd
Reviewed-on: https://gerrit.libreoffice.org/69218
Tested-by: Jenkins
Reviewed-by: Michael Meeks <michael.meeks at collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/69268
Reviewed-by: Jan Holesovsky <kendy at collabora.com>
Tested-by: Jan Holesovsky <kendy at collabora.com>
diff --git a/include/sfx2/lokhelper.hxx b/include/sfx2/lokhelper.hxx
index ddad7d91472f..e7747f6c7c0f 100644
--- a/include/sfx2/lokhelper.hxx
+++ b/include/sfx2/lokhelper.hxx
@@ -54,6 +54,20 @@ public:
static void notifyVisCursorInvalidation(OutlinerViewShell const* pThisView, const OString& rRectangle);
/// Notifies all views with the given type and payload.
static void notifyAllViews(int nType, const OString& rPayload);
+
+ /// Notify about the editing context change.
+ static void notifyContextChange(SfxViewShell const* pViewShell, const OUString& aApplication, const OUString& aContext);
+
+ /// Helper for posting async key event
+ static void postKeyEventAsync(const VclPtr<vcl::Window> &xWindow,
+ int nType, int nCharCode, int nKeyCode);
+
+ /// Helper for posting async mouse event
+ static void postMouseEventAsync(const VclPtr<vcl::Window> &xWindow,
+ int nType, const Point &rPos,
+ int nCount, MouseEventModifiers aModifiers,
+ int nButtons, int nModifier);
+
/// A special value to signify 'infinity'.
/// This value is chosen such that sal_Int32 will not overflow when manipulated.
static const long MaxTwips = 1e9;
diff --git a/include/vcl/ITiledRenderable.hxx b/include/vcl/ITiledRenderable.hxx
index 99a1579dde1a..b5ba09fbe9a0 100644
--- a/include/vcl/ITiledRenderable.hxx
+++ b/include/vcl/ITiledRenderable.hxx
@@ -90,56 +90,6 @@ protected:
int mnTilePixelWidth, mnTilePixelHeight;
int mnTileTwipWidth, mnTileTwipHeight;
public:
- struct LOKAsyncEventData
- {
- VclPtr<vcl::Window> mpWindow;
- sal_uLong mnEvent;
- MouseEvent maMouseEvent;
- KeyEvent maKeyEvent;
- };
-
- static void LOKPostAsyncEvent(void* pEv, void*)
- {
- LOKAsyncEventData* pLOKEv = static_cast<LOKAsyncEventData*>(pEv);
- if (pLOKEv->mpWindow->IsDisposed())
- return;
-
- switch (pLOKEv->mnEvent)
- {
- case VCLEVENT_WINDOW_KEYINPUT:
- pLOKEv->mpWindow->KeyInput(pLOKEv->maKeyEvent);
- break;
- case VCLEVENT_WINDOW_KEYUP:
- pLOKEv->mpWindow->KeyUp(pLOKEv->maKeyEvent);
- break;
- case VCLEVENT_WINDOW_MOUSEBUTTONDOWN:
- pLOKEv->mpWindow->LogicMouseButtonDown(pLOKEv->maMouseEvent);
- // Invoke the context menu
- if (pLOKEv->maMouseEvent.GetButtons() & MOUSE_RIGHT)
- {
- const CommandEvent aCEvt(pLOKEv->maMouseEvent.GetPosPixel(), CommandEventId::ContextMenu, true, nullptr);
- pLOKEv->mpWindow->Command(aCEvt);
- }
- break;
- case VCLEVENT_WINDOW_MOUSEBUTTONUP:
- pLOKEv->mpWindow->LogicMouseButtonUp(pLOKEv->maMouseEvent);
-
- // sometimes MouseButtonDown captures mouse and starts tracking, and VCL
- // will not take care of releasing that with tiled rendering
- if (pLOKEv->mpWindow->IsTracking())
- pLOKEv->mpWindow->EndTracking();
-
- break;
- case VCLEVENT_WINDOW_MOUSEMOVE:
- pLOKEv->mpWindow->LogicMouseMove(pLOKEv->maMouseEvent);
- break;
- default:
- assert(false);
- break;
- }
-
- delete pLOKEv;
- }
virtual ~ITiledRenderable();
@@ -381,8 +331,6 @@ public:
{
return OUString();
}
-
-
};
} // namespace vcl
diff --git a/sc/source/ui/unoobj/docuno.cxx b/sc/source/ui/unoobj/docuno.cxx
index 8638ac08406f..dd2d9f96a17a 100644
--- a/sc/source/ui/unoobj/docuno.cxx
+++ b/sc/source/ui/unoobj/docuno.cxx
@@ -615,27 +615,7 @@ Size ScModelObj::getDocumentSize()
void ScModelObj::postKeyEvent(int nType, int nCharCode, int nKeyCode)
{
SolarMutexGuard aGuard;
-
- VclPtr<vcl::Window> pWindow = getDocWindow();
- if (!pWindow)
- return;
-
- LOKAsyncEventData* pLOKEv = new LOKAsyncEventData;
- pLOKEv->mpWindow = pWindow;
- switch (nType)
- {
- case LOK_KEYEVENT_KEYINPUT:
- pLOKEv->mnEvent = VCLEVENT_WINDOW_KEYINPUT;
- break;
- case LOK_KEYEVENT_KEYUP:
- pLOKEv->mnEvent = VCLEVENT_WINDOW_KEYUP;
- break;
- default:
- assert(false);
- }
-
- pLOKEv->maKeyEvent = KeyEvent(nCharCode, nKeyCode, 0);
- Application::PostUserEvent(Link<void*, void>(pLOKEv, ITiledRenderable::LOKPostAsyncEvent));
+ SfxLokHelper::postKeyEventAsync(getDocWindow(), nType, nCharCode, nKeyCode);
}
void ScModelObj::postMouseEvent(int nType, int nX, int nY, int nCount, int nButtons, int nModifier)
@@ -670,29 +650,11 @@ void ScModelObj::postMouseEvent(int nType, int nX, int nY, int nCount, int nButt
return;
}
- LOKAsyncEventData* pLOKEv = new LOKAsyncEventData;
- pLOKEv->mpWindow = pGridWindow;
- switch (nType)
- {
- case LOK_MOUSEEVENT_MOUSEBUTTONDOWN:
- pLOKEv->mnEvent = VCLEVENT_WINDOW_MOUSEBUTTONDOWN;
- break;
- case LOK_MOUSEEVENT_MOUSEBUTTONUP:
- pLOKEv->mnEvent = VCLEVENT_WINDOW_MOUSEBUTTONUP;
- break;
- case LOK_MOUSEEVENT_MOUSEMOVE:
- pLOKEv->mnEvent = VCLEVENT_WINDOW_MOUSEMOVE;
- break;
- default:
- assert(false);
- }
-
// Calc operates in pixels...
const Point aPos(nX * pViewData->GetPPTX(), nY * pViewData->GetPPTY());
- pLOKEv->maMouseEvent = MouseEvent(aPos, nCount,
+ SfxLokHelper::postMouseEventAsync(pGridWindow, nType, aPos, nCount,
MouseEventModifiers::SIMPLECLICK,
nButtons, nModifier);
- Application::PostUserEvent(Link<void*, void>(pLOKEv, ITiledRenderable::LOKPostAsyncEvent));
}
void ScModelObj::setTextSelection(int nType, int nX, int nY)
diff --git a/sd/source/ui/unoidl/unomodel.cxx b/sd/source/ui/unoidl/unomodel.cxx
index 1ef0abf95111..93d429535149 100644
--- a/sd/source/ui/unoidl/unomodel.cxx
+++ b/sd/source/ui/unoidl/unomodel.cxx
@@ -43,6 +43,7 @@
#include <unopool.hxx>
#include <sfx2/dispatch.hxx>
#include <sfx2/bindings.hxx>
+#include <sfx2/lokhelper.hxx>
#include <vcl/commandevent.hxx>
#include <vcl/svapp.hxx>
#include <vcl/settings.hxx>
@@ -2511,27 +2512,7 @@ void SdXImpressDocument::initializeForTiledRendering(const css::uno::Sequence<cs
void SdXImpressDocument::postKeyEvent(int nType, int nCharCode, int nKeyCode)
{
SolarMutexGuard aGuard;
-
- VclPtr<vcl::Window> pWindow = getDocWindow();
- if (!pWindow)
- return;
-
- LOKAsyncEventData* pLOKEv = new LOKAsyncEventData;
- pLOKEv->mpWindow = pWindow;
- switch (nType)
- {
- case LOK_KEYEVENT_KEYINPUT:
- pLOKEv->mnEvent = VCLEVENT_WINDOW_KEYINPUT;
- break;
- case LOK_KEYEVENT_KEYUP:
- pLOKEv->mnEvent = VCLEVENT_WINDOW_KEYUP;
- break;
- default:
- assert(false);
- }
-
- pLOKEv->maKeyEvent = KeyEvent(nCharCode, nKeyCode, 0);
- Application::PostUserEvent(Link<void*, void>(pLOKEv, ITiledRenderable::LOKPostAsyncEvent));
+ SfxLokHelper::postKeyEventAsync(getDocWindow(), nType, nCharCode, nKeyCode);
}
void SdXImpressDocument::postMouseEvent(int nType, int nX, int nY, int nCount, int nButtons, int nModifier)
@@ -2559,28 +2540,11 @@ void SdXImpressDocument::postMouseEvent(int nType, int nX, int nY, int nCount, i
return;
}
- LOKAsyncEventData* pLOKEv = new LOKAsyncEventData;
- pLOKEv->mpWindow = pViewShell->GetActiveWindow();
- switch (nType)
- {
- case LOK_MOUSEEVENT_MOUSEBUTTONDOWN:
- pLOKEv->mnEvent = VCLEVENT_WINDOW_MOUSEBUTTONDOWN;
- break;
- case LOK_MOUSEEVENT_MOUSEBUTTONUP:
- pLOKEv->mnEvent = VCLEVENT_WINDOW_MOUSEBUTTONUP;
- break;
- case LOK_MOUSEEVENT_MOUSEMOVE:
- pLOKEv->mnEvent = VCLEVENT_WINDOW_MOUSEMOVE;
- break;
- default:
- assert(false);
- }
-
const Point aPos(Point(convertTwipToMm100(nX), convertTwipToMm100(nY)));
- pLOKEv->maMouseEvent = MouseEvent(aPos, nCount,
+ SfxLokHelper::postMouseEventAsync(pViewShell->GetActiveWindow(), nType,
+ aPos, nCount,
MouseEventModifiers::SIMPLECLICK,
nButtons, nModifier);
- Application::PostUserEvent(Link<void*, void>(pLOKEv, ITiledRenderable::LOKPostAsyncEvent));
}
void SdXImpressDocument::setTextSelection(int nType, int nX, int nY)
diff --git a/sfx2/source/view/lokcharthelper.cxx b/sfx2/source/view/lokcharthelper.cxx
index 785411de7de2..85b4c58c313d 100644
--- a/sfx2/source/view/lokcharthelper.cxx
+++ b/sfx2/source/view/lokcharthelper.cxx
@@ -273,33 +273,15 @@ bool LokChartHelper::postMouseEvent(int nType, int nX, int nY,
Rectangle rChartBBox = GetChartBoundingBox();
if (rChartBBox.IsInside(aMousePos))
{
- vcl::ITiledRenderable::LOKAsyncEventData* pLOKEv = new vcl::ITiledRenderable::LOKAsyncEventData;
- pLOKEv->mpWindow = pChartWindow;
- switch (nType)
- {
- case LOK_MOUSEEVENT_MOUSEBUTTONDOWN:
- pLOKEv->mnEvent = VCLEVENT_WINDOW_MOUSEBUTTONDOWN;
- break;
- case LOK_MOUSEEVENT_MOUSEBUTTONUP:
- pLOKEv->mnEvent = VCLEVENT_WINDOW_MOUSEBUTTONUP;
- break;
- case LOK_MOUSEEVENT_MOUSEMOVE:
- pLOKEv->mnEvent = VCLEVENT_WINDOW_MOUSEMOVE;
- break;
- default:
- assert(false);
- }
-
int nChartWinX = nX - rChartBBox.Left();
int nChartWinY = nY - rChartBBox.Top();
// chart window expects pixels, but the conversion factor
// can depend on the client zoom
Point aPos(nChartWinX * fScaleX, nChartWinY * fScaleY);
- pLOKEv->maMouseEvent = MouseEvent(aPos, nCount,
- MouseEventModifiers::SIMPLECLICK, nButtons, nModifier);
-
- Application::PostUserEvent(Link<void*, void>(pLOKEv, vcl::ITiledRenderable::LOKPostAsyncEvent));
+ SfxLokHelper::postMouseEventAsync(pChartWindow, nType, aPos, nCount,
+ MouseEventModifiers::SIMPLECLICK,
+ nButtons, nModifier);
return true;
}
diff --git a/sfx2/source/view/lokhelper.cxx b/sfx2/source/view/lokhelper.cxx
index e74c4a238e20..f18d193a5de8 100644
--- a/sfx2/source/view/lokhelper.cxx
+++ b/sfx2/source/view/lokhelper.cxx
@@ -12,6 +12,7 @@
#include <com/sun/star/frame/Desktop.hpp>
#include <comphelper/processfactory.hxx>
+#include <vcl/svapp.hxx>
#include <sfx2/viewsh.hxx>
#include <sfx2/request.hxx>
#include <sfx2/viewfrm.hxx>
@@ -212,4 +213,120 @@ void SfxLokHelper::notifyAllViews(int nType, const OString& rPayload)
}
}
+namespace
+{
+ struct LOKAsyncEventData
+ {
+ VclPtr<vcl::Window> mpWindow;
+ sal_uLong mnEvent;
+ MouseEvent maMouseEvent;
+ KeyEvent maKeyEvent;
+ };
+
+ void LOKPostAsyncEvent(void* pEv, void*)
+ {
+ LOKAsyncEventData* pLOKEv = static_cast<LOKAsyncEventData*>(pEv);
+ if (pLOKEv->mpWindow->IsDisposed())
+ return;
+
+ switch (pLOKEv->mnEvent)
+ {
+ case VCLEVENT_WINDOW_KEYINPUT:
+ pLOKEv->mpWindow->KeyInput(pLOKEv->maKeyEvent);
+ break;
+ case VCLEVENT_WINDOW_KEYUP:
+ pLOKEv->mpWindow->KeyUp(pLOKEv->maKeyEvent);
+ break;
+ case VCLEVENT_WINDOW_MOUSEBUTTONDOWN:
+ pLOKEv->mpWindow->LogicMouseButtonDown(pLOKEv->maMouseEvent);
+ // Invoke the context menu
+ if (pLOKEv->maMouseEvent.GetButtons() & MOUSE_RIGHT)
+ {
+ const CommandEvent aCEvt(pLOKEv->maMouseEvent.GetPosPixel(), CommandEventId::ContextMenu, true, nullptr);
+ pLOKEv->mpWindow->Command(aCEvt);
+ }
+ break;
+ case VCLEVENT_WINDOW_MOUSEBUTTONUP:
+ pLOKEv->mpWindow->LogicMouseButtonUp(pLOKEv->maMouseEvent);
+
+ // sometimes MouseButtonDown captures mouse and starts tracking, and VCL
+ // will not take care of releasing that with tiled rendering
+ if (pLOKEv->mpWindow->IsTracking())
+ pLOKEv->mpWindow->EndTracking();
+
+ break;
+ case VCLEVENT_WINDOW_MOUSEMOVE:
+ pLOKEv->mpWindow->LogicMouseMove(pLOKEv->maMouseEvent);
+ break;
+ default:
+ assert(false);
+ break;
+ }
+
+ delete pLOKEv;
+ }
+
+ void postEventAsync(LOKAsyncEventData *pEvent)
+ {
+ if (!pEvent->mpWindow || pEvent->mpWindow->IsDisposed())
+ {
+ SAL_WARN("vcl", "Async event post - but no valid window as destination " << pEvent->mpWindow.get());
+ delete pEvent;
+ return;
+ }
+
+ Application::PostUserEvent(Link<void*, void>(pEvent, LOKPostAsyncEvent));
+ }
+}
+
+void SfxLokHelper::postKeyEventAsync(const VclPtr<vcl::Window> &xWindow,
+ int nType, int nCharCode, int nKeyCode)
+{
+ LOKAsyncEventData* pLOKEv = new LOKAsyncEventData;
+ switch (nType)
+ {
+ case LOK_KEYEVENT_KEYINPUT:
+ pLOKEv->mnEvent = VCLEVENT_WINDOW_KEYINPUT;
+ break;
+ case LOK_KEYEVENT_KEYUP:
+ pLOKEv->mnEvent = VCLEVENT_WINDOW_KEYUP;
+ break;
+ default:
+ assert(false);
+ }
+ pLOKEv->maKeyEvent = KeyEvent(nCharCode, nKeyCode, 0);
+ pLOKEv->mpWindow = xWindow;
+ postEventAsync(pLOKEv);
+}
+
+void SfxLokHelper::postMouseEventAsync(const VclPtr<vcl::Window> &xWindow,
+ int nType, const Point &rPos,
+ int nCount, MouseEventModifiers aModifiers,
+ int nButtons, int nModifier)
+{
+ LOKAsyncEventData* pLOKEv = new LOKAsyncEventData;
+ switch (nType)
+ {
+ case LOK_MOUSEEVENT_MOUSEBUTTONDOWN:
+ pLOKEv->mnEvent = VCLEVENT_WINDOW_MOUSEBUTTONDOWN;
+ break;
+ case LOK_MOUSEEVENT_MOUSEBUTTONUP:
+ pLOKEv->mnEvent = VCLEVENT_WINDOW_MOUSEBUTTONUP;
+ break;
+ case LOK_MOUSEEVENT_MOUSEMOVE:
+ pLOKEv->mnEvent = VCLEVENT_WINDOW_MOUSEMOVE;
+ break;
+ default:
+ assert(false);
+ }
+
+ // no reason - just always true so far.
+ assert (aModifiers == MouseEventModifiers::SIMPLECLICK);
+
+ pLOKEv->maMouseEvent = MouseEvent(rPos, nCount,
+ aModifiers, nButtons, nModifier);
+ pLOKEv->mpWindow = xWindow;
+ postEventAsync(pLOKEv);
+}
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/uibase/uno/unotxdoc.cxx b/sw/source/uibase/uno/unotxdoc.cxx
index c5aafda8c191..9857ac538c66 100644
--- a/sw/source/uibase/uno/unotxdoc.cxx
+++ b/sw/source/uibase/uno/unotxdoc.cxx
@@ -3503,27 +3503,7 @@ void SwXTextDocument::initializeForTiledRendering(const css::uno::Sequence<css::
void SwXTextDocument::postKeyEvent(int nType, int nCharCode, int nKeyCode)
{
SolarMutexGuard aGuard;
-
- VclPtr<vcl::Window> pWindow = getDocWindow();
- if (!pWindow || pWindow->IsDisposed())
- return;
-
- LOKAsyncEventData* pLOKEv = new LOKAsyncEventData;
- pLOKEv->mpWindow = pWindow;
- switch (nType)
- {
- case LOK_KEYEVENT_KEYINPUT:
- pLOKEv->mnEvent = VCLEVENT_WINDOW_KEYINPUT;
- break;
- case LOK_KEYEVENT_KEYUP:
- pLOKEv->mnEvent = VCLEVENT_WINDOW_KEYUP;
- break;
- default:
- assert(false);
- }
-
- pLOKEv->maKeyEvent = KeyEvent(nCharCode, nKeyCode, 0);
- Application::PostUserEvent(Link<void*, void>(pLOKEv, ITiledRenderable::LOKPostAsyncEvent));
+ SfxLokHelper::postKeyEventAsync(getDocWindow(), nType, nCharCode, nKeyCode);
}
void SwXTextDocument::postMouseEvent(int nType, int nX, int nY, int nCount, int nButtons, int nModifier)
@@ -3551,29 +3531,10 @@ void SwXTextDocument::postMouseEvent(int nType, int nX, int nY, int nCount, int
}
SwEditWin& rEditWin = pDocShell->GetView()->GetEditWin();
-
-
- LOKAsyncEventData* pLOKEv = new LOKAsyncEventData;
- pLOKEv->mpWindow = &rEditWin;
- switch (nType)
- {
- case LOK_MOUSEEVENT_MOUSEBUTTONDOWN:
- pLOKEv->mnEvent = VCLEVENT_WINDOW_MOUSEBUTTONDOWN;
- break;
- case LOK_MOUSEEVENT_MOUSEBUTTONUP:
- pLOKEv->mnEvent = VCLEVENT_WINDOW_MOUSEBUTTONUP;
- break;
- case LOK_MOUSEEVENT_MOUSEMOVE:
- pLOKEv->mnEvent = VCLEVENT_WINDOW_MOUSEMOVE;
- break;
- default:
- assert(false);
- }
-
- pLOKEv->maMouseEvent = MouseEvent(Point(nX, nY), nCount,
+ SfxLokHelper::postMouseEventAsync(&rEditWin, nType,
+ Point(nX, nY), nCount,
MouseEventModifiers::SIMPLECLICK,
nButtons, nModifier);
- Application::PostUserEvent(Link<void*, void>(pLOKEv, ITiledRenderable::LOKPostAsyncEvent));
}
void SwXTextDocument::setTextSelection(int nType, int nX, int nY)
diff --git a/vcl/source/app/ITiledRenderable.cxx b/vcl/source/app/ITiledRenderable.cxx
index 3eb5dcd2da6e..fcac030c136b 100644
--- a/vcl/source/app/ITiledRenderable.cxx
+++ b/vcl/source/app/ITiledRenderable.cxx
@@ -5,7 +5,6 @@
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
*/
#include <vcl/ITiledRenderable.hxx>
More information about the Libreoffice-commits
mailing list