From 196e7ad850e40e631255ef42bb1653902e201837 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Sat, 14 Sep 2019 21:58:50 +0200 Subject: Fix typos Change-Id: I111acf563106f43cadb36f35823dc655255a1317 Reviewed-on: https://gerrit.libreoffice.org/78923 Tested-by: Jenkins Reviewed-by: Julien Nabet --- reportdesign/source/filter/xml/xmlExport.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'reportdesign') diff --git a/reportdesign/source/filter/xml/xmlExport.cxx b/reportdesign/source/filter/xml/xmlExport.cxx index 43abca700f9f..4c991cd87732 100644 --- a/reportdesign/source/filter/xml/xmlExport.cxx +++ b/reportdesign/source/filter/xml/xmlExport.cxx @@ -518,7 +518,7 @@ void ORptExport::collectStyleNames(sal_Int32 _nFamily, const ::std::vector< sal_ // note: there cannot be 0-height rows, because a call to std::unique has removed them // it cannot be predicted that the size of _aSizeAutoGrow has any relation to the size of // _aSize, because of the same std::unique operation (and _aSizeAutoGrow wasn't even the same - // size before that), so the matching elemenent in _aSizeAutoGrow has to be found by lookup. + // size before that), so the matching element in _aSizeAutoGrow has to be found by lookup. ::std::vector::const_iterator aAutoGrow = ::std::find(_aSizeAutoGrow.begin(), _aSizeAutoGrow.end(), *aIter2); bool bAutoGrow = aAutoGrow != _aSizeAutoGrow.end(); // the mnIndex is into the array returned by OXMLHelper::GetRowStyleProps() @@ -593,7 +593,7 @@ void ORptExport::exportSectionAutoStyle(const Reference& _xProp) // note: the aRowPos contains top and bottom position of every report control; we now compute the // top of every row in the resulting table, by sorting and eliminating unnecessary duplicate - // positions. (the same for the colums in the preceding lines.) + // positions. (the same for the columns in the preceding lines.) ::std::sort(aRowPos.begin(),aRowPos.end(),::std::less()); aRowPos.erase(::std::unique(aRowPos.begin(),aRowPos.end()),aRowPos.end()); -- cgit