diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-09-24 18:15:42 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-09-25 08:40:12 +0200 |
commit | 43c47c610556b0bbd4f22c317d6e58c543109c12 (patch) | |
tree | 092acbcbc99b29b02591022a0e11a01f2b309e93 /svx/source/fmcomp/gridcell.cxx | |
parent | c91dec0dad6b0da5bfe15d0597bfc069df26f343 (diff) |
connectivity: std::auto_ptr -> std::unique_ptr
Change-Id: I796dc05d1846f140a56b5a6f14a69a239324ae5b
Diffstat (limited to 'svx/source/fmcomp/gridcell.cxx')
-rw-r--r-- | svx/source/fmcomp/gridcell.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/svx/source/fmcomp/gridcell.cxx b/svx/source/fmcomp/gridcell.cxx index 9feb232991e4..fd140a8c28e9 100644 --- a/svx/source/fmcomp/gridcell.cxx +++ b/svx/source/fmcomp/gridcell.cxx @@ -1793,9 +1793,7 @@ OUString DbPatternField::impl_formatText( const OUString& _rText ) OUString DbPatternField::GetFormatText(const Reference< ::com::sun::star::sdb::XColumn >& _rxField, const Reference< XNumberFormatter >& /*xFormatter*/, Color** /*ppColor*/) { bool bIsForPaint = _rxField != m_rColumn.GetField(); - SAL_WNODEPRECATED_DECLARATIONS_PUSH - ::std::auto_ptr< ::dbtools::FormattedColumnValue >& rpFormatter = bIsForPaint ? m_pPaintFormatter : m_pValueFormatter; - SAL_WNODEPRECATED_DECLARATIONS_POP + ::std::unique_ptr< ::dbtools::FormattedColumnValue >& rpFormatter = bIsForPaint ? m_pPaintFormatter : m_pValueFormatter; if ( !rpFormatter.get() ) { |