summaryrefslogtreecommitdiff
path: root/chart2/source/tools/RegressionEquation.cxx
diff options
context:
space:
mode:
authorArkadiy Illarionov <qarkai@gmail.com>2019-05-12 12:13:42 +0300
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-05-13 10:02:02 +0200
commit1bf1c56ce05a08e09c3f7def4962ef7f7ae885d9 (patch)
tree7d6548ff3ab14564b8dcca89d170cb1e81391da2 /chart2/source/tools/RegressionEquation.cxx
parentca7f34acabfbb92e76aa367458056a75bd99991b (diff)
Remove ContainerHelper.hxx
Use comphelper::sequenceToContainer instead of ContainerHelper::SequenceToVector Change-Id: I4834255a1349ac7a29127a84a54fcfa98d678d00 Reviewed-on: https://gerrit.libreoffice.org/72186 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source/tools/RegressionEquation.cxx')
-rw-r--r--chart2/source/tools/RegressionEquation.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/chart2/source/tools/RegressionEquation.cxx b/chart2/source/tools/RegressionEquation.cxx
index 927b06d4b0e9..5212c8d842d8 100644
--- a/chart2/source/tools/RegressionEquation.cxx
+++ b/chart2/source/tools/RegressionEquation.cxx
@@ -23,7 +23,6 @@
#include <UserDefinedProperties.hxx>
#include <CharacterProperties.hxx>
#include <PropertyHelper.hxx>
-#include <ContainerHelper.hxx>
#include <ModifyListenerHelper.hxx>
#include <unonames.hxx>
#include <cppuhelper/supportsservice.hxx>
@@ -293,10 +292,12 @@ void SAL_CALL RegressionEquation::setText( const uno::Sequence< uno::Reference<
{
MutexGuard aGuard( m_aMutex );
ModifyListenerHelper::removeListenerFromAllElements(
- ContainerHelper::SequenceToVector( m_aStrings ), m_xModifyEventForwarder );
+ comphelper::sequenceToContainer<std::vector<uno::Reference< chart2::XFormattedString > > >( m_aStrings ),
+ m_xModifyEventForwarder );
m_aStrings = Strings;
ModifyListenerHelper::addListenerToAllElements(
- ContainerHelper::SequenceToVector( m_aStrings ), m_xModifyEventForwarder );
+ comphelper::sequenceToContainer<std::vector<uno::Reference< chart2::XFormattedString > > >( m_aStrings ),
+ m_xModifyEventForwarder );
fireModifyEvent();
}