From eda245925170eab692143deed367ab11a9adb310 Mon Sep 17 00:00:00 2001 From: Rohan Kumar Date: Fri, 11 Mar 2016 18:49:08 +0530 Subject: tdf#91794 remove OSL_DEBUG_LEVEL > 1 conditionals MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Björn Michaelsen --- basctl/source/basicide/baside2b.cxx | 7 ------- 1 file changed, 7 deletions(-) (limited to 'basctl') diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx index 4b40a42e943f..73354e175569 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()); -- cgit