diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-04-22 09:18:12 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-04-22 09:19:48 +0100 |
commit | 11c834698466aea8004ff4b716afa26ae82aa615 (patch) | |
tree | 3e87c08842a560fb6b9d4efb6ac6ecef70590a64 /extensions/source | |
parent | 6ff2d84ade299cb3d14d4110e4cf1a4b8070c030 (diff) |
callcatcher: update unused code
Change-Id: I8a596153fe6ab34c56a956731d7f9909e71044aa
Diffstat (limited to 'extensions/source')
-rw-r--r-- | extensions/source/plugin/inc/plugin/unx/sysplug.hxx | 1 | ||||
-rw-r--r-- | extensions/source/plugin/unx/nppapi.cxx | 16 |
2 files changed, 0 insertions, 17 deletions
diff --git a/extensions/source/plugin/inc/plugin/unx/sysplug.hxx b/extensions/source/plugin/inc/plugin/unx/sysplug.hxx index 59979da4f921..aac6e97e1745 100644 --- a/extensions/source/plugin/inc/plugin/unx/sysplug.hxx +++ b/extensions/source/plugin/inc/plugin/unx/sysplug.hxx @@ -71,7 +71,6 @@ public: virtual int32_t NPP_Write( NPP instance, NPStream* stream, int32_t offset, int32_t len, void* buffer ) SAL_OVERRIDE; virtual int32_t NPP_WriteReady( NPP instance, NPStream* stream ) SAL_OVERRIDE; - char* NPP_GetMIMEDescription(); virtual NPError NPP_GetValue( NPP instance, NPPVariable variable, void* value ) SAL_OVERRIDE; virtual NPError NPP_SetValue( NPP instance, NPNVariable variable, void *value) SAL_OVERRIDE; diff --git a/extensions/source/plugin/unx/nppapi.cxx b/extensions/source/plugin/unx/nppapi.cxx index d755df17ab1b..f0707e63fa3f 100644 --- a/extensions/source/plugin/unx/nppapi.cxx +++ b/extensions/source/plugin/unx/nppapi.cxx @@ -601,22 +601,6 @@ int32_t UnxPluginComm::NPP_WriteReady( NPP instance, NPStream* stream ) return aRet; } -char* UnxPluginComm::NPP_GetMIMEDescription() -{ - static char* pDesc = NULL; - MediatorMessage* pMes = - Transact( eNPP_GetMIMEDescription, - NULL ); - if( ! pMes ) - return const_cast<char*>(""); - - if( pDesc ) - delete [] pDesc; - pDesc = pMes->GetString(); - delete pMes; - return pDesc; -} - NPError UnxPluginComm::NPP_GetValue( NPP /*instance*/, NPPVariable /*variable*/, void* /*value*/ ) { return 0; |