[Libreoffice-commits] .: writerfilter/source

Joseph Powers jpowers at kemper.freedesktop.org
Sun Feb 6 08:04:24 PST 2011


 writerfilter/source/resourcemodel/WW8Analyzer.hxx |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

New commits:
commit 589048abe9fdb9aa9c66d88d1d1b9978805505e6
Author: Joseph Powers <jpowers27 at cox.net>
Date:   Sun Feb 6 08:04:18 2011 -0800

    Use boost::hash instead if std:hash

diff --git a/writerfilter/source/resourcemodel/WW8Analyzer.hxx b/writerfilter/source/resourcemodel/WW8Analyzer.hxx
index 9c299a3..0f29738 100644
--- a/writerfilter/source/resourcemodel/WW8Analyzer.hxx
+++ b/writerfilter/source/resourcemodel/WW8Analyzer.hxx
@@ -2,7 +2,7 @@
 /*************************************************************************
  *
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- * 
+ *
  * Copyright 2000, 2010 Oracle and/or its affiliates.
  *
  * OpenOffice.org - a multi-platform office productivity suite
@@ -43,12 +43,12 @@ struct eqSalUInt32
     bool operator () (sal_uInt32 n1, sal_uInt32 n2) const;
 };
 
-class WW8Analyzer : public Properties, public Table, 
+class WW8Analyzer : public Properties, public Table,
                     public BinaryObj, public Stream
 {
     typedef map<sal_uInt32, sal_uInt32> SprmMap;
 
-    typedef boost::unordered_set<sal_uInt32, hash<sal_uInt32>, eqSalUInt32> IdSet;
+    typedef boost::unordered_set<sal_uInt32, boost::hash<sal_uInt32>, eqSalUInt32> IdSet;
     typedef map<Id, sal_uInt32> AttributeMap;
 
     mutable SprmMap mSprmMap;
@@ -70,7 +70,7 @@ public:
     virtual void entry(int pos, writerfilter::Reference<Properties>::Pointer_t ref);
 
     // BinaryObj
-    
+
     virtual void data(const sal_uInt8* buf, size_t len,
                       writerfilter::Reference<Properties>::Pointer_t ref);
 
@@ -85,9 +85,9 @@ public:
     virtual void text(const sal_uInt8 * data, size_t len);
     virtual void utext(const sal_uInt8 * data, size_t len);
     virtual void props(writerfilter::Reference<Properties>::Pointer_t ref);
-    virtual void table(Id name, 
+    virtual void table(Id name,
                        writerfilter::Reference<Table>::Pointer_t ref);
-    virtual void substream(Id name, 
+    virtual void substream(Id name,
                            writerfilter::Reference<Stream>::Pointer_t ref);
     virtual void info(const string & info);
     virtual void startShape( ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > xShape );


More information about the Libreoffice-commits mailing list