diff options
Diffstat (limited to 'basic/source/sbx/sbxdate.cxx')
-rw-r--r-- | basic/source/sbx/sbxdate.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/basic/source/sbx/sbxdate.cxx b/basic/source/sbx/sbxdate.cxx index 6d11d61fb272..d3ab7718bf8b 100644 --- a/basic/source/sbx/sbxdate.cxx +++ b/basic/source/sbx/sbxdate.cxx @@ -27,7 +27,7 @@ #include "sbxconv.hxx" #include "math.h" #include <comphelper/processfactory.hxx> -#include <boost/scoped_ptr.hpp> +#include <memory> double ImpGetDate( const SbxValues* p ) @@ -100,7 +100,7 @@ double ImpGetDate( const SbxValues* p ) { LanguageType eLangType = Application::GetSettings().GetLanguageTag().getLanguageType(); - boost::scoped_ptr<SvNumberFormatter> pFormatter(new SvNumberFormatter( comphelper::getProcessComponentContext(), eLangType )); + std::unique_ptr<SvNumberFormatter> pFormatter(new SvNumberFormatter( comphelper::getProcessComponentContext(), eLangType )); sal_uInt32 nIndex; sal_Int32 nCheckPos = 0; @@ -268,7 +268,7 @@ start: Color* pColor; LanguageType eLangType = Application::GetSettings().GetLanguageTag().getLanguageType(); - boost::scoped_ptr<SvNumberFormatter> pFormatter(new SvNumberFormatter( comphelper::getProcessComponentContext(), eLangType )); + std::unique_ptr<SvNumberFormatter> pFormatter(new SvNumberFormatter( comphelper::getProcessComponentContext(), eLangType )); sal_uInt32 nIndex; sal_Int32 nCheckPos = 0; |