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:
@@ -17,8 +17,6 @@
|
|||||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
* 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/util/SearchOptions.hpp>
|
||||||
#include <com/sun/star/text/XTextRange.hpp>
|
#include <com/sun/star/text/XTextRange.hpp>
|
||||||
#include <hintids.hxx>
|
#include <hintids.hxx>
|
||||||
@@ -64,10 +62,6 @@
|
|||||||
|
|
||||||
#include <comcore.hrc>
|
#include <comcore.hrc>
|
||||||
|
|
||||||
#if !HAVE_FEATURE_DESKTOP
|
|
||||||
#include <touch/touch.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
using namespace com::sun::star;
|
using namespace com::sun::star;
|
||||||
using namespace util;
|
using namespace util;
|
||||||
|
|
||||||
@@ -2006,9 +2000,6 @@ void SwCrsrShell::ShowCrsr()
|
|||||||
{
|
{
|
||||||
m_bSVCrsrVis = sal_True;
|
m_bSVCrsrVis = sal_True;
|
||||||
UpdateCrsr();
|
UpdateCrsr();
|
||||||
#if !HAVE_FEATURE_DESKTOP
|
|
||||||
lo_show_keyboard();
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2021,9 +2012,6 @@ void SwCrsrShell::HideCrsr()
|
|||||||
// possibly reverse selected areas!!
|
// possibly reverse selected areas!!
|
||||||
SET_CURR_SHELL( this );
|
SET_CURR_SHELL( this );
|
||||||
m_pVisCrsr->Hide();
|
m_pVisCrsr->Hide();
|
||||||
#if !HAVE_FEATURE_DESKTOP
|
|
||||||
lo_hide_keyboard();
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user