diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-08-30 16:55:18 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-08-31 10:43:25 +0100 |
commit | 3b2e2d1e6929634d00a73dda8784a6b3a271ebcc (patch) | |
tree | a8052afcf379564cc65a8c83bf970d958b0c2f47 /svx | |
parent | 6934db93b6c16041fc1e54c8cc2c93b5059d6b32 (diff) |
callcatcher: chop, hack
Diffstat (limited to 'svx')
-rw-r--r-- | svx/inc/svx/svdxcgv.hxx | 6 | ||||
-rw-r--r-- | svx/source/svdraw/svdxcgv.cxx | 25 |
2 files changed, 0 insertions, 31 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" ); |