diff options
author | Sven Jacobi <sj@openoffice.org> | 2001-08-07 13:24:23 +0000 |
---|---|---|
committer | Sven Jacobi <sj@openoffice.org> | 2001-08-07 13:24:23 +0000 |
commit | 642baa16cf46efe2e134a409621d84189c26a192 (patch) | |
tree | 9e18597a3efa43bbde90d89b00f2b4c7e919a10c /svx/source/dialog/impgrf.cxx | |
parent | Merge SRC638: 07.08.01 - 16:20:25 (diff) | |
download | core-642baa16cf46efe2e134a409621d84189c26a192.tar.gz core-642baa16cf46efe2e134a409621d84189c26a192.zip |
#88709# removing unused code, which is now part of sfx2/source/dialog/filedlghelper.cxx
Diffstat (limited to 'svx/source/dialog/impgrf.cxx')
-rw-r--r-- | svx/source/dialog/impgrf.cxx | 54 |
1 files changed, 2 insertions, 52 deletions
diff --git a/svx/source/dialog/impgrf.cxx b/svx/source/dialog/impgrf.cxx index 62f5c48a084d..98ae7cf9998b 100644 --- a/svx/source/dialog/impgrf.cxx +++ b/svx/source/dialog/impgrf.cxx @@ -2,9 +2,9 @@ * * $RCSfile: impgrf.cxx,v $ * - * $Revision: 1.16 $ + * $Revision: 1.17 $ * - * last change: $Author: dv $ $Date: 2001-07-09 14:59:09 $ + * last change: $Author: sj $ $Date: 2001-08-07 14:24:23 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -137,56 +137,6 @@ USHORT GetImportFormatCount( GraphicFilter& rFlt ) // ----------------------------------------------------------------------- -String GetImportFormatName( GraphicFilter& rFlt, - USHORT nFormat, String pFmtStrs[] ) -{ - if ( rFlt.GetImportFormatCount() ) - return rFlt.GetImportFormatName( nFormat ); - else - return pFmtStrs[STR_FLT_BMP + nFormat].GetToken( 0, ',' ); -} - -// ----------------------------------------------------------------------- - -void GetImportFormatWildcard( GraphicFilter& rFlt, - sal_uInt16 nFormat, String& aDest ) -{ - String aWildcard; - sal_Int32 i = 0; - - while( TRUE ) - { - aWildcard = rFlt.GetImportWildcard( nFormat, i++ ); - if ( !aWildcard.Len() ) - break; - if ( aDest.Search( aWildcard ) == STRING_NOTFOUND ) - { - if ( aDest.Len() ) - aDest += sal_Unicode(';'); - aDest += aWildcard; - } - } -} - -// ----------------------------------------------------------------------- - -String GetImportFormatOSType( GraphicFilter& rFlt, USHORT nFormat, String pFmtStrs[] ) -{ - String aOSType; - - if ( rFlt.GetImportFormatCount() ) - aOSType = rFlt.GetImportFormatShortName( nFormat ); - else - { -#ifdef MAC - aOSType = pFmtStrs[STR_FLT_BMP + nFormat].GetToken( 2, ',' ); -#endif - } - return aOSType; -} - -// ----------------------------------------------------------------------- - GraphicFilter* DialogsResMgr::GetGrfFilter_Impl() { if( !pGrapicFilter ) |