[PATCH 12/31] Replace ScfRef with boost in xerecord.hxx

Nigel Hawkins n.hawkins at gmx.com
Thu Nov 18 11:58:30 PST 2010


---
 sc/source/filter/inc/xerecord.hxx |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/sc/source/filter/inc/xerecord.hxx b/sc/source/filter/inc/xerecord.hxx
index dc536e4..d67a4ce 100644
--- a/sc/source/filter/inc/xerecord.hxx
+++ b/sc/source/filter/inc/xerecord.hxx
@@ -31,6 +31,7 @@
 
 #include "xlconst.hxx"
 #include "xestream.hxx"
+#include <boost/shared-ptr.hpp>
 
 // Base classes to export Excel records =======================================
 
@@ -333,7 +334,7 @@ template< typename RecType = XclExpRecordBase >
 class XclExpRecordList : public XclExpRecordBase
 {
 public:
-    typedef ScfRef< RecType > RecordRefType;
+    typedef boost::shared_ptr< RecType > RecordRefType;
 
     /** Returns pointer to an existing record or 0 on error. */
     inline bool         IsEmpty() const { return maRecs.empty(); }
-- 
1.7.0.4


--=-qLwfU1BKYMIcJNs5pkFI
Content-Disposition: attachment; filename="0013-Fix-typos-in-previous-checkins.patch"
Content-Type: text/x-patch; name="0013-Fix-typos-in-previous-checkins.patch"; charset="UTF-8"
Content-Transfer-Encoding: 7bit



More information about the LibreOffice mailing list