summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2007-08-02 16:04:13 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2007-08-02 16:04:13 +0000
commit0533b406c4fc0a7b2293ef5ac9ac3d0db73c599e (patch)
tree9e408a10faf03e2a96d836da0b7b7cf7315883d6
parent5180a17aae3b709d4012c64ac1b9e6b13bffb206 (diff)
INTEGRATION: CWS fwk69 (1.23.38); FILE MERGED
2007/07/24 08:47:57 as 1.23.38.1: #i66598# use new property of MediaDescriptor named DocumentBaseURL to make hyperlinks working in recovery use case
-rw-r--r--framework/source/services/autorecovery.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/framework/source/services/autorecovery.cxx b/framework/source/services/autorecovery.cxx
index ce6af8c994ef..828a995ce67b 100644
--- a/framework/source/services/autorecovery.cxx
+++ b/framework/source/services/autorecovery.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: autorecovery.cxx,v $
*
- * $Revision: 1.23 $
+ * $Revision: 1.24 $
*
- * last change: $Author: ihi $ $Date: 2007-06-05 14:45:48 $
+ * last change: $Author: hr $ $Date: 2007-08-02 17:04:13 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -2399,6 +2399,10 @@ void AutoRecovery::implts_saveOneDoc(const ::rtl::OUString&
lNewArgs[::comphelper::MediaDescriptor::PROP_STATUSINDICATOR()] <<= xExternalProgress;
impl_establishProgress(rInfo, lNewArgs, css::uno::Reference< css::frame::XFrame >());
+ // #i66598# use special handling of property "DocumentBaseURL" (it must be an empty string!)
+ // for make hyperlinks working
+ lNewArgs[::comphelper::MediaDescriptor::PROP_DOCUMENTBASEURL()] <<= ::rtl::OUString();
+
// try to save this document as a new temp file everytimes.
// Mark AutoSave state as "INCOMPLETE" if it failed.
// Because the last temp file is to old and does not include all changes.