diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-07-13 14:24:29 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-07-14 08:19:55 +0200 |
commit | 7ca22e561b9eb83dbc28427086dea06489c83290 (patch) | |
tree | 6a1c0c5f0f3d3099f89bec82bcff77f4be7c8d3f | |
parent | 851cb7e311f79772a4d6623220e7442468b19163 (diff) |
callcatcher: remove TransferableDataHelper::GetInterface
-rw-r--r-- | svtools/inc/svtools/transfer.hxx | 1 | ||||
-rw-r--r-- | svtools/source/misc/transfer.cxx | 9 |
2 files changed, 0 insertions, 10 deletions
diff --git a/svtools/inc/svtools/transfer.hxx b/svtools/inc/svtools/transfer.hxx index 26e84d0c3b12..0267824ff36e 100644 --- a/svtools/inc/svtools/transfer.hxx +++ b/svtools/inc/svtools/transfer.hxx @@ -398,7 +398,6 @@ public: sal_Bool GetInputStream( SotFormatStringId nFormat, ::com::sun::star::uno::Reference < com::sun::star::io::XInputStream >& xStream ); sal_Bool GetInputStream( const ::com::sun::star::datatransfer::DataFlavor& rFlavor, ::com::sun::star::uno::Reference < com::sun::star::io::XInputStream >& xStream ); - sal_Bool GetInterface( SotFormatStringId nFormat, ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& rIf ); sal_Bool GetInterface( const ::com::sun::star::datatransfer::DataFlavor& rFlavor, ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& rIf ); public: diff --git a/svtools/source/misc/transfer.cxx b/svtools/source/misc/transfer.cxx index 2c93a1045e89..22f0c3fe0ff3 100644 --- a/svtools/source/misc/transfer.cxx +++ b/svtools/source/misc/transfer.cxx @@ -2214,15 +2214,6 @@ sal_Bool TransferableDataHelper::GetInputStream( const DataFlavor& rFlavor, Refe // ----------------------------------------------------------------------------- - -sal_Bool TransferableDataHelper::GetInterface( SotFormatStringId nFormat, Reference< XInterface >& rIf ) -{ - DataFlavor aFlavor; - return( SotExchange::GetFormatDataFlavor( nFormat, aFlavor ) && GetInterface( aFlavor, rIf ) ); -} - -// ----------------------------------------------------------------------------- - sal_Bool TransferableDataHelper::GetInterface( const DataFlavor& rFlavor, Reference< XInterface >& rIf ) { const Any aAny( GetAny( rFlavor ) ); |