kbrown / rpms / libreoffice

Forked from rpms/libreoffice 2 years ago
Clone

Blame SOURCES/0252-add-LOKit-interface-missing-description.patch

f325b2
From 21af7ed50479037d9574d5a8061b4ca98065c702 Mon Sep 17 00:00:00 2001
f325b2
From: =?UTF-8?q?Toma=C5=BE=20Vajngerl?= <tomaz.vajngerl@collabora.com>
f325b2
Date: Sun, 1 Nov 2015 22:37:12 +0100
f325b2
Subject: [PATCH 252/398] add LOKit interface missing description
f325b2
f325b2
Change-Id: Ia9e33704cfffd2094606e6fd166796bd8cd5d4fe
f325b2
(cherry picked from commit 3d34594138c42ec4b253a25c403ef9346265a28f)
f325b2
---
f325b2
 include/LibreOfficeKit/LibreOfficeKit.hxx | 5 +++--
f325b2
 1 file changed, 3 insertions(+), 2 deletions(-)
f325b2
f325b2
diff --git a/include/LibreOfficeKit/LibreOfficeKit.hxx b/include/LibreOfficeKit/LibreOfficeKit.hxx
f325b2
index 0e83a63c3fe5..6673cd731eb7 100644
f325b2
--- a/include/LibreOfficeKit/LibreOfficeKit.hxx
f325b2
+++ b/include/LibreOfficeKit/LibreOfficeKit.hxx
f325b2
@@ -129,8 +129,7 @@ public:
f325b2
      * @param nTileWidth logical width of the rendered rectangle, in TWIPs.
f325b2
      * @param nTileHeight logical height of the rendered rectangle, in TWIPs.
f325b2
      */
f325b2
-    inline void paintTile(
f325b2
-                          unsigned char* pBuffer,
f325b2
+    inline void paintTile(unsigned char* pBuffer,
f325b2
                           const int nCanvasWidth,
f325b2
                           const int nCanvasHeight,
f325b2
                           const int nTilePosX,
f325b2
@@ -192,6 +191,8 @@ public:
f325b2
      * @param nX horizontal position in document coordinates
f325b2
      * @param nY vertical position in document coordinates
f325b2
      * @param nCount number of clicks: 1 for single click, 2 for double click
f325b2
+     * @param nButtons: which mouse buttons: 1 for left, 2 for middle, 4 right
f325b2
+     * @param nModifier: which keyboard modifier: (see include/rsc/rsc-vcl-shared-types.hxx for possible values)
f325b2
      */
f325b2
     inline void postMouseEvent(int nType, int nX, int nY, int nCount, int nButtons, int nModifier)
f325b2
     {
f325b2
-- 
f325b2
2.12.0
f325b2