diff options
author | Sven Jacobi <sj@openoffice.org> | 2001-01-25 14:31:53 +0000 |
---|---|---|
committer | Sven Jacobi <sj@openoffice.org> | 2001-01-25 14:31:53 +0000 |
commit | 5b1530f10f03b8897f2cf0dc8fd7e84d865576e8 (patch) | |
tree | 6bce81145e0a959a5031b8473072d96857366a3e /svx/source/dialog/impgrf.cxx | |
parent | #82824#: detection of filtername optimized (diff) | |
download | core-5b1530f10f03b8897f2cf0dc8fd7e84d865576e8.tar.gz core-5b1530f10f03b8897f2cf0dc8fd7e84d865576e8.zip |
#83082# converting PhysicalNameToUrl
Diffstat (limited to 'svx/source/dialog/impgrf.cxx')
-rw-r--r-- | svx/source/dialog/impgrf.cxx | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/svx/source/dialog/impgrf.cxx b/svx/source/dialog/impgrf.cxx index 4d30711070ff..d6188c8b9507 100644 --- a/svx/source/dialog/impgrf.cxx +++ b/svx/source/dialog/impgrf.cxx @@ -2,9 +2,9 @@ * * $RCSfile: impgrf.cxx,v $ * - * $Revision: 1.10 $ + * $Revision: 1.11 $ * - * last change: $Author: sj $ $Date: 2001-01-23 16:52:36 $ + * last change: $Author: sj $ $Date: 2001-01-25 15:31:53 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -93,6 +93,9 @@ #ifndef INCLUDED_SVTOOLS_VIEWOPTIONS_HXX #include <svtools/viewoptions.hxx> #endif +#ifndef _UNOTOOLS_LOCALFILEHELPER_HXX +#include <unotools/localfilehelper.hxx> +#endif #pragma hdrstop #include <ucbhelper/content.hxx> @@ -226,9 +229,9 @@ USHORT FillFilter( GraphicFilter& rFilter ) } rFilter.SetConfigPath( aFullConfigPath ); - INetURLObject aFilterPathUrl( aPathOpt.GetFilterPath() ); - if ( aFilterPathUrl.HasError() ) - aFilterPathUrl = INetURLObject( aPathOpt.GetFilterPath(), INET_PROT_FILE ); + String aURL; + ::utl::LocalFileHelper::ConvertPhysicalNameToURL( aPathOpt.GetFilterPath(), aURL ); + INetURLObject aFilterPathUrl( aURL ); rFilter.SetFilterPath( aFilterPathUrl ); INetURLObject aUserConfigPathUrl( aPathOpt.GetUserConfigPath() ); |