summaryrefslogtreecommitdiff
path: root/vcl/source/window/accmgr.cxx
diff options
context:
space:
mode:
authorArnaud Versini <arnaud.versini@libreoffice.org>2013-11-24 19:54:30 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-12-04 04:50:21 -0600
commitc0125d64cbf8adcf070d0bf715e98e57fbeecf8c (patch)
tree2835405c3907029f39c2d27e14b81def32a5cfa3 /vcl/source/window/accmgr.cxx
parent35c1d6f7617087c18b94e03ec9281c995e6d9e55 (diff)
VCL : Remove usage of DBG_CTOR and DBG_DTOR.
Valgrind is capable of detecting such bugs. No need for extra macros. Change-Id: I6a785b42be72736560ec69f1a7949f2f0b9414a3 Reviewed-on: https://gerrit.libreoffice.org/6805 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/source/window/accmgr.cxx')
-rw-r--r--vcl/source/window/accmgr.cxx7
1 files changed, 0 insertions, 7 deletions
diff --git a/vcl/source/window/accmgr.cxx b/vcl/source/window/accmgr.cxx
index fd7ac8249a3c..8c0cb32888a0 100644
--- a/vcl/source/window/accmgr.cxx
+++ b/vcl/source/window/accmgr.cxx
@@ -26,7 +26,6 @@
// =======================================================================
-DBG_NAMEEX( Accelerator )
// =======================================================================
@@ -135,7 +134,6 @@ sal_Bool ImplAccelManager::IsAccelKey( const KeyCode& rKeyCode, sal_uInt16 nRepe
if ( mpSequenceList )
{
pAccel = mpSequenceList->empty() ? NULL : (*mpSequenceList)[ 0 ];
- DBG_CHKOBJ( pAccel, Accelerator, NULL );
// not found ?
if ( !pAccel )
@@ -154,7 +152,6 @@ sal_Bool ImplAccelManager::IsAccelKey( const KeyCode& rKeyCode, sal_uInt16 nRepe
// is an accelerator coupled ?
if ( pNextAccel )
{
- DBG_CHKOBJ( pNextAccel, Accelerator, NULL );
mpSequenceList->insert( mpSequenceList->begin(), pNextAccel );
@@ -182,7 +179,6 @@ sal_Bool ImplAccelManager::IsAccelKey( const KeyCode& rKeyCode, sal_uInt16 nRepe
// did the accelerator survive the call
if ( !bDel )
{
- DBG_CHKOBJ( pAccel, Accelerator, NULL );
pAccel->maCurKeyCode = KeyCode();
pAccel->mnCurId = 0;
pAccel->mnCurRepeat = 0;
@@ -212,7 +208,6 @@ sal_Bool ImplAccelManager::IsAccelKey( const KeyCode& rKeyCode, sal_uInt16 nRepe
for ( size_t i = 0, n = mpAccelList->size(); i < n; ++i )
{
pAccel = (*mpAccelList)[ i ];
- DBG_CHKOBJ( pAccel, Accelerator, NULL );
// is the entry contained ?
ImplAccelEntry* pEntry = pAccel->ImplGetAccelData( rKeyCode );
@@ -223,7 +218,6 @@ sal_Bool ImplAccelManager::IsAccelKey( const KeyCode& rKeyCode, sal_uInt16 nRepe
// is an accelerator assigned ?
if ( pNextAccel )
{
- DBG_CHKOBJ( pNextAccel, Accelerator, NULL );
// create sequence list
mpSequenceList = new ImplAccelList;
@@ -256,7 +250,6 @@ sal_Bool ImplAccelManager::IsAccelKey( const KeyCode& rKeyCode, sal_uInt16 nRepe
// if the accelerator did survive the call
if ( !bDel )
{
- DBG_CHKOBJ( pAccel, Accelerator, NULL );
pAccel->maCurKeyCode = KeyCode();
pAccel->mnCurId = 0;
pAccel->mnCurRepeat = 0;