diff options
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/control/valueacc.cxx | 2 | ||||
-rw-r--r-- | svtools/source/hatchwindow/documentcloser.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/svtools/source/control/valueacc.cxx b/svtools/source/control/valueacc.cxx index 088060b2fc4e..86d05054f001 100644 --- a/svtools/source/control/valueacc.cxx +++ b/svtools/source/control/valueacc.cxx @@ -665,7 +665,7 @@ void ValueSetAcc::ThrowIfDisposed() { SAL_WARN("svx", "Calling disposed object. Throwing exception:"); throw lang::DisposedException ( - OUString("object has been already disposed"), + "object has been already disposed", static_cast<uno::XWeak*>(this)); } else diff --git a/svtools/source/hatchwindow/documentcloser.cxx b/svtools/source/hatchwindow/documentcloser.cxx index eb51dfb8b8ac..f911712b1cd5 100644 --- a/svtools/source/hatchwindow/documentcloser.cxx +++ b/svtools/source/hatchwindow/documentcloser.cxx @@ -153,13 +153,13 @@ ODocumentCloser::ODocumentCloser(const css::uno::Sequence< css::uno::Any >& aArg sal_Int32 nLen = aArguments.getLength(); if ( nLen != 1 ) throw lang::IllegalArgumentException( - OUString("Wrong count of parameters!" ), + "Wrong count of parameters!", uno::Reference< uno::XInterface >(), 0 ); if ( !( aArguments[0] >>= m_xFrame ) || !m_xFrame.is() ) throw lang::IllegalArgumentException( - OUString("Nonempty reference is expected as the first argument!" ), + "Nonempty reference is expected as the first argument!", uno::Reference< uno::XInterface >(), 0 ); } |