summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/text/XMLTextFrameContext.cxx4
-rw-r--r--xmloff/source/text/txtparae.cxx4
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));