diff --git a/svx/source/sdr/contact/viewobjectcontactofsdrmediaobj.cxx b/svx/source/sdr/contact/viewobjectcontactofsdrmediaobj.cxx index f2ccab77ac8e..5fa946bb6b5d 100644 --- a/svx/source/sdr/contact/viewobjectcontactofsdrmediaobj.cxx +++ b/svx/source/sdr/contact/viewobjectcontactofsdrmediaobj.cxx @@ -47,11 +47,11 @@ ViewObjectContactOfSdrMediaObj::ViewObjectContactOfSdrMediaObj( ObjectContact& r mpMediaWindow->hide(); executeMediaItem( rMediaItem ); } +#else + (void) rMediaItem; #endif } - - ViewObjectContactOfSdrMediaObj::~ViewObjectContactOfSdrMediaObj() { delete mpMediaWindow;