Kaydet (Commit) 87b6dac1 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Try ignoring RuntimeException in ComḿandBars(), VB6 clients don't like them?

Change-Id: Ia577174fac926295db439349f6caca178b363ba0
üst a3b14307
...@@ -167,7 +167,14 @@ SwVbaApplication::getOptions() ...@@ -167,7 +167,14 @@ SwVbaApplication::getOptions()
uno::Any SAL_CALL uno::Any SAL_CALL
SwVbaApplication::CommandBars( const uno::Any& aIndex ) SwVbaApplication::CommandBars( const uno::Any& aIndex )
{ {
return VbaApplicationBase::CommandBars( aIndex ); try
{
return VbaApplicationBase::CommandBars( aIndex );
}
catch (const uno::RuntimeException&)
{
return uno::Any();
}
} }
uno::Reference< word::XSelection > SAL_CALL uno::Reference< word::XSelection > SAL_CALL
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment