diff options
Diffstat (limited to 'lotuswordpro')
-rw-r--r-- | lotuswordpro/source/filter/xfilter/xfdrawline.cxx | 2 | ||||
-rw-r--r-- | lotuswordpro/source/filter/xfilter/xfdrawobj.cxx | 2 | ||||
-rw-r--r-- | lotuswordpro/source/filter/xfilter/xfdrawobj.hxx | 2 |
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 |