diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-09-22 15:00:08 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-09-22 15:01:05 +0100 |
commit | 871426533f7afe31bc451fa6b407b83db8e52827 (patch) | |
tree | ed60cee61ebee91994eaffc9c9a3638836ed2ab4 /formula/inc | |
parent | 5a849bb5317ad73bb43b2b618b14bc0e8751fff6 (diff) |
just silence the auto_ptr deprecations in isolation
Diffstat (limited to 'formula/inc')
-rw-r--r-- | formula/inc/formula/FormulaOpCodeMapperObj.hxx | 4 | ||||
-rw-r--r-- | formula/inc/formula/formula.hxx | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/formula/inc/formula/FormulaOpCodeMapperObj.hxx b/formula/inc/formula/FormulaOpCodeMapperObj.hxx index 78d44e91892a..7451013c16c7 100644 --- a/formula/inc/formula/FormulaOpCodeMapperObj.hxx +++ b/formula/inc/formula/FormulaOpCodeMapperObj.hxx @@ -45,14 +45,18 @@ 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 public: static ::rtl::OUString getImplementationName_Static(); static ::com::sun::star::uno::Sequence< ::rtl::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 virtual ~FormulaOpCodeMapperObj(); private: diff --git a/formula/inc/formula/formula.hxx b/formula/inc/formula/formula.hxx index 8da444308d93..32643b5a4ba5 100644 --- a/formula/inc/formula/formula.hxx +++ b/formula/inc/formula/formula.hxx @@ -69,7 +69,9 @@ public: ,IControlReferenceHandler* _pDlg = NULL ); virtual ~FormulaModalDialog(); private: + SAL_WNODEPRECATED_DECLARATIONS_PUSH ::std::auto_ptr<FormulaDlg_Impl> m_pImpl; + SAL_WNODEPRECATED_DECLARATIONS_POP protected: void disableOk(); @@ -117,7 +119,9 @@ public: , IControlReferenceHandler* _pDlg = NULL ); virtual ~FormulaDlg(); private: + SAL_WNODEPRECATED_DECLARATIONS_PUSH ::std::auto_ptr<FormulaDlg_Impl> m_pImpl; + SAL_WNODEPRECATED_DECLARATIONS_POP DECL_LINK( UpdateFocusHdl, Timer*); protected: |