summaryrefslogtreecommitdiffstats
path: root/svx/source/dialog/impgrf.cxx
diff options
context:
space:
mode:
authorSven Jacobi <sj@openoffice.org>2001-03-07 19:20:02 +0000
committerSven Jacobi <sj@openoffice.org>2001-03-07 19:20:02 +0000
commitee8a3315479934f36efd8406067fedce31366317 (patch)
treedc3d255c8592fc6726db0ecac3d206c5bacd8d1b /svx/source/dialog/impgrf.cxx
parentFixed bug storing UnicodeStrings (diff)
downloadcore-ee8a3315479934f36efd8406067fedce31366317.tar.gz
core-ee8a3315479934f36efd8406067fedce31366317.zip
api changes, GraphicFilter now using Configuration Management
Diffstat (limited to 'svx/source/dialog/impgrf.cxx')
-rw-r--r--svx/source/dialog/impgrf.cxx18
1 files changed, 3 insertions, 15 deletions
diff --git a/svx/source/dialog/impgrf.cxx b/svx/source/dialog/impgrf.cxx
index 24522d6be616..140089b1cde7 100644
--- a/svx/source/dialog/impgrf.cxx
+++ b/svx/source/dialog/impgrf.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: impgrf.cxx,v $
*
- * $Revision: 1.12 $
+ * $Revision: 1.13 $
*
- * last change: $Author: sj $ $Date: 2001-02-22 11:41:38 $
+ * last change: $Author: sj $ $Date: 2001-03-07 20:16:51 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -171,7 +171,7 @@ String GetImportFormatOSType( GraphicFilter& rFlt, USHORT nFormat, String pFmtSt
String aOSType;
if ( rFlt.GetImportFormatCount() )
- aOSType = rFlt.GetImportFormatType( nFormat );
+ aOSType = rFlt.GetImportFormatShortName( nFormat );
else
{
#ifdef MAC
@@ -209,18 +209,6 @@ GraphicFilter* GetGrfFilter()
USHORT FillFilter( GraphicFilter& rFilter )
{
ResMgr* pMgr = DIALOG_MGR();
- SvtPathOptions aPathOpt;
- String aURL;
- ::utl::LocalFileHelper::ConvertPhysicalNameToURL( aPathOpt.GetFilterPath(), aURL );
- INetURLObject aFilterPathUrl( aURL );
- rFilter.SetFilterPath( aFilterPathUrl );
-
- INetURLObject aUserConfigPathUrl( aPathOpt.GetUserConfigPath() );
- if ( aUserConfigPathUrl.HasError() )
- aUserConfigPathUrl = INetURLObject( aPathOpt.GetUserConfigPath(), INET_PROT_FILE );
- aUserConfigPathUrl.Append( UniString::CreateFromAscii( RTL_CONSTASCII_STRINGPARAM( IMPGRF_GRAPHIC_OPTIONS_FILE ) ) );
- rFilter.SetOptionsConfigPath( aUserConfigPathUrl );
-
return rFilter.GetImportFormatCount();
}