Lines Matching refs:pOwnName
58 BOOL StringsEqual( LPCOLESTR pszNameFromOutside, wchar_t* pOwnName ) in StringsEqual() argument
62 if ( pszNameFromOutside && pOwnName ) in StringsEqual()
64 for ( int nInd = 0; pszNameFromOutside[nInd] != 0 || pOwnName[nInd] != 0; nInd++ ) in StringsEqual()
66 if ( pszNameFromOutside[nInd] != pOwnName[nInd] ) in StringsEqual()
73 else if ( pszNameFromOutside || pOwnName ) in StringsEqual()
86 void InprocEmbedDocument_Impl::SetName( LPCOLESTR pszNameFromOutside, wchar_t*& pOwnName ) in SetName() argument
96 if ( pOwnName ) in SetName()
98 delete[] pOwnName; in SetName()
99 pOwnName = NULL; in SetName()
102 pOwnName = new wchar_t[nLen+1]; in SetName()
104 pOwnName[nInd] = pszNameFromOutside[nInd]; in SetName()
105 pOwnName[nLen] = 0; in SetName()