From 576973408d88c9bf6100c09cb10b84edcdc88094 Mon Sep 17 00:00:00 2001 From: Tomaž Vajngerl Date: Thu, 29 Jan 2015 18:07:06 +0900 Subject: Don't hide cursor for Android anymore - makes cursor events work Change-Id: I97caadf079c9a5e38c00c80fdc8185aee997f632 --- sw/source/core/crsr/crsrsh.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sw/source/core/crsr/crsrsh.cxx b/sw/source/core/crsr/crsrsh.cxx index a8cd152dcfb0..982a2ac99bbb 100644 --- a/sw/source/core/crsr/crsrsh.cxx +++ b/sw/source/core/crsr/crsrsh.cxx @@ -63,7 +63,7 @@ #include #include -#if defined(ANDROID) || defined(IOS) +#if defined(IOS) #include #endif @@ -2119,7 +2119,7 @@ void SwCrsrShell::ShowCrsr() { m_bSVCrsrVis = true; m_pCurCrsr->SetShowTxtInputFldOverlay( true ); -#if defined(ANDROID) || defined(IOS) +#if defined(IOS) // This was dummied out both for Android and for TiledLibreOffice (iOS) anyway // touch_ui_show_keyboard(); #endif @@ -2136,7 +2136,7 @@ void SwCrsrShell::HideCrsr() SET_CURR_SHELL( this ); m_pCurCrsr->SetShowTxtInputFldOverlay( false ); m_pVisCrsr->Hide(); -#if defined(ANDROID) || defined(IOS) +#if defined(IOS) // This was dummied out both for Android and for TiledLibreOffice (iOS) anyway // touch_ui_hide_keyboard(); #endif @@ -2634,7 +2634,7 @@ SwCrsrShell::SwCrsrShell( SwCrsrShell& rShell, vcl::Window *pInitWin ) m_pVisCrsr = new SwVisCrsr( this ); m_bMacroExecAllowed = rShell.IsMacroExecAllowed(); -#if defined(ANDROID) || defined(IOS) +#if defined(IOS) HideCrsr(); #endif } @@ -2685,7 +2685,7 @@ SwCrsrShell::SwCrsrShell( SwDoc& rDoc, vcl::Window *pInitWin, m_pVisCrsr = new SwVisCrsr( this ); m_bMacroExecAllowed = true; -#if defined(ANDROID) || defined(IOS) +#if defined(IOS) HideCrsr(); #endif } -- cgit