summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2019-10-09 09:31:52 +0200
committerTomaž Vajngerl <quikee@gmail.com>2019-10-09 10:31:59 +0200
commit400cc072ab8498048aad7d07930e1503bb1a0406 (patch)
treed12d06b615b892646c72d2ddf6837f946c07f4d4
parent0d1131a3a004ef72b30e5b7fdbfdc58ac1902468 (diff)
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 <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com>
-rw-r--r--sd/source/ui/animations/CustomAnimationDialog.cxx4
-rwxr-xr-xsolenv/bin/native-code.py1
2 files changed, 5 insertions, 0 deletions
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