From d99251cecd8a2094bacf55c5f8f2242dc874c0e3 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 6 Mar 2012 10:30:58 +0000 Subject: leak in IMHandler::signalIMPreeditChanged early return --- unotools/source/config/configmgr.cxx | 7 ------- 1 file changed, 7 deletions(-) (limited to 'unotools') diff --git a/unotools/source/config/configmgr.cxx b/unotools/source/config/configmgr.cxx index 14bc4358dca0..f761c5f0901f 100644 --- a/unotools/source/config/configmgr.cxx +++ b/unotools/source/config/configmgr.cxx @@ -227,10 +227,6 @@ utl::ConfigManager::addConfigItem(utl::ConfigItem & item) { } void utl::ConfigManager::removeConfigItem(utl::ConfigItem & item) { - static int hack = 0; - fprintf(stderr, "remove %d of %p\n", hack, &item); - ++hack; - for (std::list< ConfigItem * >::iterator i(items_.begin()); i != items_.end(); ++i) { @@ -243,9 +239,6 @@ void utl::ConfigManager::removeConfigItem(utl::ConfigItem & item) { void utl::ConfigManager::registerConfigItem(utl::ConfigItem * item) { OSL_ASSERT(item != 0); - static int hack = 0; - fprintf(stderr, "add %d is %p\n", hack, item); - ++hack; items_.push_back(item); } -- cgit v1.2.3