summaryrefslogtreecommitdiff
path: root/ucbhelper
diff options
context:
space:
mode:
authorKai Sommerfeld <kso@openoffice.org>2002-09-06 10:13:30 +0000
committerKai Sommerfeld <kso@openoffice.org>2002-09-06 10:13:30 +0000
commit251cd48799d535bf34c0b99757a153cac5a849e3 (patch)
treec3bd56420298e89bed359f174e351f0f8c4213b7 /ucbhelper
parent128a15c9b3f41f0b35e9339826d98a328724a5d7 (diff)
#92581# - Fix did not work in 'product' build. Have to save content's
URL in Content_Impl::reinit.
Diffstat (limited to 'ucbhelper')
-rw-r--r--ucbhelper/source/client/content.cxx14
1 files changed, 10 insertions, 4 deletions
diff --git a/ucbhelper/source/client/content.cxx b/ucbhelper/source/client/content.cxx
index c153fb54c317..82f2548ee67c 100644
--- a/ucbhelper/source/client/content.cxx
+++ b/ucbhelper/source/client/content.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: content.cxx,v $
*
- * $Revision: 1.22 $
+ * $Revision: 1.23 $
*
- * last change: $Author: kso $ $Date: 2002-06-21 14:53:34 $
+ * last change: $Author: kso $ $Date: 2002-09-06 11:13:30 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1544,7 +1544,8 @@ Content_Impl::Content_Impl( const Reference< XMultiServiceFactory >& rSMgr,
m_xContent->addContentEventListener( m_xContentEventListener );
#ifdef DEBUG
- // Only done on demand in product version, but a nice debug helper.
+ // Only done on demand in product version for performance reasons,
+ // but a nice debug helper.
getURL();
#endif
}
@@ -1577,12 +1578,17 @@ void Content_Impl::reinit( const Reference< XContent >& xContent )
m_xContent->addContentEventListener( m_xContentEventListener );
#ifdef DEBUG
- // Only done on demand in product version, but a nice debug helper.
+ // Only done on demand in product version for performance reasons,
+ // but a nice debug helper.
getURL();
#endif
}
else
{
+ // We need m_xContent's URL in order to be able to create the
+ // content object again if demanded ( --> Content_Impl::getContent() )
+ getURL();
+
m_xContent = 0;
}
}