diff options
author | Noel Grandin <noel@peralex.com> | 2015-06-29 14:04:27 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-06-30 09:13:24 +0200 |
commit | d16d9f950f8cb6d8948875372c9ff1f0aae9fb7a (patch) | |
tree | b8d2146504c704fb9dfa11ea835ae39ff49e3dec /lotuswordpro/source/filter/benval.cxx | |
parent | more change in JNI func sigs between Java 6 and 7 workarounds (diff) | |
download | core-d16d9f950f8cb6d8948875372c9ff1f0aae9fb7a.tar.gz core-d16d9f950f8cb6d8948875372c9ff1f0aae9fb7a.zip |
remove some unnecessary typedefs to pointer
that were really not helping make the code any clearer.
Found with a search
git grep -P 'typedef\s+\w+\s*\*\s*\w+\;'
and manual inspection
Change-Id: I6a5c031e9e060ad3623a7586ec8a8cc4fe6252e9
Diffstat (limited to 'lotuswordpro/source/filter/benval.cxx')
-rw-r--r-- | lotuswordpro/source/filter/benval.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lotuswordpro/source/filter/benval.cxx b/lotuswordpro/source/filter/benval.cxx index db505a84035f..239159eb9047 100644 --- a/lotuswordpro/source/filter/benval.cxx +++ b/lotuswordpro/source/filter/benval.cxx @@ -69,7 +69,7 @@ CBenValue::GetValueSize() } BenError -CBenValue::ReadValueData(BenDataPtr pReadBuffer, unsigned long Offset, +CBenValue::ReadValueData(void * pReadBuffer, unsigned long Offset, unsigned long Amt, unsigned long * pAmtRead) { BenError Err; @@ -77,7 +77,7 @@ CBenValue::ReadValueData(BenDataPtr pReadBuffer, unsigned long Offset, *pAmtRead = 0; pCBenValueSegment pCurrSeg = NULL; pLtcBenContainer pContainer = GetContainer(); - BenByteDataPtr pBuffer = static_cast<BenByteDataPtr>(pReadBuffer); + BenByte* pBuffer = static_cast<BenByte*>(pReadBuffer); /// pReadBuffer -- pointer to buffer of read result, allocated outside this function /// Offset -- read buffer's start offset address, relative value in the whole value stream |