diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2018-02-21 10:51:41 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2018-02-26 12:58:03 +0100 |
commit | 389405cc49cb07a5414dd2b7ac10d9a7785e012b (patch) | |
tree | 6911fa752c27cf246932e5946069c198fbf84497 /xmloff | |
parent | e075d09557e4637273de03f2f018d95e91b05455 (diff) |
Fix typos
Change-Id: Ifcfb8ed6783f7d022e7c7f139e3f3bafa7b4b71a
Reviewed-on: https://gerrit.libreoffice.org/50088
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/text/XMLTextFrameContext.cxx | 4 | ||||
-rw-r--r-- | xmloff/source/text/txtparae.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/xmloff/source/text/XMLTextFrameContext.cxx b/xmloff/source/text/XMLTextFrameContext.cxx index d95aad61e78a..9d60d11072dc 100644 --- a/xmloff/source/text/XMLTextFrameContext.cxx +++ b/xmloff/source/text/XMLTextFrameContext.cxx @@ -1025,8 +1025,8 @@ XMLTextFrameContext_Impl::XMLTextFrameContext_Impl( // 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 conversion there) - // CAUTIONII: Due to tdf#115782 it is better for current ODF to indeed use it - // with the wrong orientation as in all other cases - ARGH! We will need to + // CAUTION-II: due to tdf#115782 it is better for current ODF to indeed use it + // with the wrong orientation as in all other cases - ARGH! We will need to // correct this in future ODF ASAP! For now, mirror the rotation here AGAIN const double fRotate(aDecomposedTransform.getRotate() * (-1800.0/M_PI)); nRotation = static_cast< sal_Int16 >(basegfx::fround(fRotate) % 3600); diff --git a/xmloff/source/text/txtparae.cxx b/xmloff/source/text/txtparae.cxx index 5ecbd9240a20..ebf533781b45 100644 --- a/xmloff/source/text/txtparae.cxx +++ b/xmloff/source/text/txtparae.cxx @@ -3072,11 +3072,11 @@ void XMLTextParagraphExport::_exportTextGraphic( SdXMLImExTransform2D aSdXMLImExTransform2D; // Convert from 10th degree integer to deg. - // CAUTION: Internal rotation is classically mathematically 'wrong' defined by ignoring that + // CAUTION: internal rotation is classically mathematically 'wrong' defined by ignoring that // we have a right-handed coordinate system, so need to correct this by mirroring // the rotation to get the correct transformation. See also case XML_TOK_TEXT_FRAME_TRANSFORM // in XMLTextFrameContext_Impl::XMLTextFrameContext_Impl and #i78696# - // CAUTIONII: Due to tdf#115782 it is better for current ODF to indeed write it with the wrong + // CAUTION-II: due to tdf#115782 it is better for current ODF to indeed write it with the wrong // orientation as in all other cases - ARGH! We will need to correct this in future ODF ASAP! const double fRotate(static_cast< double >(nRotation) * (F_PI/1800.0)); |