diff options
Diffstat (limited to 'sd/source/ui/framework/factories/Pane.cxx')
-rw-r--r-- | sd/source/ui/framework/factories/Pane.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sd/source/ui/framework/factories/Pane.cxx b/sd/source/ui/framework/factories/Pane.cxx index 449b3d68b2db..6ae18d03d0e6 100644 --- a/sd/source/ui/framework/factories/Pane.cxx +++ b/sd/source/ui/framework/factories/Pane.cxx @@ -247,9 +247,7 @@ void Pane::ThrowIfDisposed (void) const { if (rBHelper.bDisposed || rBHelper.bInDispose) { - throw lang::DisposedException ( - ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( - "Pane object has already been disposed")), + throw lang::DisposedException ("Pane object has already been disposed", const_cast<uno::XWeak*>(static_cast<const uno::XWeak*>(this))); } } |