diff options
author | Oliver Bolte <obo@openoffice.org> | 2005-12-21 10:14:16 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2005-12-21 10:14:16 +0000 |
commit | fc89f419c84b84b8c298376aff5b456c5338a0d5 (patch) | |
tree | 218fef4de819c1466d7881384763ef6a40167b87 /extensions/source/plugin | |
parent | 6bed7725e81898c1ee7893069b299df2bb841b30 (diff) |
INTEGRATION: CWS cmcfixes21 (1.7.236); FILE MERGED
2005/11/10 16:17:52 cmc 1.7.236.1: #i53612# np_sdk optional on MOZ
Diffstat (limited to 'extensions/source/plugin')
-rw-r--r-- | extensions/source/plugin/unx/npnapi.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/extensions/source/plugin/unx/npnapi.cxx b/extensions/source/plugin/unx/npnapi.cxx index ce814b3d6ca6..5df12be27ad2 100644 --- a/extensions/source/plugin/unx/npnapi.cxx +++ b/extensions/source/plugin/unx/npnapi.cxx @@ -2,7 +2,7 @@ Source Code Control System - Header - $Header: /zpool/svn/migration/cvs_rep_09_09_08/code/extensions/source/plugin/unx/npnapi.cxx,v 1.7 2004-10-13 09:03:01 hr Exp $ + $Header: /zpool/svn/migration/cvs_rep_09_09_08/code/extensions/source/plugin/unx/npnapi.cxx,v 1.8 2005-12-21 11:14:16 obo Exp $ *************************************************************************/ #include <plugin/unx/plugcon.hxx> @@ -23,7 +23,7 @@ void* CreateNewShell( void**, XLIB_Window ); // begin Netscape plugin api calls extern "C" { -static void* l_NPN_MemAlloc( UINT32 nBytes ) +static void* l_NPN_MemAlloc( uint32 nBytes ) { void* pMem = new char[nBytes]; return pMem; @@ -34,7 +34,7 @@ static void l_NPN_MemFree( void* pMem ) delete [] (char*)pMem; } -static UINT32 l_NPN_MemFlush( UINT32 nSize ) +static uint32 l_NPN_MemFlush( uint32 nSize ) { return 0; } @@ -165,7 +165,7 @@ static NPError l_NPN_NewStream( NPP instance, NPMIMEType type, const char* targe return aRet; } -static NPError l_NPN_PostURLNotify( NPP instance, const char* url, const char* target, UINT32 len, const char* buf, NPBool file, void* notifyData ) +static NPError l_NPN_PostURLNotify( NPP instance, const char* url, const char* target, uint32 len, const char* buf, NPBool file, void* notifyData ) { UINT32 nInstance = pConnector->GetNPPID( instance ); if( nInstance == PluginConnector::UnknownNPPID ) @@ -190,7 +190,7 @@ static NPError l_NPN_PostURLNotify( NPP instance, const char* url, const char* t return aRet; } -static NPError l_NPN_PostURL( NPP instance, const char* url, const char* window, UINT32 len, const char* buf, NPBool file ) +static NPError l_NPN_PostURL( NPP instance, const char* url, const char* window, uint32 len, const char* buf, NPBool file ) { UINT32 nInstance = pConnector->GetNPPID( instance ); if( nInstance == PluginConnector::UnknownNPPID ) |