Kaydet (Commit) eda24592 authored tarafından Rohan Kumar's avatar Rohan Kumar Kaydeden (comit) Björn Michaelsen

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/23062Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarBjörn Michaelsen <bjoern.michaelsen@canonical.com>
üst 67f4b98b
......@@ -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());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment