Nah, SwCrsrShell::{Show,Hide}Crsr() are the wrong places to show/hide keyboard

At least I think so. Something more complicated is needed, or at least
lots more experimentation.

Change-Id: If511697de12ca8576720d67c80113c579eb66741
This commit is contained in:
Tor Lillqvist
2013-04-13 13:00:14 +03:00
parent 410ad97b30
commit 860d6a1995

View File

@@ -17,8 +17,6 @@
* 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>
@@ -64,10 +62,6 @@
#include <comcore.hrc>
#if !HAVE_FEATURE_DESKTOP
#include <touch/touch.h>
#endif
using namespace com::sun::star;
using namespace util;
@@ -2006,9 +2000,6 @@ void SwCrsrShell::ShowCrsr()
{
m_bSVCrsrVis = sal_True;
UpdateCrsr();
#if !HAVE_FEATURE_DESKTOP
lo_show_keyboard();
#endif
}
}
@@ -2021,9 +2012,6 @@ void SwCrsrShell::HideCrsr()
// possibly reverse selected areas!!
SET_CURR_SHELL( this );
m_pVisCrsr->Hide();
#if !HAVE_FEATURE_DESKTOP
lo_hide_keyboard();
#endif
}
}