Blob Blame History Raw
From d21589ed079bae79f24bbaf9dce8a691cdedb47e Mon Sep 17 00:00:00 2001
From: Henry Castro <hcastro@collabora.com>
Date: Wed, 10 Jun 2015 14:16:09 -0400
Subject: [PATCH 037/398] Revert sw: LOK_CALLBACK_CURSOR_VISIBLE callback.

Already fixed by Miklos Vajna.

Change-Id: I848f2296c5f5a4d250308ed3a851c46524181340
(cherry picked from commit 533a5fdad3854b89a252216bb78a38ba3222964b)
---
 sw/source/core/crsr/viscrs.cxx | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/sw/source/core/crsr/viscrs.cxx b/sw/source/core/crsr/viscrs.cxx
index 9077a6533625..3e92ce5ef4e5 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());
     }
 }
 
-- 
2.12.0