[PATCH 20/31] Replace ScfRef with boost in xihelper.hxx

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


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

diff --git a/sc/source/filter/inc/xihelper.hxx b/sc/source/filter/inc/xihelper.hxx
index f57145f..06aac7d 100644
--- a/sc/source/filter/inc/xihelper.hxx
+++ b/sc/source/filter/inc/xihelper.hxx
@@ -31,6 +31,7 @@
 
 #include <editeng/editdata.hxx>
 #include <boost/noncopyable.hpp>
+#include <boost/shared_ptr.hpp>
 #include "scmatrix.hxx"
 #include "xladdress.hxx"
 #include "xiroot.hxx"
@@ -194,7 +195,7 @@ private:    // types
     /** Contains all information about a header/footer portion. */
     struct XclImpHFPortionInfo
     {
-        typedef ScfRef< EditTextObject > EditTextObjectRef;
+        typedef boost::shared_ptr< EditTextObject > EditTextObjectRef;
         EditTextObjectRef   mxObj;          /// Edit engine text object.
         ESelection          maSel;          /// Edit engine selection.
         sal_Int32           mnHeight;       /// Height of previous lines in twips.
-- 
1.7.0.4


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



More information about the LibreOffice mailing list