Kaydet (Commit) 389405cc authored tarafından Andrea Gelmini's avatar Andrea Gelmini Kaydeden (comit) Michael Stahl

Fix typos

Change-Id: Ifcfb8ed6783f7d022e7c7f139e3f3bafa7b4b71a
Reviewed-on: https://gerrit.libreoffice.org/50088Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarMichael Stahl <mstahl@redhat.com>
üst e075d095
...@@ -85,7 +85,7 @@ def check_objects(filename, elm, objects, target): ...@@ -85,7 +85,7 @@ def check_objects(filename, elm, objects, target):
if length == 0: if length == 0:
err(filename, elm, "use of undeclared target '%s'" % target) err(filename, elm, "use of undeclared target '%s'" % target)
elif length > 1: 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): def check_props(filename, root, props):
""" """
......
...@@ -1025,8 +1025,8 @@ XMLTextFrameContext_Impl::XMLTextFrameContext_Impl( ...@@ -1025,8 +1025,8 @@ XMLTextFrameContext_Impl::XMLTextFrameContext_Impl(
// value is already mirrored, so do not do it again here (to be in sync // value is already mirrored, so do not do it again here (to be in sync
// with XMLTextParagraphExport::_exportTextGraphic normally it would need // with XMLTextParagraphExport::_exportTextGraphic normally it would need
// to me mirrored using * -1.0, see conversion there) // to me mirrored using * -1.0, see conversion there)
// CAUTIONII: Due to tdf#115782 it is better for current ODF to indeed use it // 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 // 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 // correct this in future ODF ASAP! For now, mirror the rotation here AGAIN
const double fRotate(aDecomposedTransform.getRotate() * (-1800.0/M_PI)); const double fRotate(aDecomposedTransform.getRotate() * (-1800.0/M_PI));
nRotation = static_cast< sal_Int16 >(basegfx::fround(fRotate) % 3600); nRotation = static_cast< sal_Int16 >(basegfx::fround(fRotate) % 3600);
......
...@@ -3072,11 +3072,11 @@ void XMLTextParagraphExport::_exportTextGraphic( ...@@ -3072,11 +3072,11 @@ void XMLTextParagraphExport::_exportTextGraphic(
SdXMLImExTransform2D aSdXMLImExTransform2D; SdXMLImExTransform2D aSdXMLImExTransform2D;
// Convert from 10th degree integer to deg. // 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 // 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 // the rotation to get the correct transformation. See also case XML_TOK_TEXT_FRAME_TRANSFORM
// in XMLTextFrameContext_Impl::XMLTextFrameContext_Impl and #i78696# // 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! // 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)); const double fRotate(static_cast< double >(nRotation) * (F_PI/1800.0));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment