[Libreoffice-commits] core.git: sw/source
Henry Castro
hcastro at collabora.com
Wed Jun 10 11:20:09 PDT 2015
sw/source/core/crsr/viscrs.cxx | 6 ------
1 file changed, 6 deletions(-)
New commits:
commit 533a5fdad3854b89a252216bb78a38ba3222964b
Author: Henry Castro <hcastro at collabora.com>
Date: Wed Jun 10 14:16:09 2015 -0400
Revert sw: LOK_CALLBACK_CURSOR_VISIBLE callback.
Already fixed by Miklos Vajna.
Change-Id: I848f2296c5f5a4d250308ed3a851c46524181340
diff --git a/sw/source/core/crsr/viscrs.cxx b/sw/source/core/crsr/viscrs.cxx
index 7241185..38cb79e 100644
--- a/sw/source/core/crsr/viscrs.cxx
+++ b/sw/source/core/crsr/viscrs.cxx
@@ -90,10 +90,7 @@ 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();
- }
}
}
@@ -105,9 +102,6 @@ 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());
}
}
More information about the Libreoffice-commits
mailing list