diff options
Diffstat (limited to 'framework/source/jobs/job.cxx')
-rw-r--r-- | framework/source/jobs/job.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/source/jobs/job.cxx b/framework/source/jobs/job.cxx index 711bd47b5823..9cb4f6237119 100644 --- a/framework/source/jobs/job.cxx +++ b/framework/source/jobs/job.cxx @@ -700,7 +700,7 @@ void SAL_CALL Job::queryTermination( /*IN*/ const css::lang::EventObject& ) if (m_eRunState != E_STOPPED_OR_FINISHED) { css::uno::Reference< css::uno::XInterface > xThis(static_cast< ::cppu::OWeakObject* >(this), css::uno::UNO_QUERY); - throw css::frame::TerminationVetoException("job still in progress", xThis); + throw css::frame::TerminationVetoException(u"job still in progress"_ustr, xThis); } } @@ -792,7 +792,7 @@ void SAL_CALL Job::queryClosing( const css::lang::EventObject& aEvent , // throw suitable veto exception - because the internal job could not be cancelled. css::uno::Reference< css::uno::XInterface > xThis(static_cast< ::cppu::OWeakObject* >(this), css::uno::UNO_QUERY); - throw css::util::CloseVetoException("job still in progress", xThis); + throw css::util::CloseVetoException(u"job still in progress"_ustr, xThis); } // No veto ... |