[Libreoffice-commits] core.git: sd/source solenv/bin

Tomaž Vajngerl (via logerrit) logerrit at kemper.freedesktop.org
Wed Oct 9 08:32:52 UTC 2019


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

New commits:
commit 173595f7c4ce8e2dc2fedfa78eedbff2f9efdb20
Author:     Tomaž Vajngerl <tomaz.vajngerl at collabora.co.uk>
AuthorDate: Wed Oct 9 09:27:48 2019 +0200
Commit:     Tomaž Vajngerl <quikee at gmail.com>
CommitDate: Wed Oct 9 10:31:29 2019 +0200

    make impress sidebar work on iOS - missing PanelFactory
    
    add org_openoffice_comp_Draw_framework_PanelFactory_get_implementation
    make it build
    
    Change-Id: I522f3d684c52caf15a78d5eff29e78e645588481
    Reviewed-on: https://gerrit.libreoffice.org/80515
    Tested-by: Jenkins
    Reviewed-by: Tomaž Vajngerl <quikee at gmail.com>

diff --git a/sd/source/ui/animations/CustomAnimationDialog.cxx b/sd/source/ui/animations/CustomAnimationDialog.cxx
index 743d08ddc71d..299806bdf22c 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>
@@ -2236,6 +2238,7 @@ void CustomAnimationEffectTabPage::openSoundFileDialog()
 
 void CustomAnimationEffectTabPage::onSoundPreview()
 {
+#if HAVE_FEATURE_AVMEDIA
     const auto nPos = mxLBSound->get_active();
 
     if( nPos >= 2 ) try
@@ -2248,6 +2251,7 @@ void CustomAnimationEffectTabPage::onSoundPreview()
     {
         OSL_FAIL("CustomAnimationEffectTabPage::onSoundPreview(), exception caught!" );
     }
+#endif
 }
 
 class CustomAnimationDurationTabPage
diff --git a/solenv/bin/native-code.py b/solenv/bin/native-code.py
index a56831ac48ee..c016e8afc71e 100755
--- a/solenv/bin/native-code.py
+++ b/solenv/bin/native-code.py
@@ -411,6 +411,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


More information about the Libreoffice-commits mailing list