diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-09-26 15:46:31 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-09-26 15:47:03 +0200 |
commit | 1df1c5eed9d44130fee818745cbb3d5ee59b7c3f (patch) | |
tree | ed60ffbc022965f2b2e712bb188e46b64880a1da /include/formula/FormulaOpCodeMapperObj.hxx | |
parent | 296371d5d8f58c46e976f66b11599410d97dc472 (diff) |
formula: std::auto_ptr -> std::unique_ptr
Change-Id: I7b4784abf5177e22a9df33c5d4faccfd39801b11
Diffstat (limited to 'include/formula/FormulaOpCodeMapperObj.hxx')
-rw-r--r-- | include/formula/FormulaOpCodeMapperObj.hxx | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/include/formula/FormulaOpCodeMapperObj.hxx b/include/formula/FormulaOpCodeMapperObj.hxx index f863697ab514..d04112ed0246 100644 --- a/include/formula/FormulaOpCodeMapperObj.hxx +++ b/include/formula/FormulaOpCodeMapperObj.hxx @@ -36,18 +36,14 @@ class FORMULA_DLLPUBLIC FormulaOpCodeMapperObj : public ::cppu::WeakImplHelper2< ::com::sun::star::sheet::XFormulaOpCodeMapper, ::com::sun::star::lang::XServiceInfo > { - SAL_WNODEPRECATED_DECLARATIONS_PUSH - ::std::auto_ptr<FormulaCompiler> m_pCompiler; - SAL_WNODEPRECATED_DECLARATIONS_POP + ::std::unique_ptr<FormulaCompiler> m_pCompiler; public: static OUString getImplementationName_Static(); static ::com::sun::star::uno::Sequence< OUString> getSupportedServiceNames_Static(); static ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > create(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& _xContext); protected: - SAL_WNODEPRECATED_DECLARATIONS_PUSH - FormulaOpCodeMapperObj(::std::auto_ptr<FormulaCompiler> _pCompiler); - SAL_WNODEPRECATED_DECLARATIONS_POP + FormulaOpCodeMapperObj(::std::unique_ptr<FormulaCompiler> && _pCompiler); virtual ~FormulaOpCodeMapperObj(); private: |