summaryrefslogtreecommitdiff
path: root/desktop/source/deployment/registry
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2008-05-20 13:33:14 +0000
committerKurt Zenker <kz@openoffice.org>2008-05-20 13:33:14 +0000
commitf745e94926a056415024765598d3bb72e5796791 (patch)
tree88839a9b6e84fd58052acd48da3b309137adafc9 /desktop/source/deployment/registry
parentb2b6cfcf4678a22db733663f40a57a73108c964a (diff)
INTEGRATION: CWS jl100_DEV300 (1.15.114); FILE MERGED
2008/05/13 15:08:19 jl 1.15.114.1: #156271# The package::getMyBackend functions now throw a DisposedException
Diffstat (limited to 'desktop/source/deployment/registry')
-rw-r--r--desktop/source/deployment/registry/dp_backend.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/desktop/source/deployment/registry/dp_backend.cxx b/desktop/source/deployment/registry/dp_backend.cxx
index cfa6eba68b..09321f6cf7 100644
--- a/desktop/source/deployment/registry/dp_backend.cxx
+++ b/desktop/source/deployment/registry/dp_backend.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: dp_backend.cxx,v $
- * $Revision: 1.16 $
+ * $Revision: 1.17 $
*
* This file is part of OpenOffice.org.
*
@@ -217,13 +217,13 @@ void Package::disposing()
}
//______________________________________________________________________________
-void Package::check()
+void Package::check() const
{
::osl::MutexGuard guard( getMutex() );
if (rBHelper.bInDispose || rBHelper.bDisposed) {
throw lang::DisposedException(
OUSTR("Package instance has already been disposed!"),
- static_cast<OWeakObject *>(this) );
+ static_cast<OWeakObject *>(const_cast<Package *>(this)));
}
}