diff options
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/doc/objstor.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sfx2/source/doc/objstor.cxx b/sfx2/source/doc/objstor.cxx index 19035097c705..c20d8f0fc6a7 100644 --- a/sfx2/source/doc/objstor.cxx +++ b/sfx2/source/doc/objstor.cxx @@ -2,9 +2,9 @@ * * $RCSfile: objstor.cxx,v $ * - * $Revision: 1.12 $ + * $Revision: 1.13 $ * - * last change: $Author: ka $ $Date: 2000-12-07 19:16:28 $ + * last change: $Author: mba $ $Date: 2000-12-20 21:28:30 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1454,7 +1454,8 @@ sal_Bool SfxObjectShell::SaveAs_Impl(sal_Bool bUrl, SfxRequest *pRequest) String aPath( aLastName ); bool bWasAbsolute = FALSE; INetURLObject aObj( SvtPathOptions().GetWorkPath() ); - aObj.RelToAbs( aPath, bWasAbsolute ); + aObj.setFinalSlash(); + aObj = INetURLObject( aObj.RelToAbs( aPath, bWasAbsolute ) ); aObj.SetExtension( pFilt->GetDefaultExtension().Copy(2) ); pDlg->SetPath( aObj.GetMainURL() ); } |