summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-03-06 10:30:58 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-03-06 11:26:37 +0000
commitd99251cecd8a2094bacf55c5f8f2242dc874c0e3 (patch)
treedcc2d2bd981dd8cc4a87fbc30975840a2eb33fe8 /unotools
parentc05373e331a0224db0cdf4de809c56bc001490b2 (diff)
leak in IMHandler::signalIMPreeditChanged early return
Diffstat (limited to 'unotools')
-rw-r--r--unotools/source/config/configmgr.cxx7
1 files changed, 0 insertions, 7 deletions
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);
}