diff options
Diffstat (limited to 'sc/source/filter/excel/xechart.cxx')
-rw-r--r-- | sc/source/filter/excel/xechart.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/filter/excel/xechart.cxx b/sc/source/filter/excel/xechart.cxx index 1cc23139673e..c981c3d2a716 100644 --- a/sc/source/filter/excel/xechart.cxx +++ b/sc/source/filter/excel/xechart.cxx @@ -69,7 +69,7 @@ #include "xepage.hxx" #include "xestyle.hxx" -#include <memory> +#include <boost/scoped_ptr.hpp> using ::com::sun::star::uno::Any; using ::com::sun::star::uno::Reference; @@ -898,7 +898,7 @@ sal_uInt16 XclExpChSourceLink::ConvertDataSequence( Reference< XDataSequence > x OUString aRangeRepr = xDataSeq->getSourceRangeRepresentation(); ScCompiler aComp( &GetDocRef(), ScAddress() ); aComp.SetGrammar( GetDocRef().GetGrammar() ); - std::unique_ptr<ScTokenArray> pArray(aComp.CompileString(aRangeRepr)); + boost::scoped_ptr<ScTokenArray> pArray(aComp.CompileString(aRangeRepr)); if( !pArray ) return nDefCount; |