summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2018-01-04 18:27:33 +0100
committerMichael Stahl <mstahl@redhat.com>2018-01-04 20:44:00 +0100
commit70d5eaadd87660deb3e87abf1361dfe72f744f56 (patch)
tree204ec333b035501671c4d507fe090d9e0b9eea4e /xmloff
parent61ab976bff4195beb77b749791d4f368cc9b71ee (diff)
Fix typos
Change-Id: I4fae1f0f5da36741ee8aa163f8372f19c050fa0c Reviewed-on: https://gerrit.libreoffice.org/47406 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/text/XMLTextFrameContext.cxx6
-rw-r--r--xmloff/source/text/txtparae.cxx2
2 files changed, 4 insertions, 4 deletions
diff --git a/xmloff/source/text/XMLTextFrameContext.cxx b/xmloff/source/text/XMLTextFrameContext.cxx
index c4eb8260709e..bad29d974fa3 100644
--- a/xmloff/source/text/XMLTextFrameContext.cxx
+++ b/xmloff/source/text/XMLTextFrameContext.cxx
@@ -990,10 +990,10 @@ XMLTextFrameContext_Impl::XMLTextFrameContext_Impl(
SdXMLImExTransform2D aSdXMLImExTransform2D;
basegfx::B2DHomMatrix aFullTransform;
- // use SdXMLImExTransform2D to conert to transformation
+ // use SdXMLImExTransform2D to convert to transformation
// Note: using GetTwipUnitConverter instead of GetMM100UnitConverter may be needed,
// but is not generally available (as it should be, a 'current' UnitConverter should
- // be available at GetExport() - and maybe was once). May have to be adressed as soon
+ // be available at GetExport() - and maybe was once). May have to be addressed as soon
// as translate transformations are used here.
aSdXMLImExTransform2D.SetString(rValue, GetImport().GetMM100UnitConverter());
aSdXMLImExTransform2D.GetFullTransform(aFullTransform);
@@ -1015,7 +1015,7 @@ XMLTextFrameContext_Impl::XMLTextFrameContext_Impl(
// CAUTION: due to #i78696# (rotation mirrored using API) the rotate
// 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 converion there)
+ // to me mirrored using * -1.0, see conversion there)
const double fRotate(aDecomposedTransform.getRotate() * (1800.0/M_PI));
nRotation = static_cast< sal_Int16 >(fRotate) % 3600;
}
diff --git a/xmloff/source/text/txtparae.cxx b/xmloff/source/text/txtparae.cxx
index 2714e0f9ba37..6398990ff5d7 100644
--- a/xmloff/source/text/txtparae.cxx
+++ b/xmloff/source/text/txtparae.cxx
@@ -3053,7 +3053,7 @@ void XMLTextParagraphExport::_exportTextGraphic(
// Note: using GetTwipUnitConverter instead of GetMM100UnitConverter may be needed,
// but is not generally available (as it should be, a 'current' UnitConverter should
- // be available at GetExport() - and maybe was once). May have to be adressed as soon
+ // be available at GetExport() - and maybe was once). May have to be addressed as soon
// as translate transformations are used here.
GetExport().AddAttribute(
XML_NAMESPACE_DRAW,