diff options
author | Joe Schaefer <joes@apache.org> | 2012-11-26 02:32:20 +0000 |
---|---|---|
committer | Joe Schaefer <joes@apache.org> | 2012-11-26 02:32:20 +0000 |
commit | 59ee09f905e86724a2ba5cdccab9210d16686820 (patch) | |
tree | b31b34097ade50a060d0d427bce5f8ccd4ad6a6f /tools/source/inet | |
parent | 8f4457b94f439f3b8a4a8611f98daa411b615e9e (diff) |
mv ooo to top-level
Diffstat (limited to 'tools/source/inet')
-rw-r--r-- | tools/source/inet/inetstrm.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/source/inet/inetstrm.cxx b/tools/source/inet/inetstrm.cxx index 7f96aa418a6b..f9bfbdfadc1c 100644 --- a/tools/source/inet/inetstrm.cxx +++ b/tools/source/inet/inetstrm.cxx @@ -410,7 +410,7 @@ INetMessageOStream::~INetMessageOStream (void) if (pTargetMsg) { SvOpenLockBytes *pLB = - PTR_CAST (SvOpenLockBytes, pTargetMsg->GetDocumentLB()); + dynamic_cast< SvOpenLockBytes* >( pTargetMsg->GetDocumentLB()); if (pLB) { pLB->Flush(); @@ -555,7 +555,7 @@ int INetMessageOStream::PutMsgLine (const sal_Char *pData, sal_uIntPtr nSize) else { SvOpenLockBytes *pLB = - PTR_CAST(SvOpenLockBytes, pTargetMsg->GetDocumentLB()); + dynamic_cast< SvOpenLockBytes* >( pTargetMsg->GetDocumentLB()); if (pLB == NULL) return INETSTREAM_STATUS_WOULDBLOCK; @@ -866,7 +866,7 @@ int INetMessageDecodeQPStream_Impl::PutMsgLine ( INetMessage *pMsg = GetTargetMessage(); if (pMsg == NULL) return INETSTREAM_STATUS_ERROR; - SvOpenLockBytes * pLB = PTR_CAST(SvOpenLockBytes, pMsg->GetDocumentLB()); + SvOpenLockBytes * pLB = dynamic_cast< SvOpenLockBytes* >( pMsg->GetDocumentLB()); if (pLB == NULL) return INETSTREAM_STATUS_WOULDBLOCK; const sal_Char *pStop = pData + nSize; @@ -1196,7 +1196,7 @@ int INetMessageDecode64Stream_Impl::PutMsgLine ( INetMessage *pMsg = GetTargetMessage (); if (pMsg == NULL) return INETSTREAM_STATUS_ERROR; - SvOpenLockBytes * pLB = PTR_CAST(SvOpenLockBytes, pMsg->GetDocumentLB()); + SvOpenLockBytes * pLB = dynamic_cast< SvOpenLockBytes* >( pMsg->GetDocumentLB()); if (pLB == NULL) return INETSTREAM_STATUS_WOULDBLOCK; const sal_Char *pStop = (pData + nSize); |