summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-07-28 16:57:10 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-07-28 21:19:47 +0200
commit4b3484b1fce510e53eb8ee587616b107ad477511 (patch)
tree41fdf96c895e6982f52c86fdbd8bcc2f7fde022b
parentad121df71ad463bed8caf147d27f020b548f0862 (diff)
use n prefix for numeric variable
Change-Id: I70a7b10d46cdafc4dd59f8fc046587a6219a2218
-rw-r--r--sc/source/filter/excel/xetable.cxx12
-rw-r--r--sc/source/filter/inc/xetable.hxx8
2 files changed, 10 insertions, 10 deletions
diff --git a/sc/source/filter/excel/xetable.cxx b/sc/source/filter/excel/xetable.cxx
index d1b731e9cd19..69ef9323e3b5 100644
--- a/sc/source/filter/excel/xetable.cxx
+++ b/sc/source/filter/excel/xetable.cxx
@@ -1670,7 +1670,7 @@ XclExpColinfoBuffer::XclExpColinfoBuffer( const XclExpRoot& rRoot ) :
XclExpRoot( rRoot ),
maDefcolwidth( rRoot ),
maOutlineBfr( rRoot ),
- maHighestOutlineLevel( 0 )
+ mnHighestOutlineLevel( 0 )
{
}
@@ -1680,9 +1680,9 @@ void XclExpColinfoBuffer::Initialize( SCROW nLastScRow )
for( sal_uInt16 nScCol = 0, nLastScCol = GetMaxPos().Col(); nScCol <= nLastScCol; ++nScCol )
{
maColInfos.AppendNewRecord( new XclExpColinfo( GetRoot(), nScCol, nLastScRow, maOutlineBfr ) );
- if( maOutlineBfr.GetLevel() > maHighestOutlineLevel )
+ if( maOutlineBfr.GetLevel() > mnHighestOutlineLevel )
{
- maHighestOutlineLevel = maOutlineBfr.GetLevel();
+ mnHighestOutlineLevel = maOutlineBfr.GetLevel();
}
}
}
@@ -2102,7 +2102,7 @@ XclExpRowBuffer::XclExpRowBuffer( const XclExpRoot& rRoot ) :
XclExpRoot( rRoot ),
maOutlineBfr( rRoot ),
maDimensions( rRoot ),
- maHighestOutlineLevel( 0 )
+ mnHighestOutlineLevel( 0 )
{
}
@@ -2351,9 +2351,9 @@ XclExpRow& XclExpRowBuffer::GetOrCreateRow( sal_uInt32 nXclRow, bool bRowAlwaysE
( maOutlineBfr.GetLevel() != 0 ) ||
( rDoc.RowHidden(nFrom, nScTab) ) )
{
- if( maOutlineBfr.GetLevel() > maHighestOutlineLevel )
+ if( maOutlineBfr.GetLevel() > mnHighestOutlineLevel )
{
- maHighestOutlineLevel = maOutlineBfr.GetLevel();
+ mnHighestOutlineLevel = maOutlineBfr.GetLevel();
}
RowRef p(new XclExpRow(GetRoot(), nFrom, maOutlineBfr, bRowAlwaysEmpty));
maRowMap.insert(RowMap::value_type(nFrom, p));
diff --git a/sc/source/filter/inc/xetable.hxx b/sc/source/filter/inc/xetable.hxx
index 25ad27844095..c932be2ed218 100644
--- a/sc/source/filter/inc/xetable.hxx
+++ b/sc/source/filter/inc/xetable.hxx
@@ -770,7 +770,7 @@ public:
/** Writes all COLINFO records of this buffer. */
virtual void Save( XclExpStream& rStrm ) override;
virtual void SaveXml( XclExpXmlStream& rStrm ) override;
- sal_uInt8 GetHighestOutlineLevel() { return maHighestOutlineLevel; }
+ sal_uInt8 GetHighestOutlineLevel() { return mnHighestOutlineLevel; }
private:
typedef XclExpRecordList< XclExpColinfo > XclExpColinfoList;
@@ -779,7 +779,7 @@ private:
XclExpColinfoList maColInfos; /// List of COLINFO records.
XclExpDefcolwidth maDefcolwidth; /// The DEFCOLWIDTH record.
XclExpColOutlineBuffer maOutlineBfr; /// Buffer for column outline groups.
- sal_uInt8 maHighestOutlineLevel; /// Highest number of outline levels for columns in sheet.
+ sal_uInt8 mnHighestOutlineLevel; /// Highest number of outline levels for columns in sheet.
};
class XclExpRow;
@@ -931,7 +931,7 @@ public:
virtual void SaveXml( XclExpXmlStream& rStrm ) override;
XclExpDimensions& GetDimensions() { return maDimensions; }
- sal_uInt8 GetHighestOutlineLevel() { return maHighestOutlineLevel; }
+ sal_uInt8 GetHighestOutlineLevel() { return mnHighestOutlineLevel; }
private:
/** Returns access to the specified ROW record. Inserts preceding missing ROW records.
@@ -946,7 +946,7 @@ private:
RowMap maRowMap;
XclExpRowOutlineBuffer maOutlineBfr; /// Buffer for row outline groups.
XclExpDimensions maDimensions; /// DIMENSIONS record for used area.
- sal_uInt8 maHighestOutlineLevel; /// Highest number of outline levels for rows in sheet.
+ sal_uInt8 mnHighestOutlineLevel; /// Highest number of outline levels for rows in sheet.
};
// Cell Table