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 d3e7ca9a0504..53c7603e0b60 100644 --- a/framework/source/jobs/job.cxx +++ b/framework/source/jobs/job.cxx @@ -720,7 +720,7 @@ void SAL_CALL Job::queryTermination( /*IN*/ const css::lang::EventObject& ) thro 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(DECLARE_ASCII("job still in progress"), xThis); + throw css::frame::TerminationVetoException("job still in progress", xThis); } aReadLock.unlock(); @@ -820,7 +820,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(DECLARE_ASCII("job still in progress"), xThis); + throw css::util::CloseVetoException("job still in progress", xThis); } // No veto ... |