Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


On Monday 03 of December 2012, Libreoffice Gerrit user wrote:
--- commit c65e7ce3897fd9f9524e23039d39fad6d52fca28
Author: Markus Mohrhard <markus.mohrhard@googlemail.com>
Date:   Mon Dec 3 00:46:02 2012 +0100

    remove debug output

 Note that SAL_DEBUG in fact works fine even in non-debug builds, so there's 
no need for this.


    Change-Id: I48b549ab93dc3b937e00f6f35185a6c1c4327bcc

diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx
index 0e05389..3e3319c 100644
--- a/sc/source/ui/view/gridwin.cxx
+++ b/sc/source/ui/view/gridwin.cxx
@@ -1727,7 +1727,6 @@ bool ScGridWindow::TestMouse( const MouseEvent&
rMEvt, bool bAction )

 void ScGridWindow::MouseButtonDown( const MouseEvent& rMEvt )
 {
-    std::cout << "MouseButtonDown" << std::endl;
     nNestedButtonState = SC_NESTEDBUTTON_DOWN;

     HandleMouseButtonDown( rMEvt );
@@ -2043,7 +2042,6 @@ void ScGridWindow::HandleMouseButtonDown( const
MouseEvent& rMEvt )

 void ScGridWindow::MouseButtonUp( const MouseEvent& rMEvt )
 {
-    std::cout << "MouseButtonUp" << std::endl;
     aCurMousePos = rMEvt.GetPosPixel();
     ScDocument* pDoc = pViewData->GetDocument();
     ScMarkData& rMark = pViewData->GetMarkData();
@@ -2472,14 +2470,8 @@ void ScGridWindow::FakeButtonUp()
     }
 }

-#include <stdio.h>
-
 void ScGridWindow::MouseMove( const MouseEvent& rMEvt )
 {
-    fprintf( stderr, "MouseMove: %s %d %d %d\n",
-            rMEvt.IsSynthetic() ? "synthetic" : "real",
-            rMEvt.GetMode(), rMEvt.GetModifier(), rMEvt.GetButtons() );
-
     aCurMousePos = rMEvt.GetPosPixel();

     if ( rMEvt.IsLeaveWindow() && pNoteMarker &&

-- 
 Lubos Lunak
 l.lunak@suse.cz

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.