diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2022-07-05 13:54:42 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2022-07-05 18:04:31 +0200 |
commit | 92f531209675e1855798f513fb7698fceddd022b (patch) | |
tree | 4ae5ed1488499152ad325574dc288a97a4ef6523 /sd | |
parent | 9f72592591f1dfbfda79e1aecb161de97f2a1b73 (diff) |
fix build with disable-avmedia.
Change-Id: Ia57db9b2bcec4ff73e1332bb5b2197080343baa4
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136831
Tested-by: Jenkins
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/view/sdview.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sd/source/ui/view/sdview.cxx b/sd/source/ui/view/sdview.cxx index 9ab22b73bf5b..429a8c408753 100644 --- a/sd/source/ui/view/sdview.cxx +++ b/sd/source/ui/view/sdview.cxx @@ -17,6 +17,8 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <config_features.h> + #include <com/sun/star/embed/NoVisualAreaSizeException.hpp> #include <com/sun/star/embed/XEmbeddedObject.hpp> #include <com/sun/star/linguistic2/XSpellChecker1.hpp> @@ -143,11 +145,13 @@ View::~View() // release content of selection clipboard, if we own the content ClearSelectionClipboard(); +#if HAVE_FEATURE_AVMEDIA if (mxDropMediaSizeListener) { suppress_fun_call_w_exception(mxDropMediaSizeListener->dispose()); mxDropMediaSizeListener.clear(); } +#endif maDropErrorIdle.Stop(); maDropInsertFileIdle.Stop(); |