summaryrefslogtreecommitdiff
path: root/lotuswordpro
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2017-08-10 19:04:08 +0200
committerJulien Nabet <serval2412@yahoo.fr>2017-08-11 08:55:52 +0200
commit027ef28177885cc803c1500430284610dee23f9a (patch)
tree3c216718c2fe5eba17fc00a44e1a6d4d272e9f59 /lotuswordpro
parent5131f5ba19ebc5de17139dbcf373866a9b155b2b (diff)
Typos about "translate"
Change-Id: I6047920ef5860f0f3535467d6af1d1bf0aa250af Reviewed-on: https://gerrit.libreoffice.org/40988 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'lotuswordpro')
-rw-r--r--lotuswordpro/source/filter/xfilter/xfdrawline.cxx2
-rw-r--r--lotuswordpro/source/filter/xfilter/xfdrawobj.cxx2
-rw-r--r--lotuswordpro/source/filter/xfilter/xfdrawobj.hxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/lotuswordpro/source/filter/xfilter/xfdrawline.cxx b/lotuswordpro/source/filter/xfilter/xfdrawline.cxx
index a5ea983faafa..4fb6473d4b0c 100644
--- a/lotuswordpro/source/filter/xfilter/xfdrawline.cxx
+++ b/lotuswordpro/source/filter/xfilter/xfdrawline.cxx
@@ -105,7 +105,7 @@ void XFDrawLine::ToXml(IXFStream *pStrm)
OUString strTransform;
if( m_nFlag&XFDRAWOBJECT_FLAG_ROTATE )
strTransform = "rotate (" + OUString::number(m_fRotate) + ") ";
- if( m_nFlag&XFDRAWOBJECT_FLAG_TRANLATE )
+ if( m_nFlag&XFDRAWOBJECT_FLAG_TRANSLATE )
strTransform += "translate (" + OUString::number(m_aRotatePoint.GetX()) + "cm " + OUString::number(m_aRotatePoint.GetY()) + "cm) ";
if( m_nFlag&XFDRAWOBJECT_FLAG_SKEWX )
strTransform += "skewX (" + OUString::number(0) + " ";
diff --git a/lotuswordpro/source/filter/xfilter/xfdrawobj.cxx b/lotuswordpro/source/filter/xfilter/xfdrawobj.cxx
index bdfa5a4f8139..32a20e92905c 100644
--- a/lotuswordpro/source/filter/xfilter/xfdrawobj.cxx
+++ b/lotuswordpro/source/filter/xfilter/xfdrawobj.cxx
@@ -113,7 +113,7 @@ void XFDrawObject::ToXml(IXFStream *pStrm)
OUString strTransform;
if( m_nFlag&XFDRAWOBJECT_FLAG_ROTATE )
strTransform = "rotate (" + OUString::number(m_fRotate) + ") ";
- if( m_nFlag&XFDRAWOBJECT_FLAG_TRANLATE )
+ if( m_nFlag&XFDRAWOBJECT_FLAG_TRANSLATE )
strTransform += "translate (" + OUString::number(m_aRotatePoint.GetX()) + "cm " + OUString::number(m_aRotatePoint.GetY()) + "cm) ";
if( m_nFlag&XFDRAWOBJECT_FLAG_SCALE )
strTransform += "scale (" + OUString::number(0) + "cm " + OUString::number(0) + "cm) ";
diff --git a/lotuswordpro/source/filter/xfilter/xfdrawobj.hxx b/lotuswordpro/source/filter/xfilter/xfdrawobj.hxx
index 3d0760b6ae43..03ee0e3bc41f 100644
--- a/lotuswordpro/source/filter/xfilter/xfdrawobj.hxx
+++ b/lotuswordpro/source/filter/xfilter/xfdrawobj.hxx
@@ -64,7 +64,7 @@
#include "xfrect.hxx"
#define XFDRAWOBJECT_FLAG_ROTATE 0X00000001
-#define XFDRAWOBJECT_FLAG_TRANLATE 0X00000002
+#define XFDRAWOBJECT_FLAG_TRANSLATE 0X00000002
#define XFDRAWOBJECT_FLAG_SKEWX 0X00000004
#define XFDRAWOBJECT_FLAG_SKEWY 0X00000008
#define XFDRAWOBJECT_FLAG_SCALE 0X00000010