diff options
-rw-r--r-- | ucb/source/core/provprox.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ucb/source/core/provprox.cxx b/ucb/source/core/provprox.cxx index 6e2c562f4903..3163b891726d 100644 --- a/ucb/source/core/provprox.cxx +++ b/ucb/source/core/provprox.cxx @@ -29,6 +29,8 @@ // MARKER(update_precomp.py): autogen include statement, do not remove #include "precompiled_ucb.hxx" #include <osl/diagnose.h> +#include <osl/thread.h> +#include <rtl/strbuf.hxx> #include "provprox.hxx" #include <com/sun/star/lang/XInitialization.hpp> @@ -395,7 +397,7 @@ UcbContentProviderProxy::getContentProvider() } OSL_ENSURE( m_xProvider.is(), - "UcbContentProviderProxy::getContentProvider - No provider!" ); + rtl::OStringBuffer("UcbContentProviderProxy::getContentProvider - No provider for '").append(rtl::OUStringToOString(m_aService, osl_getThreadTextEncoding())).append(".").getStr() ); return m_xTargetProvider; } |