diff options
author | Andreas Bregas <ab@openoffice.org> | 2000-12-19 16:40:54 +0000 |
---|---|---|
committer | Andreas Bregas <ab@openoffice.org> | 2000-12-19 16:40:54 +0000 |
commit | 1726926a4a0084c885ee0576923510b4ccf8f030 (patch) | |
tree | c32219672cbd45598cbe25c35efc33cc301b858f /sfx2 | |
parent | b083a2eeace93a9cb78cdd5a6e3856001653f140 (diff) |
#82395# SfxApplication::SaveBasicManager(): Replaced PathToFileName that doesn't work with wfs URLs
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/appl/appbas.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/appl/appbas.cxx b/sfx2/source/appl/appbas.cxx index dcd924897905..8d5cb1db1e27 100644 --- a/sfx2/source/appl/appbas.cxx +++ b/sfx2/source/appl/appbas.cxx @@ -2,9 +2,9 @@ * * $RCSfile: appbas.cxx,v $ * - * $Revision: 1.8 $ + * $Revision: 1.9 $ * - * last change: $Author: ab $ $Date: 2000-12-02 16:29:13 $ + * last change: $Author: ab $ $Date: 2000-12-19 17:40:54 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -536,7 +536,7 @@ sal_uInt16 SfxApplication::SaveBasicManager() const INetURLObject aAppBasicObj( aBasicPath.GetToken(1) ); aAppBasicObj.insertName( Application::GetAppName() ); aAppBasicObj.setExtension( DEFINE_CONST_UNICODE( "sbl" ) ); - String aAppBasicPath( aAppBasicObj.PathToFileName() ); + String aAppBasicPath( aAppBasicObj.GetMainURL() ); SvStorageRef aStor = new SvStorage( aAppBasicPath ); if ( aStor->GetError() == 0 ) { |