Kaydet (Commit) 6cd8e924 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Add a SAL_INFO

Change-Id: I57702d2d848181f2df4af3fc0d1ce8cbed1455f9
üst 01620615
...@@ -979,6 +979,7 @@ Java_org_libreoffice_experimental_desktop_Desktop_zoom(JNIEnv * /* env */, ...@@ -979,6 +979,7 @@ Java_org_libreoffice_experimental_desktop_Desktop_zoom(JNIEnv * /* env */,
{ {
SalFrame *pFocus = AndroidSalInstance::getInstance()->getFocusFrame(); SalFrame *pFocus = AndroidSalInstance::getInstance()->getFocusFrame();
if (pFocus) { if (pFocus) {
SAL_INFO( "vcl.androidinst", "zoom: " << scale << "@(" << x << "," << y << ")" );
ZoomEvent aEvent( Point( x, y ), scale); ZoomEvent aEvent( Point( x, y ), scale);
Application::PostZoomEvent(VCLEVENT_WINDOW_ZOOM, pFocus->GetWindow(), &aEvent); Application::PostZoomEvent(VCLEVENT_WINDOW_ZOOM, pFocus->GetWindow(), &aEvent);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment