From a93b691b78c95676d0dcf2724563aa1a8a5a2e8e Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 9 Nov 2017 12:59:44 +0200 Subject: loplugin:unusedvariable add some more std:: types Change-Id: Ib15931e415990b56367fe3e1c7cf3f22cc4826d5 Reviewed-on: https://gerrit.libreoffice.org/44529 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sc/qa/unit/ucalc_condformat.cxx | 4 ---- sc/source/ui/unoobj/chart2uno.cxx | 1 - 2 files changed, 5 deletions(-) (limited to 'sc') diff --git a/sc/qa/unit/ucalc_condformat.cxx b/sc/qa/unit/ucalc_condformat.cxx index 7a1777a3d5b2..1e3d94473522 100644 --- a/sc/qa/unit/ucalc_condformat.cxx +++ b/sc/qa/unit/ucalc_condformat.cxx @@ -396,8 +396,6 @@ void Test::testCondCopyPasteSingleRowToRange() ScRange aTargetRange(0,4,0,MAXCOL,4,0); pasteOneCellFromClip(m_pDoc, aTargetRange, &aClipDoc); - std::set aCondFormatIndices; - ScConditionalFormat* pNewFormat = m_pDoc->GetCondFormat(0, 4, 0); CPPUNIT_ASSERT(pNewFormat); CPPUNIT_ASSERT(pNewFormat->GetKey() != pFormat->GetKey()); @@ -429,8 +427,6 @@ void Test::testCondCopyPasteSingleRowToRange2() ScRange aTargetRange(0,4,0,MAXCOL,4,0); pasteOneCellFromClip(m_pDoc, aTargetRange, &aClipDoc); - std::set aCondFormatIndices; - for (SCCOL nCol = 0; nCol <= MAXCOL; ++nCol) { ScConditionalFormat* pNewFormat = m_pDoc->GetCondFormat(nCol, 4, 0); diff --git a/sc/source/ui/unoobj/chart2uno.cxx b/sc/source/ui/unoobj/chart2uno.cxx index 666634272e90..454a2f3de9e1 100644 --- a/sc/source/ui/unoobj/chart2uno.cxx +++ b/sc/source/ui/unoobj/chart2uno.cxx @@ -1566,7 +1566,6 @@ ScChart2DataProvider::createDataSource( aSeqVector.push_back(aSeq); } - ::std::map< sal_Int32, uno::Reference< chart2::data::XLabeledDataSequence > > aSequenceMap; for( sal_Int32 nNewIndex = 0; nNewIndex < aSequenceMapping.getLength(); nNewIndex++ ) { // note: assuming that the values in the sequence mapping are always non-negative -- cgit