Kaydet (Commit) 515c266b authored tarafından Noel Grandin's avatar Noel Grandin

remove unused header definitions in SotExchange

Change-Id: I795ce25011509de8f2aff488d4d46b86290ab3a3
üst d76ddd19
......@@ -146,15 +146,6 @@ public:
static bool IsInternal( const SvGlobalName& );
static sal_uLong GetFormatIdFromMimeType( const OUString& rMimeType );
// determine the SotFormatStringId for the registered format
//FIXME JP 12.11.98: this three methods are obsolete as all ClipboardIds are static and equvialent to the SotFormatStringIds!
static SotFormatStringId GetFormatStringId( sal_uLong nFormat )
{ return nFormat; }
static SotFormatStringId GetFormatStringId( const OUString& rName )
{ return SotExchange::RegisterFormatMimeType( rName ); }
static sal_uLong RegisterSotFormatName( SotFormatStringId nId )
{ return nId; }
// same for XTransferable interface
static sal_uInt16 GetExchangeAction(
// XTransferable
......
......@@ -76,7 +76,7 @@ bool SvFileObject::GetData( ::com::sun::star::uno::Any & rData,
const OUString & rMimeType,
bool bGetSynchron )
{
sal_uIntPtr nFmt = SotExchange::GetFormatStringId( rMimeType );
sal_uIntPtr nFmt = SotExchange::RegisterFormatMimeType( rMimeType );
switch( nType )
{
case FILETYPE_TEXT:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment