From c797a11a4d7ca7531eeb7efd85670711a08f8b4b Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 24 Apr 2012 20:59:22 +0100 Subject: callcatcher: remove freshly unused code --- svx/inc/svx/sdr/contact/viewobjectcontactofsdrmediaobj.hxx | 1 - svx/source/sdr/contact/viewobjectcontactofsdrmediaobj.cxx | 7 ------- 2 files changed, 8 deletions(-) (limited to 'svx') diff --git a/svx/inc/svx/sdr/contact/viewobjectcontactofsdrmediaobj.hxx b/svx/inc/svx/sdr/contact/viewobjectcontactofsdrmediaobj.hxx index 86a96caef404..79c0ec0dddbf 100644 --- a/svx/inc/svx/sdr/contact/viewobjectcontactofsdrmediaobj.hxx +++ b/svx/inc/svx/sdr/contact/viewobjectcontactofsdrmediaobj.hxx @@ -54,7 +54,6 @@ namespace sdr Window* getWindow() const; - bool hasPreferredSize() const; Size getPreferredSize() const; void updateMediaItem( ::avmedia::MediaItem& rItem ) const; diff --git a/svx/source/sdr/contact/viewobjectcontactofsdrmediaobj.cxx b/svx/source/sdr/contact/viewobjectcontactofsdrmediaobj.cxx index 9ed5dddaf2bf..ab169077e0a4 100644 --- a/svx/source/sdr/contact/viewobjectcontactofsdrmediaobj.cxx +++ b/svx/source/sdr/contact/viewobjectcontactofsdrmediaobj.cxx @@ -106,13 +106,6 @@ Window* ViewObjectContactOfSdrMediaObj::getWindow() const // ------------------------------------------------------------------------------ -bool ViewObjectContactOfSdrMediaObj::hasPreferredSize() const -{ - return( mpMediaWindow != NULL && mpMediaWindow->hasPreferredSize() ); -} - -// ------------------------------------------------------------------------------ - Size ViewObjectContactOfSdrMediaObj::getPreferredSize() const { Size aRet; -- cgit