[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/libs/flake
From:       Thorsten Zachmann <t.zachmann () zagge ! de>
Date:       2010-10-19 6:49:57
Message-ID: 20101019064957.92D62AC897 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1187375 by zachmann:

o missed to commit in my last commit


 M  +1 -1      KoShapeRegistry.cpp  


--- trunk/koffice/libs/flake/KoShapeRegistry.cpp #1187374:1187375
@@ -232,7 +232,7 @@
     // Higher numbers are more specific, map is sorted by keys.
     for (int i = factories.size() - 1; i >= 0; --i) {
         KoShapeFactoryBase * factory = factories[i];
-        if (factory->supports(element)) {
+        if (factory->supports(element, context)) {
             KoShape *shape = factory->createDefaultShape(context.documentResourceManager());
 
             if (shape->shapeId().isEmpty())
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic