diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2012-08-13 16:55:38 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2012-08-13 18:18:42 +0200 |
commit | 582e06f71c63d70189e1ecd4fe365c541648cf83 (patch) | |
tree | 64e4660131d459208e165dd9382280135edf29a1 /svtools | |
parent | 72e21d7a5621846782f86e2fc645811efbf5f18a (diff) |
unusedcode.easy: remove unused code
Change-Id: I87e7264ffd3086796aaa8e136c2f9b77fde7b74f
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/inc/svtools/PlaceEditDialog.hxx | 2 | ||||
-rw-r--r-- | svtools/source/dialogs/PlaceEditDialog.cxx | 5 | ||||
-rw-r--r-- | svtools/source/misc/transfer.cxx | 7 |
3 files changed, 0 insertions, 14 deletions
diff --git a/svtools/inc/svtools/PlaceEditDialog.hxx b/svtools/inc/svtools/PlaceEditDialog.hxx index 997707ea0ed4..14a1fb04b455 100644 --- a/svtools/inc/svtools/PlaceEditDialog.hxx +++ b/svtools/inc/svtools/PlaceEditDialog.hxx @@ -100,8 +100,6 @@ public : rtl::OUString GetServerName() { return m_aEDServerName.GetText(); } rtl::OUString GetServerUrl(); - ResId GetResId( sal_uInt16 nId ); - private: void InitDetails( ); diff --git a/svtools/source/dialogs/PlaceEditDialog.cxx b/svtools/source/dialogs/PlaceEditDialog.cxx index 6d3d12bdcd54..9807050d16e5 100644 --- a/svtools/source/dialogs/PlaceEditDialog.cxx +++ b/svtools/source/dialogs/PlaceEditDialog.cxx @@ -159,11 +159,6 @@ rtl::OUString PlaceEditDialog::GetServerUrl() return sUrl; } -ResId PlaceEditDialog::GetResId(sal_uInt16 nId) -{ - return SvtResId( nId ); -} - boost::shared_ptr<Place> PlaceEditDialog::GetPlace() { boost::shared_ptr<Place> newPlace( new Place( m_aEDServerName.GetText(), GetServerUrl(), true ) ); diff --git a/svtools/source/misc/transfer.cxx b/svtools/source/misc/transfer.cxx index a85cf1f1968b..0a80eb8ea5e8 100644 --- a/svtools/source/misc/transfer.cxx +++ b/svtools/source/misc/transfer.cxx @@ -2197,13 +2197,6 @@ sal_Bool TransferableDataHelper::GetInputStream( const DataFlavor& rFlavor, Refe // ----------------------------------------------------------------------------- -sal_Bool TransferableDataHelper::GetInterface( const DataFlavor& rFlavor, Reference< XInterface >& rIf ) -{ - const Any aAny( GetAny( rFlavor ) ); - return( aAny.hasValue() && ( aAny >>= rIf ) ); -} - -// ----------------------------------------------------------------------------- void TransferableDataHelper::Rebind( const Reference< XTransferable >& _rxNewContent ) { mxTransfer = _rxNewContent; |