[Libreoffice-commits] core.git: sc/source
Jürgen Schmidt
jsc at apache.org
Fri Dec 20 08:27:17 PST 2013
sc/source/ui/unoobj/viewuno.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit fe506f34f2dccb6562935fe4dfbc1fe6d609dec8
Author: Jürgen Schmidt <jsc at apache.org>
Date: Fri Dec 20 13:56:32 2013 +0000
Resolves: #i91439# copy key modifiers as well
Patch By: hanya
Review By: jsc
(cherry picked from commit 5dfcb178f89532a92b4565739d3445a56abfd095)
Change-Id: Icc593172c0ea2243d9ceffb0a1cd11ec515a137a
diff --git a/sc/source/ui/unoobj/viewuno.cxx b/sc/source/ui/unoobj/viewuno.cxx
index 6570476..1b9319f 100644
--- a/sc/source/ui/unoobj/viewuno.cxx
+++ b/sc/source/ui/unoobj/viewuno.cxx
@@ -1212,6 +1212,7 @@ sal_Bool ScTabViewObj::MousePressed( const awt::MouseEvent& e )
aMouseEvent.ClickCount = e.ClickCount;
aMouseEvent.PopupTrigger = e.PopupTrigger;
aMouseEvent.Target = xTarget;
+ aMouseEvent.Modifiers = e.Modifiers;
for (XMouseClickHandlerVector::iterator it = aMouseClickHandlers.begin(); it != aMouseClickHandlers.end(); )
{
@@ -1326,6 +1327,7 @@ sal_Bool ScTabViewObj::MouseReleased( const awt::MouseEvent& e )
aMouseEvent.ClickCount = e.ClickCount;
aMouseEvent.PopupTrigger = e.PopupTrigger;
aMouseEvent.Target = xTarget;
+ aMouseEvent.Modifiers = e.Modifiers;
for (XMouseClickHandlerVector::iterator it = aMouseClickHandlers.begin(); it != aMouseClickHandlers.end(); )
{
More information about the Libreoffice-commits
mailing list