diff options
author | Jan Holesovsky <kendy@collabora.com> | 2014-04-15 11:31:06 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2014-04-15 13:10:55 +0200 |
commit | 6b7e0c7a9fc0c4e1a58b43204ee385397d8f21bf (patch) | |
tree | 2af0d233b59437db73347a748184a6287376a9a2 /svx | |
parent | 96e9fdd49b61d6342bde5a71098b3892f59fa38a (diff) |
non-desktop: Avoid pulling in avmedia.
Change-Id: Ie4a6a4ddb1615f917bccfb68b20cc1ac7587a2ca
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/sdr/contact/viewobjectcontactofsdrmediaobj.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/svx/source/sdr/contact/viewobjectcontactofsdrmediaobj.cxx b/svx/source/sdr/contact/viewobjectcontactofsdrmediaobj.cxx index 429ebbeef126..6881664fc241 100644 --- a/svx/source/sdr/contact/viewobjectcontactofsdrmediaobj.cxx +++ b/svx/source/sdr/contact/viewobjectcontactofsdrmediaobj.cxx @@ -43,6 +43,7 @@ ViewObjectContactOfSdrMediaObj::ViewObjectContactOfSdrMediaObj( ObjectContact& r ViewObjectContactOfSdrObj( rObjectContact, rViewContact ), mpMediaWindow( NULL ) { +#if HAVE_FEATURE_DESKTOP Window* pWindow = getWindow(); if( pWindow ) @@ -51,6 +52,7 @@ ViewObjectContactOfSdrMediaObj::ViewObjectContactOfSdrMediaObj( ObjectContact& r mpMediaWindow->hide(); executeMediaItem( rMediaItem ); } +#endif } |