diff options
author | Kai Ahrens <ka@openoffice.org> | 2001-07-30 12:17:08 +0000 |
---|---|---|
committer | Kai Ahrens <ka@openoffice.org> | 2001-07-30 12:17:08 +0000 |
commit | 30e295dab774e7ed2c574668854c3d979fad2535 (patch) | |
tree | b721b7f9e3cca16f328e4c0349599f65b81b9927 /svx/source/svdraw/svdotxln.cxx | |
parent | b0dfba42edeacd98dd3fa835a14ee92dea8f7b3c (diff) |
#89545#: GetMainURL changes (no default parameter anymore)
Diffstat (limited to 'svx/source/svdraw/svdotxln.cxx')
-rw-r--r-- | svx/source/svdraw/svdotxln.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/svdraw/svdotxln.cxx b/svx/source/svdraw/svdotxln.cxx index 852eb1813175..c5a91c2f2366 100644 --- a/svx/source/svdraw/svdotxln.cxx +++ b/svx/source/svdraw/svdotxln.cxx @@ -2,9 +2,9 @@ * * $RCSfile: svdotxln.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: ka $ $Date: 2001-06-22 15:43:42 $ + * last change: $Author: ka $ $Date: 2001-07-30 13:17:08 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -349,7 +349,7 @@ FASTBOOL SdrTextObj::ReloadLinkedText(FASTBOOL bForceLoad) INetURLObject aURL( pData->aFileName ); DBG_ASSERT( aURL.GetProtocol() != INET_PROT_NOT_VALID, "invalid URL" ); - ::ucb::Content aCnt( aURL.GetMainURL(), ::com::sun::star::uno::Reference< ::com::sun::star::ucb::XCommandEnvironment >() ); + ::ucb::Content aCnt( aURL.GetMainURL( INetURLObject::NO_DECODE ), ::com::sun::star::uno::Reference< ::com::sun::star::ucb::XCommandEnvironment >() ); ::com::sun::star::uno::Any aAny( aCnt.getPropertyValue( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "DateModified" ) ) ) ); ::com::sun::star::util::DateTime aDateTime; @@ -398,7 +398,7 @@ FASTBOOL SdrTextObj::LoadText(const String& rFileName, const String& rFilterName DBG_ASSERT( aFileURL.GetProtocol() != INET_PROT_NOT_VALID, "invalid URL" ); - SvStream* pIStm = ::utl::UcbStreamHelper::CreateStream( aFileURL.GetMainURL(), STREAM_READ ); + SvStream* pIStm = ::utl::UcbStreamHelper::CreateStream( aFileURL.GetMainURL( INetURLObject::NO_DECODE ), STREAM_READ ); if( pIStm ) { |