[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/libs/kotext
From: Thomas Zander <zander () kde ! org>
Date: 2010-12-27 13:15:07
Message-ID: 20101227131507.4122DAC8B4 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1209596 by zander:
The deletion of inline objects is a bit iffy..
Work around deletion null pointer dereference problems
when objects get double removed from the text.
M +2 -1 KoInlineTextObjectManager.cpp
--- trunk/koffice/libs/kotext/KoInlineTextObjectManager.cpp #1209595:1209596
@@ -123,7 +123,8 @@
void KoInlineTextObjectManager::removeInlineObject(KoInlineObject *object)
{
- Q_ASSERT(object);
+ //Q_ASSERT(object);
+ if (object)
m_objects.remove(object->id());
// TODO dirty the document somehow
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic