summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/crsr/viscrs.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/sw/source/core/crsr/viscrs.cxx b/sw/source/core/crsr/viscrs.cxx
index 38cb79e8ef52..724118500111 100644
--- a/sw/source/core/crsr/viscrs.cxx
+++ b/sw/source/core/crsr/viscrs.cxx
@@ -90,7 +90,10 @@ void SwVisCrsr::Show()
// display at all?
if( m_pCrsrShell->VisArea().IsOver( m_pCrsrShell->m_aCharRect ) || m_pCrsrShell->isTiledRendering() )
+ {
+ m_pCrsrShell->libreOfficeKitCallback(LOK_CALLBACK_CURSOR_VISIBLE, OString::boolean(true).getStr());
_SetPosAndShow();
+ }
}
}
@@ -102,6 +105,9 @@ void SwVisCrsr::Hide()
if( m_aTextCrsr.IsVisible() ) // Shouldn't the flags be in effect?
m_aTextCrsr.Hide();
+
+ if( m_pCrsrShell->isTiledRendering() )
+ m_pCrsrShell->libreOfficeKitCallback(LOK_CALLBACK_CURSOR_VISIBLE, OString::boolean(false).getStr());
}
}