summaryrefslogtreecommitdiff
path: root/filter/source/svg/svgfilter.hxx
diff options
context:
space:
mode:
authorKai Ahrens <ka@openoffice.org>2002-08-15 13:36:30 +0000
committerKai Ahrens <ka@openoffice.org>2002-08-15 13:36:30 +0000
commitbdbd345a29eed205fe676aeb006ec9acda7e01b1 (patch)
tree11f168eb61f8ea007fdb20ef9a5394ce8cd486c8 /filter/source/svg/svgfilter.hxx
parentb762e93d90cf0a3036136740f4a7f7fb950fd4d4 (diff)
#100000#: syntax
Diffstat (limited to 'filter/source/svg/svgfilter.hxx')
-rw-r--r--filter/source/svg/svgfilter.hxx15
1 files changed, 12 insertions, 3 deletions
diff --git a/filter/source/svg/svgfilter.hxx b/filter/source/svg/svgfilter.hxx
index 2a3922aa2f2d..4c5190bf2315 100644
--- a/filter/source/svg/svgfilter.hxx
+++ b/filter/source/svg/svgfilter.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: svgfilter.hxx,v $
*
- * $Revision: 1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: ka $ $Date: 2002-08-05 13:40:05 $
+ * last change: $Author: ka $ $Date: 2002-08-15 14:36:30 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -222,6 +222,15 @@ public:
const GDIMetaFile& GetRepresentation() const { return *mpMtf; }
};
+// ---------------------------
+// - HashReferenceXInterface -
+// ---------------------------
+
+struct HashReferenceXInterface
+{
+ size_t operator()( const Reference< XInterface >& rxIf ) const { return reinterpret_cast< size_t >( rxIf.get() ); }
+};
+
// -------------
// - SVGFilter -
// -------------
@@ -235,7 +244,7 @@ class SVGFilter : public cppu::WeakImplHelper5 < XFilter,
XInitialization,
XServiceInfo >
{
- typedef ::std::hash_map< Reference< XInterface >, ObjectRepresentation, hash< Reference< XInterface > > > ObjectMap;
+ typedef ::std::hash_map< Reference< XInterface >, ObjectRepresentation, HashReferenceXInterface > ObjectMap;
private: