From 3b2e2d1e6929634d00a73dda8784a6b3a271ebcc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Tue, 30 Aug 2011 16:55:18 +0100 Subject: [PATCH] callcatcher: chop, hack --- svx/inc/svx/svdxcgv.hxx | 6 ------ svx/source/svdraw/svdxcgv.cxx | 25 ------------------------- unusedcode.easy | 4 +++- 3 files changed, 3 insertions(+), 32 deletions(-) diff --git a/svx/inc/svx/svdxcgv.hxx b/svx/inc/svx/svdxcgv.hxx index b19e2135e922..f76d5c9ef7c0 100644 --- a/svx/inc/svx/svdxcgv.hxx +++ b/svx/inc/svx/svdxcgv.hxx @@ -144,15 +144,9 @@ public: sal_Bool Paste(SvStream& rInput, const String& rBaseURL, sal_uInt16 eFormat, SdrObjList* pLst=NULL, OutputDevice* pOut=NULL, sal_uInt32 nOptions=0) { return Paste(rInput,rBaseURL,eFormat,GetPastePos(pLst,pOut),pLst,nOptions); } sal_Bool Paste(SvStream& rInput, const String& rBaseURL, sal_uInt16 eFormat, const Point& rPos, SdrObjList* pLst=NULL, sal_uInt32 nOptions=0); - // Feststellen, ob ein bestimmtes Format ueber Drag&Drop bzw. ueber's - // Clipboard angenommen werden kann. - sal_Bool IsExchangeFormatSupported(sal_uIntPtr nFormat) const; - sal_Bool Cut( sal_uIntPtr nFormat = SDR_ANYFORMAT ); - void CutMarked( sal_uIntPtr nFormat=SDR_ANYFORMAT ); sal_Bool Yank( sal_uIntPtr nFormat = SDR_ANYFORMAT ); - void YankMarked( sal_uIntPtr nFormat=SDR_ANYFORMAT ); sal_Bool Paste( Window* pWin = NULL, sal_uIntPtr nFormat = SDR_ANYFORMAT ); sal_Bool PasteClipboard( OutputDevice* pOut = NULL, sal_uIntPtr nFormat = SDR_ANYFORMAT, sal_uInt32 nOptions = 0 ); diff --git a/svx/source/svdraw/svdxcgv.cxx b/svx/source/svdraw/svdxcgv.cxx index 761b062e3160..13ea61e2217d 100644 --- a/svx/source/svdraw/svdxcgv.cxx +++ b/svx/source/svdraw/svdxcgv.cxx @@ -475,17 +475,6 @@ sal_Bool SdrExchangeView::Paste(const SdrModel& rMod, const Point& rPos, SdrObjL return sal_True; } -sal_Bool SdrExchangeView::IsExchangeFormatSupported(sal_uIntPtr nFormat) const -{ - return( FORMAT_PRIVATE == nFormat || - FORMAT_GDIMETAFILE == nFormat || - FORMAT_BITMAP == nFormat || - FORMAT_RTF == nFormat || - FORMAT_STRING == nFormat || - SOT_FORMATSTR_ID_DRAWING == nFormat || - SOT_FORMATSTR_ID_EDITENGINE == nFormat ); -} - void SdrExchangeView::ImpPasteObject(SdrObject* pObj, SdrObjList& rLst, const Point& rCenter, const Size& rSiz, const MapMode& rMap, sal_uInt32 nOptions) { BigInt nSizX(rSiz.Width()); @@ -868,13 +857,6 @@ sal_Bool SdrExchangeView::Cut( sal_uIntPtr /*nFormat */) // ----------------------------------------------------------------------------- -void SdrExchangeView::CutMarked( sal_uIntPtr /*nFormat */) -{ - OSL_FAIL( "SdrExchangeView::CutMarked: Not supported anymore" ); -} - -// ----------------------------------------------------------------------------- - sal_Bool SdrExchangeView::Yank(sal_uIntPtr /*nFormat*/) { OSL_FAIL( "SdrExchangeView::Yank: Not supported anymore" ); @@ -883,13 +865,6 @@ sal_Bool SdrExchangeView::Yank(sal_uIntPtr /*nFormat*/) // ----------------------------------------------------------------------------- -void SdrExchangeView::YankMarked(sal_uIntPtr /*nFormat*/) -{ - OSL_FAIL( "YankMarked: Not supported anymore" ); -} - -// ----------------------------------------------------------------------------- - sal_Bool SdrExchangeView::Paste(Window* /*pWin*/, sal_uIntPtr /*nFormat*/) { OSL_FAIL( "SdrExchangeView::Paste: Not supported anymore" ); diff --git a/unusedcode.easy b/unusedcode.easy index dd2473d7e3e6..5b60c82a1731 100644 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -144,12 +144,14 @@ EditView::Drop(DropEvent const&) EditView::GetDropPos() EditView::GetSelectionMode() const EditView::GetWordUnderMousePointer() const +EditView::IndentBlock() EditView::IsPasteEnabled() const EditView::MatchGroup() EditView::QueryDrop(DropEvent&) EditView::SetCursor(Cursor const&) EditView::SetParaAttribs(SfxItemSet const&, unsigned short) EditView::SetPointer(Pointer const&) +EditView::UnindentBlock() ElementCollector::isAbleToNotify() const ElementCollector::setSecurityId(int) EnhWMFReader::ReadGDIComment() @@ -843,7 +845,6 @@ SfxRequest::IsRecording() const SfxRequest::SetTarget(String const&) SfxShell::GetBroadcaster() SfxShell::RemoveItem(unsigned short) -SfxSingleTabDialog::GetInputRanges(SfxItemPool const&) SfxSlotPool::NextInterface() SfxStyleSheet::SfxStyleSheet() SfxTabDialog::FillOutputItemSet() @@ -2374,6 +2375,7 @@ dbtools::StatementComposer::getDisposeComposer() const dbtools::getComposedRowSetStatement(com::sun::star::uno::Reference const&, com::sun::star::uno::Reference const&, unsigned char, unsigned char) dbtools::getConnection(rtl::OUString const&, rtl::OUString const&, rtl::OUString const&, com::sun::star::uno::Reference const&) dbtools::throwFunctionNotSupportedException(rtl::OUString const&, com::sun::star::uno::Reference const&, com::sun::star::uno::Any const&) +desktop::CommandLineArgs::IsEmptyOrAcceptOnly() const desktop::Lockfile::clean() dlgprov::DialogProviderImpl::createControlModel() dp_info::singleton_entries(com::sun::star::uno::Reference const&)