summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--desktop/source/app/app.cxx4
-rw-r--r--vcl/source/app/salusereventlist.cxx4
2 files changed, 8 insertions, 0 deletions
diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx
index 9bded29ddcc7..0342be980292 100644
--- a/desktop/source/app/app.cxx
+++ b/desktop/source/app/app.cxx
@@ -1580,7 +1580,9 @@ int Desktop::Main()
}
// call Application::Execute to process messages in vcl message loop
+#ifndef IOS
try
+#endif
{
#if HAVE_FEATURE_JAVA
// The JavaContext contains an interaction handler which is used when
@@ -1600,6 +1602,7 @@ int Desktop::Main()
Execute();
}
}
+#ifndef IOS
catch(const css::document::CorruptedFilterConfigurationException& exFilterCfg)
{
RequestHandler::SetDowning();
@@ -1625,6 +1628,7 @@ int Desktop::Main()
RequestHandler::SetDowning();
FatalError( "Caught Unknown Exception: Aborting!");
}
+#endif
}
else
{
diff --git a/vcl/source/app/salusereventlist.cxx b/vcl/source/app/salusereventlist.cxx
index cb9104d7a5c1..088bc141f5a6 100644
--- a/vcl/source/app/salusereventlist.cxx
+++ b/vcl/source/app/salusereventlist.cxx
@@ -103,10 +103,13 @@ bool SalUserEventList::DispatchUserEvents( bool bHandleAllCurrentEvents )
continue;
}
+#ifndef IOS
try
+#endif
{
ProcessEvent( aEvent );
}
+#ifndef IOS
catch (css::uno::Exception&)
{
TOOLS_WARN_EXCEPTION("vcl", "Uncaught");
@@ -122,6 +125,7 @@ bool SalUserEventList::DispatchUserEvents( bool bHandleAllCurrentEvents )
SAL_WARN("vcl", "Uncaught exception during DispatchUserEvents!");
std::abort();
}
+#endif
aResettableListGuard.reset();
if (!bHandleAllCurrentEvents)
break;