From 70d5eaadd87660deb3e87abf1361dfe72f744f56 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Thu, 4 Jan 2018 18:27:33 +0100 Subject: Fix typos Change-Id: I4fae1f0f5da36741ee8aa163f8372f19c050fa0c Reviewed-on: https://gerrit.libreoffice.org/47406 Reviewed-by: Michael Stahl Tested-by: Michael Stahl --- xmloff/source/text/XMLTextFrameContext.cxx | 6 +++--- xmloff/source/text/txtparae.cxx | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'xmloff') diff --git a/xmloff/source/text/XMLTextFrameContext.cxx b/xmloff/source/text/XMLTextFrameContext.cxx index c4eb8260709e..bad29d974fa3 100644 --- a/xmloff/source/text/XMLTextFrameContext.cxx +++ b/xmloff/source/text/XMLTextFrameContext.cxx @@ -990,10 +990,10 @@ XMLTextFrameContext_Impl::XMLTextFrameContext_Impl( SdXMLImExTransform2D aSdXMLImExTransform2D; basegfx::B2DHomMatrix aFullTransform; - // use SdXMLImExTransform2D to conert to transformation + // use SdXMLImExTransform2D to convert to transformation // Note: using GetTwipUnitConverter instead of GetMM100UnitConverter may be needed, // but is not generally available (as it should be, a 'current' UnitConverter should - // be available at GetExport() - and maybe was once). May have to be adressed as soon + // be available at GetExport() - and maybe was once). May have to be addressed as soon // as translate transformations are used here. aSdXMLImExTransform2D.SetString(rValue, GetImport().GetMM100UnitConverter()); aSdXMLImExTransform2D.GetFullTransform(aFullTransform); @@ -1015,7 +1015,7 @@ XMLTextFrameContext_Impl::XMLTextFrameContext_Impl( // CAUTION: due to #i78696# (rotation mirrored using API) the rotate // value is already mirrored, so do not do it again here (to be in sync // with XMLTextParagraphExport::_exportTextGraphic normally it would need - // to me mirrored using * -1.0, see converion there) + // to me mirrored using * -1.0, see conversion there) const double fRotate(aDecomposedTransform.getRotate() * (1800.0/M_PI)); nRotation = static_cast< sal_Int16 >(fRotate) % 3600; } diff --git a/xmloff/source/text/txtparae.cxx b/xmloff/source/text/txtparae.cxx index 2714e0f9ba37..6398990ff5d7 100644 --- a/xmloff/source/text/txtparae.cxx +++ b/xmloff/source/text/txtparae.cxx @@ -3053,7 +3053,7 @@ void XMLTextParagraphExport::_exportTextGraphic( // Note: using GetTwipUnitConverter instead of GetMM100UnitConverter may be needed, // but is not generally available (as it should be, a 'current' UnitConverter should - // be available at GetExport() - and maybe was once). May have to be adressed as soon + // be available at GetExport() - and maybe was once). May have to be addressed as soon // as translate transformations are used here. GetExport().AddAttribute( XML_NAMESPACE_DRAW, -- cgit