diff options
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/crsr/crsrsh.cxx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sw/source/core/crsr/crsrsh.cxx b/sw/source/core/crsr/crsrsh.cxx index d5999cd591b0..fe0e61fdca37 100644 --- a/sw/source/core/crsr/crsrsh.cxx +++ b/sw/source/core/crsr/crsrsh.cxx @@ -17,6 +17,8 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <config_features.h> + #include <com/sun/star/util/SearchOptions.hpp> #include <com/sun/star/text/XTextRange.hpp> #include <hintids.hxx> @@ -62,6 +64,8 @@ #include <comcore.hrc> +#include <touch/touch.h> + using namespace com::sun::star; using namespace util; @@ -2000,6 +2004,9 @@ void SwCrsrShell::ShowCrsr() { m_bSVCrsrVis = sal_True; UpdateCrsr(); +#if !HAVE_FEATURE_DESKTOP + lo_show_keyboard(); +#endif } } @@ -2012,6 +2019,9 @@ void SwCrsrShell::HideCrsr() // possibly reverse selected areas!! SET_CURR_SHELL( this ); m_pVisCrsr->Hide(); +#if !HAVE_FEATURE_DESKTOP + lo_hide_keyboard(); +#endif } } |