summaryrefslogtreecommitdiff
path: root/svl/inc/svl
diff options
context:
space:
mode:
authorKohei Yoshida <kyoshida@novell.com>2011-02-25 16:46:17 -0500
committerKohei Yoshida <kyoshida@novell.com>2011-02-28 10:40:09 -0500
commit77b5cc0a971797e50687e8d978723fbec4d3db7c (patch)
treeddcb6076144f92c45f9cc51cbef42e7865fd63d5 /svl/inc/svl
parentc03562112ffb0978cd6658ead1058616eac12b65 (diff)
Renamed GetnAnz() to GetCount(), to make it easier for us to understand.
Diffstat (limited to 'svl/inc/svl')
-rw-r--r--svl/inc/svl/zformat.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svl/inc/svl/zformat.hxx b/svl/inc/svl/zformat.hxx
index b04768e64783..e9790d60f3aa 100644
--- a/svl/inc/svl/zformat.hxx
+++ b/svl/inc/svl/zformat.hxx
@@ -145,7 +145,7 @@ public:
const ImpSvNumberformatInfo& Info() const { return aI; }
// Get count of substrings (symbols)
- USHORT GetnAnz() const { return nAnzStrings;}
+ USHORT GetCount() const { return nAnzStrings;}
Color* GetColor() const { return pColor; }
void SetColor( Color* pCol, String& rName )
@@ -263,7 +263,7 @@ public:
// True if 4th subformat present
BOOL HasTextFormat() const
{
- return (NumFor[3].GetnAnz() > 0) ||
+ return (NumFor[3].GetCount() > 0) ||
(NumFor[3].Info().eScannedType == NUMBERFORMAT_TEXT);
}
@@ -311,7 +311,7 @@ public:
// strings of the format were matched and not just the starting
// sequence, so we don't have to check if GetnAnz() includes
// [modifiers] or anything else if both counts are equal.
- USHORT nCnt = NumFor[nNumFor].GetnAnz();
+ USHORT nCnt = NumFor[nNumFor].GetCount();
if ( nAllCount == nCnt )
return TRUE;
if ( nAllCount < nCnt ) // check ignoring [modifiers] and so on