summaryrefslogtreecommitdiff
path: root/svx/source/sdr
diff options
context:
space:
mode:
authorRafael Dominguez <venccsralph@gmail.com>2012-06-28 09:47:41 -0430
committerRafael Dominguez <venccsralph@gmail.com>2012-06-28 09:47:41 -0430
commitfd174268bdea92d966feffbb312c0c3d19de3c5f (patch)
treee4619c6bfc5e1fdf6fe8aa471d5652d864bdff01 /svx/source/sdr
parent9295ceb1d3f9ba78881aef62c7059b4ef10177c4 (diff)
Remove avmedia dependency from drawinglayer.
Change-Id: If5c6bacd77783cc58da7fc31043bb9dd5bc4403d
Diffstat (limited to 'svx/source/sdr')
-rw-r--r--svx/source/sdr/contact/viewcontactofsdrmediaobj.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/svx/source/sdr/contact/viewcontactofsdrmediaobj.cxx b/svx/source/sdr/contact/viewcontactofsdrmediaobj.cxx
index 4b6eb2280b69..e1d0950d12a3 100644
--- a/svx/source/sdr/contact/viewcontactofsdrmediaobj.cxx
+++ b/svx/source/sdr/contact/viewcontactofsdrmediaobj.cxx
@@ -31,6 +31,7 @@
#include <svx/svdomedia.hxx>
#include <svx/sdr/contact/viewobjectcontactofsdrmediaobj.hxx>
#include <drawinglayer/primitive2d/mediaprimitive2d.hxx>
+#include <avmedia/mediawindow.hxx>
namespace sdr { namespace contact {
@@ -150,7 +151,8 @@ namespace sdr
const sal_uInt32 nPixelBorder(4L);
const drawinglayer::primitive2d::Primitive2DReference xRetval(
new drawinglayer::primitive2d::MediaPrimitive2D(
- aTransform, rURL, aBackgroundColor, nPixelBorder));
+ aTransform, rURL, aBackgroundColor, nPixelBorder,
+ avmedia::MediaWindow::grabFrame(rURL, true)));
return drawinglayer::primitive2d::Primitive2DSequence(&xRetval, 1);
}