[PATCH 2/5] remove dead code in components plugin unx
pjacquod
pjacquod at alumni.ethz.ch
Sun Nov 21 03:24:47 PST 2010
---
extensions/source/plugin/unx/npnapi.cxx | 21 ---------------------
1 files changed, 0 insertions(+), 21 deletions(-)
diff --git a/extensions/source/plugin/unx/npnapi.cxx b/extensions/source/plugin/unx/npnapi.cxx
index f1f58fc..35c60de 100644
--- a/extensions/source/plugin/unx/npnapi.cxx
+++ b/extensions/source/plugin/unx/npnapi.cxx
@@ -340,27 +340,6 @@ static const char* l_NPN_UserAgent( NPP instance )
return pAgent;
}
-#if 0
-static void l_NPN_Version( int* major, int* minor, int* net_major, int* net_minor )
-{
- MediatorMessage* pMes = pConnector->
- Transact( eNPN_Version,
- NULL );
-
- if( ! pMes )
- return;
-
- *major = pMes->GetUINT32();
- *minor = pMes->GetUINT32();
- *net_major = pMes->GetUINT32();
- *net_minor = pMes->GetUINT32();
-
- medDebug( 1, "pluginapp: NPN_Version: results %d %d, %d %d\n", *major, *minor, *net_major, *net_minor );
-
- delete pMes;
-}
-#endif
-
static int32 l_NPN_Write( NPP instance, NPStream* stream, int32 len, void* buffer )
{
UINT32 nFileID = pConnector->GetStreamID( stream );
--
1.7.1
--------------050307010909000709050806
Content-Type: text/x-patch;
name="0003-dead-code-removed-components-plugin-base.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="0003-dead-code-removed-components-plugin-base.patch"
More information about the LibreOffice
mailing list