sd/source/ui/animations/CustomAnimationDialog.cxx |    4 ++++
 solenv/bin/native-code.py                         |    1 +
 2 files changed, 5 insertions(+)

New commits:
commit 400cc072ab8498048aad7d07930e1503bb1a0406
Author:     Tomaž Vajngerl <[email protected]>
AuthorDate: Wed Oct 9 09:31:52 2019 +0200
Commit:     Tomaž Vajngerl <[email protected]>
CommitDate: Wed Oct 9 10:31:59 2019 +0200

    make impress sidebar work on iOS - missing PanelFactory
    
    add org_openoffice_comp_Draw_framework_PanelFactory_get_implementation
    make it build
    
    Change-Id: I738fe4c2d08437986976eaa29483c30a5ba42e62
    Reviewed-on: https://gerrit.libreoffice.org/80514
    Reviewed-by: Tomaž Vajngerl <[email protected]>
    Tested-by: Tomaž Vajngerl <[email protected]>

diff --git a/sd/source/ui/animations/CustomAnimationDialog.cxx 
b/sd/source/ui/animations/CustomAnimationDialog.cxx
index 71f5abb15b0a..545b3cc25019 100644
--- a/sd/source/ui/animations/CustomAnimationDialog.cxx
+++ b/sd/source/ui/animations/CustomAnimationDialog.cxx
@@ -17,6 +17,8 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
+#include <config_features.h>
+
 #include <com/sun/star/presentation/EffectNodeType.hpp>
 #include <com/sun/star/animations/Timing.hpp>
 #include <com/sun/star/animations/Event.hpp>
@@ -1549,6 +1551,7 @@ void CustomAnimationEffectTabPage::openSoundFileDialog()
 
 void CustomAnimationEffectTabPage::onSoundPreview()
 {
+#if HAVE_FEATURE_AVMEDIA
     const sal_Int32 nPos = mpLBSound->GetSelectedEntryPos();
 
     if( nPos >= 2 ) try
@@ -1561,6 +1564,7 @@ void CustomAnimationEffectTabPage::onSoundPreview()
     {
         OSL_FAIL("CustomAnimationEffectTabPage::onSoundPreview(), exception 
caught!" );
     }
+#endif
 }
 
 class CustomAnimationDurationTabPage : public TabPage
diff --git a/solenv/bin/native-code.py b/solenv/bin/native-code.py
index 58bd3929fdd2..d29a1a0b941f 100755
--- a/solenv/bin/native-code.py
+++ b/solenv/bin/native-code.py
@@ -355,6 +355,7 @@ draw_constructor_list = [
     "com_sun_star_comp_Draw_framework_ResourceID_get_implementation",
     
"com_sun_star_comp_Draw_framework_configuration_ConfigurationController_get_implementation",
     
"com_sun_star_comp_Draw_framework_module_ModuleController_get_implementation",
+    "org_openoffice_comp_Draw_framework_PanelFactory_get_implementation",
 # sd/util/sdd.component
     "com_sun_star_comp_draw_FormatDetector_get_implementation",
 # sd/util/sdfilt.component
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to