Lines Matching refs:aBuf
108 rtl::OUStringBuffer aBuf( 256 ); in GetScreenName() local
109 …aBuf.append( rtl::OStringToOUString( rtl::OString( DisplayString( pSalDisp->GetDisplay() ) ), osl_… in GetScreenName()
110 aBuf.appendAscii( " [" ); in GetScreenName()
111 aBuf.append( static_cast<sal_Int32>(nScreen) ); in GetScreenName()
112 aBuf.append( sal_Unicode(']') ); in GetScreenName()
113 aScreenName = aBuf.makeStringAndClear(); in GetScreenName()
119 rtl::OUStringBuffer aBuf( 256 ); in GetScreenName() local
120 …aBuf.append( rtl::OStringToOUString( rtl::OString( DisplayString( pSalDisp->GetDisplay() ) ), osl_… in GetScreenName()
122 int nPos = aBuf.getLength(); in GetScreenName()
125 while( nPos > 0 && aBuf.charAt( nPos ) != ':' ) in GetScreenName()
128 while( nPos < aBuf.getLength() && aBuf.charAt( nPos ) != '.' ) in GetScreenName()
130 if( nPos < aBuf.getLength() ) in GetScreenName()
131 aBuf.setLength( nPos+1 ); in GetScreenName()
133 aBuf.append( sal_Unicode('.') ); in GetScreenName()
134 aBuf.append( static_cast<sal_Int32>(nScreen) ); in GetScreenName()
135 aScreenName = aBuf.makeStringAndClear(); in GetScreenName()