summaryrefslogtreecommitdiff
path: root/comphelper/source/misc/anycompare.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-09-24 17:48:49 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-09-25 08:40:11 +0200
commitc91dec0dad6b0da5bfe15d0597bfc069df26f343 (patch)
treeaf3f075afff656995fd34ac6771f2fe2fe2df77a /comphelper/source/misc/anycompare.cxx
parent5de8a127cd1790d37d5af83153b8103468eca6ce (diff)
comphelper: std::auto_ptr -> std::unique_ptr
Change-Id: I364d6252f470dcc6d71a191f1249e95ca1f284ce
Diffstat (limited to 'comphelper/source/misc/anycompare.cxx')
-rw-r--r--comphelper/source/misc/anycompare.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/comphelper/source/misc/anycompare.cxx b/comphelper/source/misc/anycompare.cxx
index 3d7d3f249eca..e4f038d3f665 100644
--- a/comphelper/source/misc/anycompare.cxx
+++ b/comphelper/source/misc/anycompare.cxx
@@ -176,11 +176,9 @@ namespace comphelper
};
- ::std::auto_ptr< IKeyPredicateLess > getStandardLessPredicate( Type const & i_type, Reference< XCollator > const & i_collator )
+ ::std::unique_ptr< IKeyPredicateLess > getStandardLessPredicate( Type const & i_type, Reference< XCollator > const & i_collator )
{
- SAL_WNODEPRECATED_DECLARATIONS_PUSH
- ::std::auto_ptr< IKeyPredicateLess > pComparator;
- SAL_WNODEPRECATED_DECLARATIONS_POP
+ ::std::unique_ptr< IKeyPredicateLess > pComparator;
switch ( i_type.getTypeClass() )
{
case TypeClass_CHAR: