From 073b4eadd2a9a00b915c664df90b15d5b2d709c0 Mon Sep 17 00:00:00 2001 From: Samuel Mehrbrodt Date: Thu, 1 Mar 2018 12:17:46 +0100 Subject: tdf#116108 Add option to fit images into their cell Change-Id: I2e9a4f567049f11985e4bf914c2fa5bd1f181823 Reviewed-on: https://gerrit.libreoffice.org/50569 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt --- include/svx/svdomedia.hxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/svx/svdomedia.hxx') diff --git a/include/svx/svdomedia.hxx b/include/svx/svdomedia.hxx index f0bf09300aff..43356da4e302 100644 --- a/include/svx/svdomedia.hxx +++ b/include/svx/svdomedia.hxx @@ -69,6 +69,8 @@ public: GetInputStream(); void SetInputStream(css::uno::Reference const&); + virtual bool shouldKeepAspectRatio() const override { return true; } + private: void mediaPropertiesChanged( const ::avmedia::MediaItem& rNewState ); -- cgit v1.2.3