[PATCH 26/31] Replace ScfRef with boost in xlformula.hxx

Nigel Hawkins n.hawkins at gmx.com
Thu Nov 18 12:17:36 PST 2010


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

diff --git a/sc/source/filter/inc/xlformula.hxx b/sc/source/filter/inc/xlformula.hxx
index d89e01d..fe02260 100644
--- a/sc/source/filter/inc/xlformula.hxx
+++ b/sc/source/filter/inc/xlformula.hxx
@@ -33,6 +33,7 @@
 #include <formula/opcode.hxx>
 #include "address.hxx"
 #include "ftools.hxx"
+#include <boost/shared_ptr.hpp>
 
 // Constants ==================================================================
 
@@ -409,7 +410,7 @@ private:
     bool                mbVolatile;     /// True = Formula contains volatile function.
 };
 
-typedef ScfRef< XclTokenArray > XclTokenArrayRef;
+typedef boost::shared_ptr< XclTokenArray > XclTokenArrayRef;
 
 /** Calls the Read() function at the passed token array. */
 XclImpStream& operator>>( XclImpStream& rStrm, XclTokenArray& rTokArr );
-- 
1.7.0.4


--=-qLwfU1BKYMIcJNs5pkFI
Content-Disposition: attachment; filename="0027-Replace-ScfRef-with-boost-in-xlroot.hxx.patch"
Content-Type: text/x-patch; name="0027-Replace-ScfRef-with-boost-in-xlroot.hxx.patch"; charset="UTF-8"
Content-Transfer-Encoding: 7bit



More information about the LibreOffice mailing list