Lines Matching refs:pStm
122 SotStorageStream::SotStorageStream( BaseStorageStream * pStm ) in SotStorageStream() argument
124 if( pStm ) in SotStorageStream()
126 if( STREAM_WRITE & pStm->GetMode() ) in SotStorageStream()
131 pOwnStm = pStm; in SotStorageStream()
132 SetError( pStm->GetError() ); in SotStorageStream()
133 pStm->ResetError(); in SotStorageStream()
694 SotStorage::SotStorage( SvStream * pStm, sal_Bool bDelete ) in SotStorage() argument
697 SetError( pStm->GetError() ); in SotStorage()
700 if ( UCBStorage::IsStorageFile( pStm ) ) in SotStorage()
701 m_pOwnStg = new UCBStorage( *pStm, sal_False ); in SotStorage()
703 m_pOwnStg = new Storage( *pStm, sal_False ); in SotStorage()
707 m_pStorStm = pStm; in SotStorage()
876 SvMemoryStream * pStm = NULL; in CreateMemoryStream() local
877 pStm = new SvMemoryStream( 0x8000, 0x8000 ); in CreateMemoryStream()
878 SotStorageRef aStg = new SotStorage( *pStm ); in CreateMemoryStream()
884 delete pStm; in CreateMemoryStream()
885 pStm = NULL; in CreateMemoryStream()
887 return pStm; in CreateMemoryStream()
907 SvStream * pStm = ::utl::UcbStreamHelper::CreateStream( aName, STREAM_STD_READ ); in IsStorageFile() local
908 sal_Bool bRet = SotStorage::IsStorageFile( pStm ); in IsStorageFile()
909 delete pStm; in IsStorageFile()
1123 SotStorageStream * pStm = NULL; in OpenEncryptedSotStream() local
1133 pStm = new SotStorageStream( p ); in OpenEncryptedSotStream()
1138 pStm->SetSize( 0 ); in OpenEncryptedSotStream()
1142 return pStm; in OpenEncryptedSotStream()
1150 SotStorageStream * pStm = NULL; in OpenSotStream() local
1160 pStm = new SotStorageStream( p ); in OpenSotStream()
1165 pStm->SetSize( 0 ); in OpenSotStream()
1169 return pStm; in OpenSotStream()