[Libreoffice-commits] .: np_sdk/mozsrc

2012-11-12 Thread Libreoffice Gerrit user
 np_sdk/mozsrc/npwin.cxx |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6ce21d57d9a627a95bfb2f10519ae3cd032f521b
Author: Stephan Bergmann 
Date:   Mon Nov 12 18:17:44 2012 +0100

Typo

Change-Id: I2d28680b9e08baf7ec11098b698f881f3a420cb6

diff --git a/np_sdk/mozsrc/npwin.cxx b/np_sdk/mozsrc/npwin.cxx
index 890533a..9021c63 100644
--- a/np_sdk/mozsrc/npwin.cxx
+++ b/np_sdk/mozsrc/npwin.cxx
@@ -150,7 +150,7 @@ NP_Initialize(NPNetscapeFuncs* pFuncs)
 }
 #endif
 
-return NPP_Initialize;
+return NPP_Initialize();
 }
 
 //\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\.
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: np_sdk/mozsrc

2012-06-05 Thread Michael Stahl
 np_sdk/mozsrc/npunix.c |   10 ++
 1 file changed, 6 insertions(+), 4 deletions(-)

New commits:
commit 50cc97689e1ceb7754505d7c5b99510e48dbe674
Author: Michael Stahl 
Date:   Tue Jun 5 22:55:02 2012 +0200

np_sdk: it looks like the NP_* functions need exporting

At least, that's what the documentation says, and they used to be
exported before gbuildization of extensions/np_sdk.

Change-Id: Id0bcfab65c30de96bc2c0c708885ae9ed51c3519

diff --git a/np_sdk/mozsrc/npunix.c b/np_sdk/mozsrc/npunix.c
index b99a545..0b5ff38 100644
--- a/np_sdk/mozsrc/npunix.c
+++ b/np_sdk/mozsrc/npunix.c
@@ -51,6 +51,8 @@
  *--
  */
 
+#include  // just for SAL_DLLPUBLIC_EXPORT
+
 #define XP_UNIX 1
 
 #include 
@@ -365,7 +367,7 @@ Private_GetJavaClass(void)
  *  - Netscape uses the return value to identify when an object instance
  *of this plugin should be created.
  */
-char *
+SAL_DLLPUBLIC_EXPORT char *
 NP_GetMIMEDescription(void)
 {
 return (char *)NPP_GetMIMEDescription();
@@ -377,7 +379,7 @@ NP_GetMIMEDescription(void)
  *  - Interfaces with plugin to get values for predefined variables
  *that the navigator needs.
  */
-NPError
+SAL_DLLPUBLIC_EXPORT NPError
 NP_GetValue(void* future, NPPVariable variable, void *value)
 {
 return NPP_GetValue(future, variable, value);
@@ -400,7 +402,7 @@ NP_GetValue(void* future, NPPVariable variable, void *value)
  *library will use this function table to call the plugin.
  *
  */
-NPError
+SAL_DLLPUBLIC_EXPORT NPError
 NP_Initialize(NPNetscapeFuncs* nsTable, NPPluginFuncs* pluginFuncs)
 {
 NPError err = NPERR_NO_ERROR;
@@ -496,7 +498,7 @@ NP_Initialize(NPNetscapeFuncs* nsTable, NPPluginFuncs* 
pluginFuncs)
  *the last object of this kind has been destroyed.
  *
  */
-void
+SAL_DLLPUBLIC_EXPORT void
 NP_Shutdown(void)
 {
 PLUGINDEBUGSTR("NP_Shutdown");
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits