summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2014-07-02 12:41:03 +0100
committerMichael Meeks <michael.meeks@collabora.com>2014-07-02 12:41:03 +0100
commit3a25b45122c374bee92bca5c417e47a27a9e57d2 (patch)
treefbc1bfed86cbdff47b74d1161a56f1f85c7ceae2 /desktop
parentbcdd1f3179ab6f4ae72c6ac5b82f7fb4d2e54c16 (diff)
WaE: couple of android / LibreOfficeKit bits.
Change-Id: I2ee864977d8bb266861af95fb64eb5c0852acee8
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/lib/lokandroid.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/source/lib/lokandroid.cxx b/desktop/source/lib/lokandroid.cxx
index c23415feed6f..d796342c539b 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;