[Libreoffice-commits] core.git: sw/source
Miklos Vajna
vmiklos at collabora.co.uk
Mon Mar 21 07:57:07 UTC 2016
sw/source/filter/ww8/ww8scan.cxx | 2 +-
sw/source/filter/ww8/ww8scan.hxx | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
New commits:
commit db1ee6571d82bca1763de71c11dd67993ec01df7
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date: Mon Mar 21 08:29:28 2016 +0100
sw: MAN_ANZ_PLCF -> MAN_PLCF_COUNT
Change-Id: If66c03001b80a8fd54abf819906ac80b59f4edac
diff --git a/sw/source/filter/ww8/ww8scan.cxx b/sw/source/filter/ww8/ww8scan.cxx
index bff8b64..fef7896 100644
--- a/sw/source/filter/ww8/ww8scan.cxx
+++ b/sw/source/filter/ww8/ww8scan.cxx
@@ -4607,7 +4607,7 @@ WW8PLCFMan::WW8PLCFMan(WW8ScannerBase* pBase, ManTypes nType, long nStartCp,
if( MAN_MAINTEXT == nType )
{
// search order of the attributes
- nPLCF = MAN_ANZ_PLCF;
+ nPLCF = MAN_PLCF_COUNT;
pField = &aD[0];
pBkm = &aD[1];
pEdn = &aD[2];
diff --git a/sw/source/filter/ww8/ww8scan.hxx b/sw/source/filter/ww8/ww8scan.hxx
index fc39df1..11cb3f7 100644
--- a/sw/source/filter/ww8/ww8scan.hxx
+++ b/sw/source/filter/ww8/ww8scan.hxx
@@ -903,7 +903,7 @@ struct WW8PLCFxSaveAll;
class WW8PLCFMan
{
public:
- enum WW8PLCFManLimits {MAN_ANZ_PLCF = 12};
+ enum WW8PLCFManLimits {MAN_PLCF_COUNT = 12};
private:
wwSprmParser maSprmParser;
@@ -918,7 +918,7 @@ private:
//before the para end mark, but for
//drawboxes we want the true offsets
- WW8PLCFxDesc aD[MAN_ANZ_PLCF];
+ WW8PLCFxDesc aD[MAN_PLCF_COUNT];
WW8PLCFxDesc *pChp, *pPap, *pSep, *pField, *pFootnote, *pEdn, *pBkm, *pPcd,
*pPcdA, *pAnd, *pAtnBkm, *pFactoidBkm;
WW8PLCFspecial *pFdoa, *pTxbx, *pTxbxBkd,*pMagicTables, *pSubdocs;
@@ -990,7 +990,7 @@ public:
struct WW8PLCFxSaveAll
{
- WW8PLCFxSave1 aS[WW8PLCFMan::MAN_ANZ_PLCF];
+ WW8PLCFxSave1 aS[WW8PLCFMan::MAN_PLCF_COUNT];
WW8PLCFxSaveAll()
{
memset(aS, 0, sizeof(aS));
More information about the Libreoffice-commits
mailing list