diff options
author | Rüdiger Timm <rt@openoffice.org> | 2005-01-11 11:10:59 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2005-01-11 11:10:59 +0000 |
commit | 99d7a369b8e6bf2cf8294d4176b079969bb7434d (patch) | |
tree | 46334ab8e8e635627609fa41f2f318f825e3e522 /sd/source | |
parent | d62114c31711f4133df39a14f6dbfe4a5e396a82 (diff) |
INTEGRATION: CWS sb19 (1.19.42); FILE MERGED
2004/12/08 14:36:34 sb 1.19.42.2: RESYNC: (1.19-1.20); FILE MERGED
2004/10/27 07:32:33 mba 1.19.42.1: #110407#: remove static BaseURL
Diffstat (limited to 'sd/source')
-rw-r--r-- | sd/source/ui/dlg/sdtreelb.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sd/source/ui/dlg/sdtreelb.cxx b/sd/source/ui/dlg/sdtreelb.cxx index f58d4c05aa37..421eeb053806 100644 --- a/sd/source/ui/dlg/sdtreelb.cxx +++ b/sd/source/ui/dlg/sdtreelb.cxx @@ -2,9 +2,9 @@ * * $RCSfile: sdtreelb.cxx,v $ * - * $Revision: 1.20 $ + * $Revision: 1.21 $ * - * last change: $Author: rt $ $Date: 2004-11-26 20:04:15 $ + * last change: $Author: rt $ $Date: 2005-01-11 12:10:59 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1020,10 +1020,9 @@ void SdPageObjsTLB::DoDrag() if( pDropNavWin ) { ::sd::DrawDocShell* pDocShell = pDoc->GetDocSh(); - String aURL( pDocShell->GetMedium()->GetPhysicalName() ); + String aURL = INetURLObject( pDocShell->GetMedium()->GetPhysicalName(), INET_PROT_FILE ).GetMainURL( INetURLObject::NO_DECODE ); NavigatorDragType eDragType = pDropNavWin->GetNavigatorDragType(); - aURL = ::URIHelper::SmartRelToAbs( aURL, FALSE, INetURLObject::WAS_ENCODED, INetURLObject::DECODE_UNAMBIGUOUS ); aURL.Append( '#' ); aURL.Append( GetSelectEntry() ); |