[Libreoffice-commits] core.git: basctl/source

Rohan Kumar rohankanojia420 at gmail.com
Sat Mar 12 14:20:37 UTC 2016


 basctl/source/basicide/baside2b.cxx |    7 -------
 1 file changed, 7 deletions(-)

New commits:
commit eda245925170eab692143deed367ab11a9adb310
Author: Rohan Kumar <rohankanojia420 at gmail.com>
Date:   Fri Mar 11 18:49:08 2016 +0530

    tdf#91794 remove OSL_DEBUG_LEVEL > 1 conditionals
    
    I removed the OSL_DEBUG_LEVEL > 1 conditional and replaced it
    to OSL_DEBUG_LEVEL > 0 as suggested in easy hack.
    
    Change-Id: If5f086f280d01e7a80be59f3c992dc2d0a7663cf
    Reviewed-on: https://gerrit.libreoffice.org/23062
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Björn Michaelsen <bjoern.michaelsen at canonical.com>

diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx
index 4b40a42..73354e1 100644
--- a/basctl/source/basicide/baside2b.cxx
+++ b/basctl/source/basicide/baside2b.cxx
@@ -497,13 +497,6 @@ void EditorWindow::KeyInput( const KeyEvent& rKEvt )
     if ( !pEditView )   // Happens in Win95
         return;
 
-#if OSL_DEBUG_LEVEL > 1
-    Range aRange = rModulWindow.GetHScrollBar()->GetRange(); (void)aRange;
-    long nVisSz = rModulWindow.GetHScrollBar()->GetVisibleSize(); (void)nVisSz;
-    long nPapSz = rModulWindow.GetHScrollBar()->GetPageSize(); (void)nPapSz;
-    long nLinSz = rModulWindow.GetHScrollBar()->GetLineSize(); (void)nLinSz;
-    long nThumb = rModulWindow.GetHScrollBar()->GetThumbPos(); (void)nThumb;
-#endif
     bool const bWasModified = pEditEngine->IsModified();
     // see if there is an accelerator to be processed first
     SfxViewShell *pVS( SfxViewShell::Current());


More information about the Libreoffice-commits mailing list