summaryrefslogtreecommitdiffstats
path: root/ucbhelper
diff options
context:
space:
mode:
authorsb <sb@openoffice.org>2010-03-04 23:05:27 +0100
committersb <sb@openoffice.org>2010-03-04 23:05:27 +0100
commit04055605c98c9862e1fdfc7e8e3a488957f3c7b6 (patch)
treef007c51208984638d80ba58240d3a5615def2917 /ucbhelper
parentsb118: #i109791# improved CPPUNIT_CFLAGS handling (diff)
parentCWS-TOOLING: integrate CWS cmcfixes70 (diff)
downloadcore-04055605c98c9862e1fdfc7e8e3a488957f3c7b6.tar.gz
core-04055605c98c9862e1fdfc7e8e3a488957f3c7b6.zip
merged in re/DEV300_next towards DEV300_m74
Diffstat (limited to 'ucbhelper')
-rw-r--r--ucbhelper/source/client/content.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/ucbhelper/source/client/content.cxx b/ucbhelper/source/client/content.cxx
index 451c629694c6..4debb1728bfe 100644
--- a/ucbhelper/source/client/content.cxx
+++ b/ucbhelper/source/client/content.cxx
@@ -337,12 +337,14 @@ static Reference< XContent > getContent(
if ( xProvider.is() )
{
Reference< XContent > xContent;
+ rtl::OUString msg;
try
{
xContent = xProvider->queryContent( xId );
}
- catch ( IllegalIdentifierException const & )
+ catch ( IllegalIdentifierException const & e )
{
+ msg = e.Message;
// handled below.
}
@@ -355,7 +357,7 @@ static Reference< XContent > getContent(
throw ContentCreationException(
rtl::OUString::createFromAscii(
- "Unable to create Content!" ),
+ "Unable to create Content! " ) + msg,
Reference< XInterface >(),
ContentCreationError_CONTENT_CREATION_FAILED );
}