Kaydet (Commit) aef4b3b9 authored tarafından Caolán McNamara's avatar Caolán McNamara

throw out some warnings

üst 5cf197fa
......@@ -360,10 +360,10 @@ sal_uInt16 LwpObjectStream::DecompressBuffer(sal_uInt8* pDst, sal_uInt8* pSrc, s
*/
OUString LwpObjectStream::QuickReadStringPtr(void)
{
sal_uInt16 len, diskSize;
sal_uInt16 diskSize;
diskSize = QuickReaduInt16();
len = QuickReaduInt16();
QuickReaduInt16(); //len
OUString str;
rtl_TextEncoding rEncode = RTL_TEXTENCODING_MS_1252;
......
......@@ -116,8 +116,8 @@ sal_Bool LwpFormulaInfo::ReadConst()
*/
sal_Bool LwpFormulaInfo::ReadText()
{
USHORT nDiskSize,nStrLen;
nDiskSize = m_pObjStrm->QuickReadInt16();
sal_uInt16 nStrLen;
m_pObjStrm->QuickReadInt16(); //Disk Size
nStrLen = m_pObjStrm->QuickReadInt16();
auto_ptr<char> pBuf(new char[nStrLen+1]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment