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

List:       kde-commits
Subject:    koffice/libs/kofficecore
From:       David Faure <faure () kde ! org>
Date:       2007-04-02 13:36:39
Message-ID: 1175520999.412008.18215.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 649292 by dfaure:

Fix compilation (although I think the kedittoolbar api change needs rethinking)


 M  +1 -1      KoFilterManager.cpp  
 M  +1 -1      KoMainWindow.cpp  


--- trunk/koffice/libs/kofficecore/KoFilterManager.cpp #649291:649292
@@ -571,7 +571,7 @@
 
         // This code is "borrowed" from klibloader ;)
         QByteArray symname = "check_" + library->name().toLatin1();
-        void* sym = library->symbol( symname );
+	KLibrary::void_function_ptr sym = library->resolveFunction( symname );
         if ( !sym )
         {
             kWarning( 30500 ) << "The library " << library->name()
--- trunk/koffice/libs/kofficecore/KoMainWindow.cpp #649291:649292
@@ -1339,7 +1339,7 @@
 {
     if (rootDocument())
         saveMainWindowSettings( KGlobal::config()->group( \
                rootDocument()->componentData().componentName() ) );
-    KEditToolBar edit(factory(), this);
+    KEditToolBar edit(factory(), QString(), this);
     connect(&edit,SIGNAL(newToolbarConfig()),this,SLOT(slotNewToolbarConfig()));
     (void) edit.exec();
 }


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

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