summaryrefslogtreecommitdiff
path: root/lotuswordpro/source/filter/lwpdrawobj.cxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2016-06-03 14:45:59 +0200
committerMichael Stahl <mstahl@redhat.com>2016-06-06 18:09:11 +0000
commit62d270116bf34778bf581f21b27fa9cdbff7de0e (patch)
tree0402df0506ab8f6825ef497f27426f01d2e01850 /lotuswordpro/source/filter/lwpdrawobj.cxx
parentd0bc637426060593046c8d3a4d01d0b05b052cc5 (diff)
tools: rename SvStream::Read/Write to ReadBytes/WriteBytes
Change-Id: Ib788a30d413436aa03f813aa2fddcbc4d6cd2f9a Reviewed-on: https://gerrit.libreoffice.org/25972 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'lotuswordpro/source/filter/lwpdrawobj.cxx')
-rw-r--r--lotuswordpro/source/filter/lwpdrawobj.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/lotuswordpro/source/filter/lwpdrawobj.cxx b/lotuswordpro/source/filter/lwpdrawobj.cxx
index cab4dd260125..8361e21cf64c 100644
--- a/lotuswordpro/source/filter/lwpdrawobj.cxx
+++ b/lotuswordpro/source/filter/lwpdrawobj.cxx
@@ -151,7 +151,7 @@ void LwpDrawObj::ReadClosedObjStyle()
// fill style
m_pStream->ReadUInt16( m_aClosedObjStyleRec.nFillType );
- m_pStream->Read(m_aClosedObjStyleRec.pFillPattern,
+ m_pStream->ReadBytes(m_aClosedObjStyleRec.pFillPattern,
sizeof(m_aClosedObjStyleRec.pFillPattern));
}
@@ -1036,7 +1036,7 @@ void LwpDrawTextBox::Read()
m_aTextRec.nTextWidth = 1;
m_pStream->ReadInt16( m_aTextRec.nTextHeight );
- m_pStream->Read(m_aTextRec.tmpTextFaceName, DRAW_FACESIZE);
+ m_pStream->ReadBytes(m_aTextRec.tmpTextFaceName, DRAW_FACESIZE);
m_pStream->SeekRel(1);// PitchAndFamily
m_pStream->ReadInt16( m_aTextRec.nTextSize );
@@ -1062,7 +1062,7 @@ void LwpDrawTextBox::Read()
sal_Int16 TextLength = m_aObjHeader.nRecLen - 71;
m_aTextRec.pTextString = new sal_uInt8 [TextLength];
- m_pStream->Read(m_aTextRec.pTextString, TextLength);
+ m_pStream->ReadBytes(m_aTextRec.pTextString, TextLength);
}
OUString LwpDrawTextBox::RegisterStyle()
@@ -1242,7 +1242,7 @@ void LwpDrawTextArt::Read()
m_pStream->SeekRel(1);
- m_pStream->Read(m_aTextArtRec.tmpTextFaceName, DRAW_FACESIZE);
+ m_pStream->ReadBytes(m_aTextArtRec.tmpTextFaceName, DRAW_FACESIZE);
m_pStream->SeekRel(1);// PitchAndFamily
m_pStream->ReadInt16( m_aTextArtRec.nTextSize );
@@ -1265,7 +1265,7 @@ void LwpDrawTextArt::Read()
throw BadRead();
m_aTextArtRec.pTextString = new sal_uInt8 [m_aTextArtRec.nTextLen];
- m_pStream->Read(m_aTextArtRec.pTextString, m_aTextArtRec.nTextLen);
+ m_pStream->ReadBytes(m_aTextArtRec.pTextString, m_aTextArtRec.nTextLen);
m_aTextArtRec.pTextString[m_aTextArtRec.nTextLen-1] = 0;
}
@@ -1476,7 +1476,7 @@ void LwpDrawBitmap::Read()
pPicData += 30*sizeof(sal_uInt8);
}
- m_pStream->Read(pPicData, nDIBRemaining);
+ m_pStream->ReadBytes(pPicData, nDIBRemaining);
}
OUString LwpDrawBitmap::RegisterStyle()