diff options
author | Tor Lillqvist <tml@collabora.com> | 2015-03-20 13:12:08 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2015-03-20 13:14:44 +0200 |
commit | 7edd92c5576cc358815eb21634b3c27a43990c20 (patch) | |
tree | ff6b3fef1be2a5efe349003811a266d0520c89ac /desktop/source/lib/lokandroid.cxx | |
parent | Fix various loplugin warnings (diff) | |
download | core-7edd92c5576cc358815eb21634b3c27a43990c20.tar.gz core-7edd92c5576cc358815eb21634b3c27a43990c20.zip |
Drop paintTile's row stride output parameter that nobody is interested in
Change-Id: I166b4b713c2ea52c62c52045bb2073b6d84c1547
Diffstat (limited to 'desktop/source/lib/lokandroid.cxx')
-rw-r--r-- | desktop/source/lib/lokandroid.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/desktop/source/lib/lokandroid.cxx b/desktop/source/lib/lokandroid.cxx index c23fd3f0cbd3..5f7eab4d2fb7 100644 --- a/desktop/source/lib/lokandroid.cxx +++ b/desktop/source/lib/lokandroid.cxx @@ -220,9 +220,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); - int nStride = 0; - pDocument->pClass->paintTile(pDocument, buffer, nCanvasWidth, nCanvasHeight, &nStride, nTilePosX, nTilePosY, nTileWidth, nTileHeight); - (void) nStride; + pDocument->pClass->paintTile(pDocument, buffer, nCanvasWidth, nCanvasHeight, nTilePosX, nTilePosY, nTileWidth, nTileHeight); } extern "C" SAL_JNI_EXPORT jlong JNICALL Java_org_libreoffice_kit_Document_getDocumentHeight |