summaryrefslogtreecommitdiff
path: root/sfx2/inc
diff options
context:
space:
mode:
authorMathias Bauer <mba@openoffice.org>2001-02-01 07:56:20 +0000
committerMathias Bauer <mba@openoffice.org>2001-02-01 07:56:20 +0000
commit959180a6ca789e2ea550bea1d13ebc2ecb6277c8 (patch)
treec6e9df5d7666601e720a2203473bf8e21097b15d /sfx2/inc
parent7c2be813f57ec4420f5c646940526c06a5506bb7 (diff)
new external filter API
Diffstat (limited to 'sfx2/inc')
-rw-r--r--sfx2/inc/frmload.hxx35
1 files changed, 2 insertions, 33 deletions
diff --git a/sfx2/inc/frmload.hxx b/sfx2/inc/frmload.hxx
index 751cee7c82fd..b4d490f16bf7 100644
--- a/sfx2/inc/frmload.hxx
+++ b/sfx2/inc/frmload.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: frmload.hxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: as $ $Date: 2000-11-28 14:37:03 $
+ * last change: $Author: mba $ $Date: 2001-02-01 08:56:20 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -71,14 +71,6 @@
#include <rtl/ustring>
#endif
- #ifndef __SGI_STL_HASH_MAP
- #include <stl/hash_map>
- #endif
-
- #ifndef __SGI_STL_ITERATOR
- #include <stl/iterator>
- #endif
-
#ifndef _TOOLS_DEBUG_HXX
#include <tools/debug.hxx>
#endif
@@ -168,23 +160,6 @@ namespace com
#define RUNTIME_EXCEPTION ::com::sun::star::uno::RuntimeException
#ifdef TF_FILTER//MUSTFILTER
-// Hash code function for calculation of map key.
-struct TStringHashFunction
-{
- size_t operator()(const ::rtl::OUString& sString) const
- {
- return sString.hashCode();
- }
-};
-
-// Declaration of string hash table for substitution of filter names.
-typedef ::std::hash_map< ::rtl::OUString ,
- ::rtl::OUString ,
- TStringHashFunction ,
- ::std::equal_to< ::rtl::OUString > > TFilterNames;
-
-typedef TFilterNames::const_iterator TConstConverterIterator;
-
class SfxFrameLoader : public ::cppu::WeakImplHelper2< ::com::sun::star::frame::XSynchronousFrameLoader, ::com::sun::star::document::XExtendedFilterDetection >
{
REFERENCE < ::com::sun::star::frame::XFrame > xFrame;
@@ -195,14 +170,8 @@ class SfxFrameLoader : public ::cppu::WeakImplHelper2< ::com::sun::star::frame::
SfxMedium* pMedium;
sal_Bool bLoadDone;
sal_Bool bLoadState;
- TFilterNames aConverterOld2New;
- TFilterNames aConverterNew2Old;
DECL_LINK( LoadDone_Impl, void* );
- void impl_initFilterHashOld2New( TFilterNames& aHash );
- void impl_initFilterHashNew2Old( TFilterNames& aHash );
- ::rtl::OUString impl_getNewFilterName( const ::rtl::OUString& sOldName );
- ::rtl::OUString impl_getOldFilterName( const ::rtl::OUString& sNewName );
public:
SfxFrameLoader( const REFERENCE < ::com::sun::star::lang::XMultiServiceFactory >& xFactory );