[Libreoffice-commits] core.git: desktop/source
Michael Meeks
michael.meeks at collabora.com
Wed Jul 2 04:40:34 PDT 2014
desktop/source/lib/lokandroid.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 3a25b45122c374bee92bca5c417e47a27a9e57d2
Author: Michael Meeks <michael.meeks at collabora.com>
Date: Wed Jul 2 12:41:03 2014 +0100
WaE: couple of android / LibreOfficeKit bits.
Change-Id: I2ee864977d8bb266861af95fb64eb5c0852acee8
diff --git a/desktop/source/lib/lokandroid.cxx b/desktop/source/lib/lokandroid.cxx
index c23415f..d796342 100644
--- a/desktop/source/lib/lokandroid.cxx
+++ b/desktop/source/lib/lokandroid.cxx
@@ -19,7 +19,7 @@
#include <LibreOfficeKit/LibreOfficeKit.h>
-#define LOGI(...) ((void)__android_log_print(ANDROID_LOG_INFO, "LibreOfficeKit", __VA_ARGS__))
+// #define LOGI(...) ((void)__android_log_print(ANDROID_LOG_INFO, "LibreOfficeKit", __VA_ARGS__))
/* LibreOfficeKit */
@@ -99,7 +99,7 @@ extern "C" SAL_JNI_EXPORT void JNICALL Java_org_libreoffice_kit_Document_paintTi
LibreOfficeKitDocument* pDocument = getHandle<LibreOfficeKitDocument>(pEnv, aObject);
unsigned char* buffer = (unsigned char*) pEnv->GetDirectBufferAddress(aByteBuffer);
- jlong capacity = pEnv->GetDirectBufferCapacity(aByteBuffer);
+// jlong capacity = pEnv->GetDirectBufferCapacity(aByteBuffer);
int nStride = 0;
pDocument->pClass->paintTile(pDocument, buffer, nCanvasWidth, nCanvasHeight, &nStride, nTilePosX, nTilePosY, nTileWidth, nTileHeight);
(void) nStride;
More information about the Libreoffice-commits
mailing list