[PATCH 27/31] Replace ScfRef with boost in xlroot.hxx
Nigel Hawkins
n.hawkins at gmx.com
Thu Nov 18 12:18:29 PST 2010
---
sc/source/filter/inc/xlroot.hxx | 17 +++++++++--------
1 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/sc/source/filter/inc/xlroot.hxx b/sc/source/filter/inc/xlroot.hxx
index d177276..5e132fa 100644
--- a/sc/source/filter/inc/xlroot.hxx
+++ b/sc/source/filter/inc/xlroot.hxx
@@ -33,6 +33,7 @@
#include <sot/storage.hxx>
#include "xlconst.hxx"
#include "xltools.hxx"
+#include <boost/shared_ptr.hpp>
namespace comphelper { class IDocPasswordVerifier; }
@@ -76,14 +77,14 @@ struct XclRootData
: public XclDebugObjCounter
#endif
{
- typedef ScfRef< ScEditEngineDefaulter > ScEEDefaulterRef;
- typedef ScfRef< ScHeaderEditEngine > ScHeaderEERef;
- typedef ScfRef< EditEngine > EditEngineRef;
- typedef ScfRef< XclFontPropSetHelper > XclFontPropSetHlpRef;
- typedef ScfRef< XclChPropSetHelper > XclChPropSetHlpRef;
- typedef ScfRef< ScExtDocOptions > ScExtDocOptRef;
- typedef ScfRef< XclTracer > XclTracerRef;
- typedef ScfRef< RootData > RootDataRef;
+ typedef boost::shared_ptr< ScEditEngineDefaulter > ScEEDefaulterRef;
+ typedef boost::shared_ptr< ScHeaderEditEngine > ScHeaderEERef;
+ typedef boost::shared_ptr< EditEngine > EditEngineRef;
+ typedef boost::shared_ptr< XclFontPropSetHelper > XclFontPropSetHlpRef;
+ typedef boost::shared_ptr< XclChPropSetHelper > XclChPropSetHlpRef;
+ typedef boost::shared_ptr< ScExtDocOptions > ScExtDocOptRef;
+ typedef boost::shared_ptr< XclTracer > XclTracerRef;
+ typedef boost::shared_ptr< RootData > RootDataRef;
XclBiff meBiff; /// Current BIFF version.
XclOutput meOutput; /// Current Output format.
--
1.7.0.4
--=-qLwfU1BKYMIcJNs5pkFI
Content-Disposition: attachment; filename="0028-Replace-ScfRef-with-boost-in-xlview.hxx.patch"
Content-Type: text/x-patch; name="0028-Replace-ScfRef-with-boost-in-xlview.hxx.patch"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
More information about the LibreOffice
mailing list