summaryrefslogtreecommitdiff
path: root/reportdesign/source/filter/xml/xmlExport.cxx
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2019-09-14 21:58:50 +0200
committerJulien Nabet <serval2412@yahoo.fr>2019-09-15 08:56:36 +0200
commit196e7ad850e40e631255ef42bb1653902e201837 (patch)
treefcc1d12d1a1d6ba3d44169657df8bcd2eb1025b3 /reportdesign/source/filter/xml/xmlExport.cxx
parentbda1d88f2bfa21202725ab9c567b3cccba3c1f0b (diff)
Fix typos
Change-Id: I111acf563106f43cadb36f35823dc655255a1317 Reviewed-on: https://gerrit.libreoffice.org/78923 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'reportdesign/source/filter/xml/xmlExport.cxx')
-rw-r--r--reportdesign/source/filter/xml/xmlExport.cxx4
1 files changed, 2 insertions, 2 deletions
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<sal_Int32>::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<XSection>& _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<sal_Int32>());
aRowPos.erase(::std::unique(aRowPos.begin(),aRowPos.end()),aRowPos.end());