summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2013-11-23 23:08:19 +0100
committerJulien Nabet <serval2412@yahoo.fr>2013-11-23 23:22:25 +0100
commit9f3aa81c5d5a15b7374768417839bc200fd06479 (patch)
treebb91d4af77cde9cc974aef1548f438a07bbdf323 /sd
parentea6f3c09cf76932ce567e8d3250e0f665ca42c99 (diff)
Lenght -> Length
Change-Id: Ic338484627a1b74fba2d4d0794f8865290177464
Diffstat (limited to 'sd')
-rw-r--r--sd/source/filter/eppt/epptso.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sd/source/filter/eppt/epptso.cxx b/sd/source/filter/eppt/epptso.cxx
index 064b1204fe2a..45bf78b10647 100644
--- a/sd/source/filter/eppt/epptso.cxx
+++ b/sd/source/filter/eppt/epptso.cxx
@@ -2376,14 +2376,14 @@ void PPTWriter::ImplWritePage( const PHLayout& rLayout, EscherSolverContainer& a
if ( nRadius )
{
ImplCreateShape( ESCHER_ShpInst_RoundRectangle, 0xa00, aSolverContainer ); // Flags: Connector | HasSpt
- sal_Int32 nLenght = maRect.GetWidth();
- if ( nLenght > maRect.GetHeight() )
- nLenght = maRect.GetHeight();
- nLenght >>= 1;
- if ( nRadius >= nLenght )
+ sal_Int32 nLength = maRect.GetWidth();
+ if ( nLength > maRect.GetHeight() )
+ nLength = maRect.GetHeight();
+ nLength >>= 1;
+ if ( nRadius >= nLength )
nRadius = 0x2a30; // 0x2a30 ist PPTs maximum radius
else
- nRadius = ( 0x2a30 * nRadius ) / nLenght;
+ nRadius = ( 0x2a30 * nRadius ) / nLength;
aPropOpt.AddOpt( ESCHER_Prop_adjustValue, nRadius );
}
else