diff options
-rwxr-xr-x | bin/gla11y | 2 | ||||
-rw-r--r-- | xmloff/source/text/XMLTextFrameContext.cxx | 4 | ||||
-rw-r--r-- | xmloff/source/text/txtparae.cxx | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/bin/gla11y b/bin/gla11y index a0c3468bb895..04d5d83ccd1a 100755 --- a/bin/gla11y +++ b/bin/gla11y @@ -85,7 +85,7 @@ def check_objects(filename, elm, objects, target): if length == 0: err(filename, elm, "use of undeclared target '%s'" % target) elif length > 1: - err(filename, elm, "sevral targets are named '%s'" % target) + err(filename, elm, "several targets are named '%s'" % target) def check_props(filename, root, props): """ 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)); |