diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2013-11-23 22:40:38 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2013-11-23 22:40:38 +0100 |
commit | ea6f3c09cf76932ce567e8d3250e0f665ca42c99 (patch) | |
tree | 79e51b08a672722e7a80452756bafbc3388186aa /lotuswordpro | |
parent | 480a0ef7c1c760385594b09a39e0aa95a7cb0a99 (diff) |
outter -> outer (also when "outter" is inside another word)
Change-Id: I0290d57f1c27a82a34a7dba56d88d51ec6d0bd9e
Diffstat (limited to 'lotuswordpro')
-rw-r--r-- | lotuswordpro/source/filter/lwpparastyle.cxx | 6 | ||||
-rw-r--r-- | lotuswordpro/source/filter/xfilter/xfborders.cxx | 24 | ||||
-rw-r--r-- | lotuswordpro/source/filter/xfilter/xfborders.hxx | 10 | ||||
-rw-r--r-- | lotuswordpro/source/filter/xfilter/xfdefs.hxx | 2 | ||||
-rw-r--r-- | lotuswordpro/source/filter/xfilter/xflinenumberconfig.hxx | 4 |
5 files changed, 23 insertions, 23 deletions
diff --git a/lotuswordpro/source/filter/lwpparastyle.cxx b/lotuswordpro/source/filter/lwpparastyle.cxx index e00ac2c054ee..5a4ec6707c4e 100644 --- a/lotuswordpro/source/filter/lwpparastyle.cxx +++ b/lotuswordpro/source/filter/lwpparastyle.cxx @@ -281,21 +281,21 @@ void LwpParaStyle::ApplySubBorder(LwpBorderStuff* pBorderStuff, LwpBorderStuff:: case 0x15: //double , fall through! case 0x16: //thick double pXFBorders->SetDoubleLine(eXFBorderSide, sal_True, sal_False); - pXFBorders->SetWidthOutter(eXFBorderSide, static_cast<float>(fWidth*0.333)); + pXFBorders->SetWidthOuter(eXFBorderSide, static_cast<float>(fWidth*0.333)); pXFBorders->SetWidthSpace(eXFBorderSide, static_cast<float>(fWidth*0.334)); pXFBorders->SetWidthInner(eXFBorderSide, static_cast<float>(fWidth*0.333)); // pXFBorders->SetWidth(eXFBorderSide, fWidth); break; case 0x18: //thick-thin pXFBorders->SetDoubleLine(eXFBorderSide, sal_True, sal_False); - pXFBorders->SetWidthOutter(eXFBorderSide, static_cast<float>(fWidth*0.5)); + pXFBorders->SetWidthOuter(eXFBorderSide, static_cast<float>(fWidth*0.5)); pXFBorders->SetWidthInner(eXFBorderSide, static_cast<float>(fWidth*0.25)); pXFBorders->SetWidthSpace(eXFBorderSide, static_cast<float>(fWidth*0.25)); break; case 0x19: //thin-thick pXFBorders->SetDoubleLine(eXFBorderSide, sal_True, sal_False); pXFBorders->SetWidthInner(eXFBorderSide, static_cast<float>(fWidth*0.7)); - pXFBorders->SetWidthOutter(eXFBorderSide, static_cast<float>(fWidth*0.15)); + pXFBorders->SetWidthOuter(eXFBorderSide, static_cast<float>(fWidth*0.15)); pXFBorders->SetWidthSpace(eXFBorderSide, static_cast<float>(fWidth*0.15)); break; } diff --git a/lotuswordpro/source/filter/xfilter/xfborders.cxx b/lotuswordpro/source/filter/xfilter/xfborders.cxx index 89a3fcb07836..228cbbb0f62a 100644 --- a/lotuswordpro/source/filter/xfilter/xfborders.cxx +++ b/lotuswordpro/source/filter/xfilter/xfborders.cxx @@ -66,7 +66,7 @@ XFBorder::XFBorder() m_bSameWidth = sal_False; m_fWidthInner = 0; m_fWidthSpace = 0; - m_fWidthOutter = 0; + m_fWidthOuter = 0; } void XFBorder::SetColor(XFColor& color) @@ -84,7 +84,7 @@ void XFBorder::SetWidth(double width) else if( m_bDouble && m_bSameWidth ) { m_fWidthInner = width; - m_fWidthOutter = width; + m_fWidthOuter = width; m_fWidthSpace = width; } } @@ -107,10 +107,10 @@ void XFBorder::SetWidthSpace(double space) m_fWidthSpace = space; } -void XFBorder::SetWidthOutter(double outer) +void XFBorder::SetWidthOuter(double outer) { assert(m_bDouble); - m_fWidthOutter = outer; + m_fWidthOuter = outer; } OUString XFBorder::GetLineWidth() @@ -121,7 +121,7 @@ OUString XFBorder::GetLineWidth() { str = FloatToOUString(m_fWidthInner); str += A2OUSTR("cm ") + DoubleToOUString(m_fWidthSpace); - str += A2OUSTR("cm ") + DoubleToOUString(m_fWidthOutter) + A2OUSTR("cm"); + str += A2OUSTR("cm ") + DoubleToOUString(m_fWidthOuter) + A2OUSTR("cm"); } return str; } @@ -132,7 +132,7 @@ OUString XFBorder::ToString() if( m_bDouble ) { - double width = m_fWidthInner + m_fWidthSpace + m_fWidthOutter; + double width = m_fWidthInner + m_fWidthSpace + m_fWidthOuter; if( width<FLOAT_MIN ) { return str; @@ -171,7 +171,7 @@ bool operator==(XFBorder& b1, XFBorder& b2) return true; if( b1.m_fWidthInner != b2.m_fWidthInner || b1.m_fWidthSpace != b2.m_fWidthSpace || - b1.m_fWidthOutter != b2.m_fWidthOutter + b1.m_fWidthOuter != b2.m_fWidthOuter ) return false; } @@ -293,21 +293,21 @@ void XFBorders::SetWidthSpace(enumXFBorder side, double space) } } -void XFBorders::SetWidthOutter(enumXFBorder side, double outer) +void XFBorders::SetWidthOuter(enumXFBorder side, double outer) { switch(side) { case enumXFBorderLeft: - m_aBorderLeft.SetWidthOutter(outer); + m_aBorderLeft.SetWidthOuter(outer); break; case enumXFBorderRight: - m_aBorderRight.SetWidthOutter(outer); + m_aBorderRight.SetWidthOuter(outer); break; case enumXFBorderTop: - m_aBorderTop.SetWidthOutter(outer); + m_aBorderTop.SetWidthOuter(outer); break; case enumXFBorderBottom: - m_aBorderBottom.SetWidthOutter(outer); + m_aBorderBottom.SetWidthOuter(outer); break; default: break; diff --git a/lotuswordpro/source/filter/xfilter/xfborders.hxx b/lotuswordpro/source/filter/xfilter/xfborders.hxx index 67c5be707734..e8e885fc7625 100644 --- a/lotuswordpro/source/filter/xfilter/xfborders.hxx +++ b/lotuswordpro/source/filter/xfilter/xfborders.hxx @@ -99,9 +99,9 @@ public: void SetWidthSpace(double space); /** - * @descr Set outter line width for border with double line. + * @descr Set outer line width for border with double line. */ - void SetWidthOutter(double outer); + void SetWidthOuter(double outer); private: /** @@ -122,7 +122,7 @@ private: sal_Bool m_bSameWidth; double m_fWidthInner; double m_fWidthSpace; - double m_fWidthOutter; + double m_fWidthOuter; }; /** @@ -163,9 +163,9 @@ public: void SetWidthSpace(enumXFBorder side, double space); /** - * @descr Set outter border width of border side. + * @descr Set outer border width of border side. */ - void SetWidthOutter(enumXFBorder side, double outer); + void SetWidthOuter(enumXFBorder side, double outer); XFBorder * GetLeft() {return &m_aBorderLeft;} diff --git a/lotuswordpro/source/filter/xfilter/xfdefs.hxx b/lotuswordpro/source/filter/xfilter/xfdefs.hxx index d439b6688086..d91a58e3d3f3 100644 --- a/lotuswordpro/source/filter/xfilter/xfdefs.hxx +++ b/lotuswordpro/source/filter/xfilter/xfdefs.hxx @@ -430,7 +430,7 @@ enum enumXFLineNumberPos enumXFLineNumberLeft, enumXFLineNumberRight, enumXFLineNumberInner, - enumXFLineNumberOutter, + enumXFLineNumberOuter, }; enum enumXFEntry diff --git a/lotuswordpro/source/filter/xfilter/xflinenumberconfig.hxx b/lotuswordpro/source/filter/xfilter/xflinenumberconfig.hxx index 2742fed1de4e..455e8576107c 100644 --- a/lotuswordpro/source/filter/xfilter/xflinenumberconfig.hxx +++ b/lotuswordpro/source/filter/xfilter/xflinenumberconfig.hxx @@ -173,8 +173,8 @@ inline void XFLineNumberConfig::ToXml(IXFStream *pStrm) pAttrList->AddAttribute( A2OUSTR("text:number-position"), A2OUSTR("right") ); else if( m_ePosition == enumXFLineNumberInner ) pAttrList->AddAttribute( A2OUSTR("text:number-position"), A2OUSTR("inner") ); - else if( m_ePosition == enumXFLineNumberOutter ) - pAttrList->AddAttribute( A2OUSTR("text:number-position"), A2OUSTR("outter") ); + else if( m_ePosition == enumXFLineNumberOuter ) + pAttrList->AddAttribute( A2OUSTR("text:number-position"), A2OUSTR("outer") ); pAttrList->AddAttribute( A2OUSTR("text:increment"), Int32ToOUString(m_nIncrement) ); |