diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-09-24 17:48:49 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-09-25 08:40:11 +0200 |
commit | c91dec0dad6b0da5bfe15d0597bfc069df26f343 (patch) | |
tree | af3f075afff656995fd34ac6771f2fe2fe2df77a /toolkit/source | |
parent | 5de8a127cd1790d37d5af83153b8103468eca6ce (diff) |
comphelper: std::auto_ptr -> std::unique_ptr
Change-Id: I364d6252f470dcc6d71a191f1249e95ca1f284ce
Diffstat (limited to 'toolkit/source')
-rw-r--r-- | toolkit/source/controls/grid/sortablegriddatamodel.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/source/controls/grid/sortablegriddatamodel.cxx b/toolkit/source/controls/grid/sortablegriddatamodel.cxx index 30b28c58d8f4..1aab3bc91931 100644 --- a/toolkit/source/controls/grid/sortablegriddatamodel.cxx +++ b/toolkit/source/controls/grid/sortablegriddatamodel.cxx @@ -559,7 +559,7 @@ private: } // get predicate object - ::std::auto_ptr< ::comphelper::IKeyPredicateLess > const pPredicate( ::comphelper::getStandardLessPredicate( dataType, m_collator ) ); + ::std::unique_ptr< ::comphelper::IKeyPredicateLess > const pPredicate( ::comphelper::getStandardLessPredicate( dataType, m_collator ) ); ENSURE_OR_RETURN_FALSE( pPredicate.get(), "SortableGridDataModel::impl_reIndex_nothrow: no sortable data found!" ); // then sort |