diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2021-10-26 14:44:17 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2021-10-26 21:35:13 +0200 |
commit | 637d29fa8e0f5b04129244f993c6bb487e8510d8 (patch) | |
tree | 5c150d28cdade5a01bce670146339560d2e4dd5b /sc/source/filter/oox/pivotcachebuffer.cxx | |
parent | 277d05a7188be77162e4a388c7c825daf8d6e326 (diff) |
Drop ContainerHelper::vectorToSequence and use comphelper::containerToSequence
Change-Id: I987c56feab147cdbeb4ad58bd5ebb23dce6dbbca
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124215
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sc/source/filter/oox/pivotcachebuffer.cxx')
-rw-r--r-- | sc/source/filter/oox/pivotcachebuffer.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sc/source/filter/oox/pivotcachebuffer.cxx b/sc/source/filter/oox/pivotcachebuffer.cxx index a6d9302cfbdd..52c57d002a0b 100644 --- a/sc/source/filter/oox/pivotcachebuffer.cxx +++ b/sc/source/filter/oox/pivotcachebuffer.cxx @@ -26,6 +26,8 @@ #include <com/sun/star/sheet/DataPilotFieldGroupBy.hpp> #include <com/sun/star/sheet/DataPilotFieldGroupInfo.hpp> #include <com/sun/star/sheet/XDataPilotFieldGrouping.hpp> + +#include <comphelper/sequence.hxx> #include <o3tl/safeint.hxx> #include <osl/diagnose.h> #include <sal/log.hxx> @@ -700,7 +702,7 @@ OUString PivotCacheField::createParentGroupField( const Reference< XDataPilotFie if( !aMembers.empty() ) try { // only the first call of createNameGroup() returns the new field - Reference< XDataPilotField > xDPNewField = xDPGrouping->createNameGroup( ContainerHelper::vectorToSequence( aMembers ) ); + Reference< XDataPilotField > xDPNewField = xDPGrouping->createNameGroup( comphelper::containerToSequence( aMembers ) ); SAL_WARN_IF( xDPGroupField.is() == xDPNewField.is(), "sc", "PivotCacheField::createParentGroupField - missing group field" ); if( !xDPGroupField.is() ) xDPGroupField = xDPNewField; |