diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-08-16 23:06:13 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-08-17 09:54:13 +0100 |
commit | 7acd9e2c28911003511de641cfd18b86bde7d808 (patch) | |
tree | 17d19f4778f0df9a9557d827ea0b6b43757750ec /lotuswordpro/source/filter/lwpobjid.cxx | |
parent | 9b845e5814ba8f251986494bed4ec3c64bddcfd3 (diff) |
callcatcher: remove some methods
Diffstat (limited to 'lotuswordpro/source/filter/lwpobjid.cxx')
-rw-r--r-- | lotuswordpro/source/filter/lwpobjid.cxx | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/lotuswordpro/source/filter/lwpobjid.cxx b/lotuswordpro/source/filter/lwpobjid.cxx index a0c6605369de..78268669d740 100644 --- a/lotuswordpro/source/filter/lwpobjid.cxx +++ b/lotuswordpro/source/filter/lwpobjid.cxx @@ -156,29 +156,6 @@ sal_uInt32 LwpObjectID::ReadIndexed(LwpObjectStream *pStrm) return DiskSizeIndexed(); } /** - * @descr Read object id with compressed format from stream - * if diff == 255: 255+lowid+highid - * else lowid equals to the lowid of previous low id - * and high id = the high id of previous id + diff +1 -*/ -sal_uInt32 LwpObjectID::ReadCompressed( LwpSvStream* pStrm, LwpObjectID &prev ) -{ - sal_uInt32 len=0; - sal_uInt8 diff; - - len = pStrm->Read( &diff, sizeof(diff)); - if (diff == 255) - { - len += Read(pStrm); - } - else - { - m_nLow = prev.GetLow(); - m_nHigh = prev.GetHigh() + diff +1; - } - return len; -} -/** * @descr Read object id with compressed format from object stream * if diff == 255: 255+lowid+highid * else lowid equals to the lowid of previous low id @@ -237,18 +214,5 @@ LwpObject* LwpObjectID::obj(VO_TYPE tag) const } return(pObj); } -/** - * @descr returns a buffer that contains the highid + lowid - */ -sal_Char* LwpObjectID::GetBuffer(sal_Char *buf) -{ - buf[0] = m_nHigh && 0xFF00; - buf[1] = m_nHigh && 0x00FF; - buf[2] = m_nLow && 0xFF000000; - buf[3] = m_nLow && 0x00FF0000; - buf[4] = m_nLow && 0x0000FF00; - buf[5] = m_nLow && 0x000000FF; - return buf; -} /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |