diff options
4 files changed, 5 insertions, 5 deletions
diff --git a/filter/source/xslt/export/uof/odf2uof_spreadsheet.xsl b/filter/source/xslt/export/uof/odf2uof_spreadsheet.xsl index 88ba9a5dcfe5..565d890d7800 100644 --- a/filter/source/xslt/export/uof/odf2uof_spreadsheet.xsl +++ b/filter/source/xslt/export/uof/odf2uof_spreadsheet.xsl @@ -3178,12 +3178,12 @@ </xsl:call-template> </xsl:variable> <!-- <xsl:value-of select="concat('qqqqqqqq ',$left-top)"/> --> - <xsl:variable name="after-tanslated-left-top"> + <xsl:variable name="after-translated-left-top"> <xsl:call-template name="translate-left-top-condition"> <xsl:with-param name="left-top" select="$left-top"/> </xsl:call-template> </xsl:variable> - <xsl:value-of select="concat($after-tanslated-left-top,':',style:map/@style:base-cell-address)"/> + <xsl:value-of select="concat($after-translated-left-top,':',style:map/@style:base-cell-address)"/> </xsl:element> <xsl:for-each select="style:map"> <xsl:element name="表:条件"> 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 |