diff options
Diffstat (limited to 'embeddedobj/source/general/docholder.cxx')
-rw-r--r-- | embeddedobj/source/general/docholder.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embeddedobj/source/general/docholder.cxx b/embeddedobj/source/general/docholder.cxx index 753ba2da6707..7fb23f8e1c12 100644 --- a/embeddedobj/source/general/docholder.cxx +++ b/embeddedobj/source/general/docholder.cxx @@ -1121,7 +1121,7 @@ void SAL_CALL DocumentHolder::queryClosing( const lang::EventObject& aSource, sa throw (util::CloseVetoException, uno::RuntimeException, std::exception) { if ( m_xComponent.is() && m_xComponent == aSource.Source && !m_bAllowClosing ) - throw util::CloseVetoException(); + throw util::CloseVetoException("To close an embedded document, close the document holder (document definition), not the document itself.", static_cast< ::cppu::OWeakObject*>(this)); } |