gridsort: respect the collator got in the service ctor

This commit is contained in:
Frank Schoenheit [fs] 2011-01-18 22:12:03 +01:00
parent 7ad4e757c3
commit e24827c9a7

View file

@ -526,7 +526,7 @@ namespace toolkit
}
// get predicate object
::std::auto_ptr< ::comphelper::IKeyPredicateLess > const pPredicate( ::comphelper::getStandardLessPredicate( dataType ) );
::std::auto_ptr< ::comphelper::IKeyPredicateLess > const pPredicate( ::comphelper::getStandardLessPredicate( dataType, m_collator ) );
ENSURE_OR_RETURN_VOID( pPredicate.get(), "SortableGridDataModel::impl_reIndex_nothrow: no sortable data found!" );
// then sort