[Libreoffice-commits] core.git: bin/gla11y xmloff/source

Andrea Gelmini andrea.gelmini at gelma.net
Mon Feb 26 11:58:25 UTC 2018


 bin/gla11y                                 |    2 +-
 xmloff/source/text/XMLTextFrameContext.cxx |    4 ++--
 xmloff/source/text/txtparae.cxx            |    4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)

New commits:
commit 389405cc49cb07a5414dd2b7ac10d9a7785e012b
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
Date:   Wed Feb 21 10:51:41 2018 +0100

    Fix typos
    
    Change-Id: Ifcfb8ed6783f7d022e7c7f139e3f3bafa7b4b71a
    Reviewed-on: https://gerrit.libreoffice.org/50088
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Michael Stahl <mstahl at redhat.com>

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));
 


More information about the Libreoffice-commits mailing list