diff options
author | Stephan Schäfer <ssa@openoffice.org> | 2001-06-08 15:11:40 +0000 |
---|---|---|
committer | Stephan Schäfer <ssa@openoffice.org> | 2001-06-08 15:11:40 +0000 |
commit | 6c0de6f893c630f7b0c25a3d29439dfde64df9d0 (patch) | |
tree | 5be02d430e7eb5cb57304dcaf1c93bd07406fc11 /vcl/source | |
parent | d11a3b40d8c9b4a1a704025ad1357e65f21f6476 (diff) |
#87566# use file url
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/app/svdata.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/vcl/source/app/svdata.cxx b/vcl/source/app/svdata.cxx index 7d87e46c135c..80dcb19c2d8e 100644 --- a/vcl/source/app/svdata.cxx +++ b/vcl/source/app/svdata.cxx @@ -2,9 +2,9 @@ * * $RCSfile: svdata.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: ssa $ $Date: 2001-05-18 08:00:38 $ + * last change: $Author: ssa $ $Date: 2001-06-08 16:11:40 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -177,7 +177,9 @@ void ImplDeInitSVData() pSVData->maAppData.mxMSF = NULL; } - osl::File::remove( *pSVData->maAppData.mpMSFTempFileName ); + ::rtl::OUString aFileUrl; + ::osl::File::getFileURLFromSystemPath( *pSVData->maAppData.mpMSFTempFileName, aFileUrl ); + osl::File::remove( aFileUrl ); delete pSVData->maAppData.mpMSFTempFileName; pSVData->maAppData.mpMSFTempFileName = NULL; } |