summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZolnai Tamás <tamas.zolnai@collabora.com>2014-01-03 19:55:17 +0100
committerZolnai Tamás <tamas.zolnai@collabora.com>2014-01-03 19:56:25 +0100
commit24282a3bd62416bbcca5847ff35ef0c22ad6dac4 (patch)
tree0d6690026aad99ab41e894415874ee85b05a1c53
parenteb2b7d243dc75578c76b8e5801a63b9a93389bb7 (diff)
Fiy typos: nInitalsLen -> nInitialsLen
Change-Id: If3d4ee2d860d89378276aa9be212a59ec958c9e2
-rw-r--r--sw/source/filter/ww8/wrtw8sty.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/sw/source/filter/ww8/wrtw8sty.cxx b/sw/source/filter/ww8/wrtw8sty.cxx
index 0ed970c0ee69..9d8fbe85c87d 100644
--- a/sw/source/filter/ww8/wrtw8sty.cxx
+++ b/sw/source/filter/ww8/wrtw8sty.cxx
@@ -2508,30 +2508,30 @@ void WW8_WrPlcSubDoc::WriteGenericPlc( WW8Export& rWrt, sal_uInt8 nTTyp,
"Impossible");
sal_uInt16 nFndPos = static_cast< sal_uInt16 >(aIter - aStrArr.begin());
OUString sInitials( aIter->second );
- sal_uInt8 nInitalsLen = (sal_uInt8)sInitials.getLength();
- if ( nInitalsLen > 9 )
+ sal_uInt8 nInitialsLen = (sal_uInt8)sInitials.getLength();
+ if ( nInitialsLen > 9 )
{
sInitials = sInitials.copy( 0, 9 );
- nInitalsLen = 9;
+ nInitialsLen = 9;
}
// xstUsrInitl[ 10 ] pascal-style String holding initials
// of annotation author
if ( rWrt.bWrtWW8 )
{
- SwWW8Writer::WriteShort(*rWrt.pTableStrm, nInitalsLen);
+ SwWW8Writer::WriteShort(*rWrt.pTableStrm, nInitialsLen);
SwWW8Writer::WriteString16(*rWrt.pTableStrm, sInitials,
false);
SwWW8Writer::FillCount( *rWrt.pTableStrm,
- (9 - nInitalsLen) * 2 );
+ (9 - nInitialsLen) * 2 );
}
else
{
- *rWrt.pTableStrm << nInitalsLen;
+ *rWrt.pTableStrm << nInitialsLen;
SwWW8Writer::WriteString8(*rWrt.pTableStrm, sInitials,
false, RTL_TEXTENCODING_MS_1252);
- SwWW8Writer::FillCount(*rWrt.pTableStrm, 9 - nInitalsLen);
+ SwWW8Writer::FillCount(*rWrt.pTableStrm, 9 - nInitialsLen);
}
// documents layout of WriteShort's below: