/trunk/main/sw/source/filter/ww8/ |
H A D | rtfattributeoutput.cxx | 349 aRet.append(pStr); in OutTBLBorderLine() 396 aRet.append(pStr); in OutBorderLine() 1429 const char* pStr = 0; in SectionPageNumbering() local 1441 if (pStr) in SectionPageNumbering() 2197 const char* pStr = 0; in CharUnderline() local 2259 if( pStr ) in CharUnderline() 2406 const sal_Char* pStr; in CharEmphasisMark() local 2454 const sal_Char* pStr; in CharRelief() local 2464 pStr = 0; in CharRelief() 2468 if (pStr) in CharRelief() [all …]
|
H A D | rtfexport.cxx | 860 if( *pStr > '9' ) in OutHex() 861 *pStr += 39; in OutHex() 864 return OString(pStr); in OutHex() 870 const sal_Char* pStr = 0; in OutChar() local 879 pStr = OOO_STRING_SVTOOLS_RTF_TAB; in OutChar() 889 pStr = "\\~"; in OutChar() 893 pStr = "\\_"; in OutChar() 897 pStr = "\\-"; in OutChar() 943 if (pStr) { in OutChar() 944 aBuf.append(pStr); in OutChar() [all …]
|
/trunk/main/sw/source/filter/html/ |
H A D | css1atr.cxx | 191 if( *pStr > '9' ) in ConvToHex() 192 *pStr += 39; in ConvToHex() 1295 if( pStr ) in PrepareFontList() 2600 if( pStr ) in OutCSS1_SvxCaseMap() 2743 if( pStr ) in OutCSS1_SvxPosture() 2878 if( pStr ) in OutCSS1_SvxFontWeight() 2974 if( pStr ) in OutCSS1_SvxAdjust() 3676 sal_Char *pStr = 0; in OutCSS1_SvxFrameDirection() local 3681 pStr = sCSS1_PV_ltr; in OutCSS1_SvxFrameDirection() 3685 pStr = sCSS1_PV_rtl; in OutCSS1_SvxFrameDirection() [all …]
|
H A D | htmlfly.cxx | 552 const sal_Char *pStr = in OutFrmFmtOptions() local 554 ((sOut += ' ') += pStr) += "=\""; in OutFrmFmtOptions() 580 const sal_Char *pStr = 0; in OutFrmFmtOptions() local 617 if( pStr ) in OutFrmFmtOptions() 759 pStr = 0; in OutFrmFmtOptions() 806 if( pStr ) in OutFrmFmtOptions() 1287 const sal_Char *pStr = 0; in OutHTML_BulletImage() local 1301 if( pStr ) in OutHTML_BulletImage() 1476 const sal_Char *pStr = 0; in OutHTML_FrmFmtAsDivOrSpan() local 1486 pStr = OOO_STRING_SVTOOLS_HTML_span; in OutHTML_FrmFmtAsDivOrSpan() [all …]
|
/trunk/main/sal/osl/unx/ |
H A D | profile.c | 537 pStr++; in osl_readProfileString() 546 pStr = stripBlanks(pStr, NULL); in osl_readProfileString() 548 pStr = stripBlanks(pStr, &MaxLen); in osl_readProfileString() 560 if ( pStr == NULL ) in osl_readProfileString() 651 sal_Char* pStr; in osl_writeProfileString() local 1868 sal_Char* pStr; in loadProfile() local 1902 if ((*pStr == '\0') || (*pStr == ';')) in loadProfile() 1905 if ((*pStr != '[') || ((pChar = strrchr(pStr, ']')) == NULL) || in loadProfile() 1914 pChar = pStr + strlen(pStr); in loadProfile() 1917 i, pStr, pChar - pStr)) in loadProfile() [all …]
|
H A D | security.c | 741 sal_Char *pStr = NULL; in osl_psz_getHomeDir() local 756 pStr = ppwd->pw_dir; in osl_psz_getHomeDir() 758 pStr = getenv("HOME"); in osl_psz_getHomeDir() 761 if ((pStr != NULL) && (strlen(pStr) > 0) && in osl_psz_getHomeDir() 762 (access(pStr, 0) == 0)) in osl_psz_getHomeDir() 763 strncpy(pszDirectory, pStr, nMax); in osl_psz_getHomeDir() 796 sal_Char *pStr = getenv("XDG_CONFIG_HOME"); in osl_psz_getConfigDir() local 798 if ((pStr == NULL) || (strlen(pStr) == 0) || in osl_psz_getConfigDir() 799 (access(pStr, 0) != 0)) in osl_psz_getConfigDir() 802 strncpy(pszDirectory, pStr, nMax); in osl_psz_getConfigDir()
|
/trunk/main/sal/osl/w32/ |
H A D | profile.cxx | 488 pStr++; in osl_readProfileString() 492 if ( pStr != 0 ) in osl_readProfileString() 494 pStr = stripBlanks(pStr, NULL); in osl_readProfileString() 495 MaxLen = (MaxLen - 1 < strlen(pStr)) ? (MaxLen - 1) : strlen(pStr); in osl_readProfileString() 496 pStr = stripBlanks(pStr, &MaxLen); in osl_readProfileString() 511 if ( pStr == 0 ) in osl_readProfileString() 1948 if ((*pStr == '\0') || (*pStr == ';')) in loadProfile() 1951 if ((*pStr != '[') || ((pChar = strrchr(pStr, ']')) == NULL) || in loadProfile() 1960 pChar = pStr + strlen(pStr); in loadProfile() 1963 i, pStr, pChar - pStr)) in loadProfile() [all …]
|
/trunk/main/editeng/source/misc/ |
H A D | svxacorr.cxx | 851 --pStr; in FnCptlSttSntnc() 856 pDelim = pStr+1; in FnCptlSttSntnc() 857 pWordStt = pStr; in FnCptlSttSntnc() 873 pWordStt = --pStr; in FnCptlSttSntnc() 906 else if ( 0x3002 != *pStr && 0xFF0E != *pStr && 0xFF01 != *pStr && in FnCptlSttSntnc() 932 --pStr; in FnCptlSttSntnc() 949 switch( *pStr ) in FnCptlSttSntnc() 1024 pStr = pTmpStr; in FnCptlSttSntnc() 1042 sal_Bool bNumericOnly = '0' <= *(pStr+1) && *(pStr+1) <= '9'; in FnCptlSttSntnc() 1055 --pStr; in FnCptlSttSntnc() [all …]
|
/trunk/main/vcl/source/gdi/ |
H A D | sallayout.cxx | 208 const char* pStr = NULL; in GetAutofallback() local 214 pStr = "|"; break; in GetAutofallback() 216 pStr = "~"; break; in GetAutofallback() 218 pStr = ";"; break; in GetAutofallback() 231 pStr = " "; break; in GetAutofallback() 237 pStr = "-"; break; in GetAutofallback() 243 pStr = "_"; break; in GetAutofallback() 249 pStr = ","; break; in GetAutofallback() 257 pStr = "<"; break; in GetAutofallback() 285 return pStr; in GetAutofallback() [all …]
|
/trunk/main/vcl/unx/generic/printergfx/ |
H A D | text_gfx.cxx | 337 const sal_Unicode* pStr, in DrawText() argument 350 pEffectiveStr = (sal_Unicode*)alloca(nLen * sizeof(pStr[0])); in DrawText() 352 pEffectiveStr[i] = pStr[i] < 256 ? pStr[i] + 0xF000 : pStr[i]; in DrawText() 356 pEffectiveStr = const_cast<sal_Unicode*>(pStr); in DrawText() 463 const sal_Unicode* pStr, in drawVerticalizedText() argument 482 rMgr.hasVerticalSubstitutions( mnFontID, pStr, nLen, pGsubFlags ); in drawVerticalizedText() 534 drawText( aPos, pStr+i, 1, NULL ); in drawVerticalizedText() 591 const sal_Unicode* pStr, in drawText() argument 607 LicenseWarning(rPoint, pStr, nLen, pDeltaArray); in drawText() 614 aGSet.DrawText( *this, rPoint, pStr, nLen, pDeltaArray ); in drawText() [all …]
|
/trunk/main/soltools/ldump/ |
H A D | ldump.cxx | 245 char* pStr; in ReadFilter() local 260 if ( !pStr ) in ReadFilter() 263 if ( *(pStr+nLen-1) == '\n' ) in ReadFilter() 264 *(pStr+nLen-1) = '\0'; in ReadFilter() 265 pFilterLines[nFilterLines] = pStr; in ReadFilter() 394 char* pStr; in ReadDataBase() local 412 if ( !pStr ) in ReadDataBase() 414 memcpy( pStr, aBuf, (size_t) nLen ); in ReadDataBase() 415 if ( *(pStr+nLen-1) == '\n' ) in ReadDataBase() 416 *(pStr+nLen-1) = '\0'; in ReadDataBase() [all …]
|
/trunk/main/sd/source/ui/func/ |
H A D | fusldlg.cxx | 91 String* pStr = new String( pPage->GetName() ); in DoExecute() local 93 if ( !pStr->Len() ) in DoExecute() 95 *pStr = String( SdResId( STR_PAGE ) ); in DoExecute() 96 (*pStr).Append( UniString::CreateFromInt32( nPage + 1 ) ); in DoExecute() 99 aPageNameList.Insert( pStr, (sal_uLong) 0 ); in DoExecute() 102 if ( rPresPage == *pStr ) in DoExecute() 105 aFirstPage = *pStr; in DoExecute() 257 for( void* pStr = aPageNameList.First(); pStr; pStr = aPageNameList.Next() ) in DoExecute() local 258 delete (String*) pStr; in DoExecute()
|
/trunk/main/sc/source/filter/excel/ |
H A D | excimp8.cxx | 446 xub_StrLen nLen = rEntry.pStr->Len(); in ExcelQueryToOooQuery() 447 sal_Unicode nStart = rEntry.pStr->GetChar( 0 ); in ExcelQueryToOooQuery() 448 sal_Unicode nEnd = rEntry.pStr->GetChar( nLen-1 ); in ExcelQueryToOooQuery() 451 rEntry.pStr->Erase( nLen-1, 1 ); in ExcelQueryToOooQuery() 452 rEntry.pStr->Erase( 0, 1 ); in ExcelQueryToOooQuery() 457 rEntry.pStr->Erase( 0, 1 ); in ExcelQueryToOooQuery() 462 rEntry.pStr->Erase( nLen-1, 1 ); in ExcelQueryToOooQuery() 467 rEntry.pStr->Erase( 0, 1 ); in ExcelQueryToOooQuery() 553 CreateFromDouble( *aEntry.pStr, fVal ); in ReadAutoFilter() 559 aEntry.pStr->Erase(); in ReadAutoFilter() [all …]
|
/trunk/main/sw/inc/ |
H A D | stringhash.hxx | 51 const sal_Unicode *pStr = rString->GetBuffer(); in operator ()() local 55 h = (h*37) + *(pStr++); in operator ()() 59 const sal_Unicode* pEndStr = pStr+nLen-5; in operator ()() 63 h = (h*39) + *(pStr++); in operator ()() 64 h = (h*39) + *(pStr++); in operator ()() 65 h = (h*39) + *(pStr++); in operator ()() 71 h = (h*39) + ( *pStr ); in operator ()() 72 pStr += nSkip; in operator ()()
|
/trunk/main/svx/source/items/ |
H A D | numfmtsh.cxx | 719 rList.Insert( pStr,rList.Count()); in FillEListWithFormats_Impl() 764 rList.Insert( pStr,rList.Count()); in FillEListWithDateTime_Impl() 853 rList.Insert( pStr,rList.Count()); in FillEListWithSysCurrencys() 892 rList.Insert( pStr,rList.Count()); in FillEListWithSysCurrencys() 1577 rList.Insert( pStr,rList.Count()); in GetCurrencySymbols() 1583 pStr = new XubString(aString); in GetCurrencySymbols() 1584 rList.Insert( pStr,rList.Count()); in GetCurrencySymbols() 1602 pStr = new XubString(aStr); in GetCurrencySymbols() 1612 rList.Insert( pStr,j); in GetCurrencySymbols() 1630 if(*pTestStr==*pStr) in GetCurrencySymbols() [all …]
|
H A D | clipfmtitem.cxx | 54 String* pStr = rCpy.aFmtNms[ n ]; in SvxClipboardFmtItem_Impl() local 55 if( pStr ) in SvxClipboardFmtItem_Impl() 56 pStr = new String( *pStr ); in SvxClipboardFmtItem_Impl() 57 aFmtNms.Insert( pStr, n ); in SvxClipboardFmtItem_Impl() 145 String* pStr = 0; in AddClipbrdFormat() local 146 pImpl->aFmtNms.Insert( pStr, nPos ); in AddClipbrdFormat() 155 String* pStr = new String( rName ); in AddClipbrdFormat() local 156 pImpl->aFmtNms.Insert( pStr, nPos ); in AddClipbrdFormat()
|
/trunk/main/svx/source/dialog/ |
H A D | imapdlg.cxx | 408 for( String* pStr = aNewList.First(); pStr; pStr = aNewList.Next() ) in SetTargetList() local 409 maCbbTarget.InsertEntry( *pStr ); in SetTargetList() 446 …for( String* pStr = pOwnData->aUpdateTargetList.First(); pStr; pStr = pOwnData->aUpdateTargetList.… in Update() local 447 delete pStr; in Update() 458 for( String* pStr = aTargetList.First(); pStr; pStr = aTargetList.Next() ) in Update() local 459 pOwnData->aUpdateTargetList.Insert( new String( *pStr ) ); in Update() 953 …for( String* pStr = pOwnData->aUpdateTargetList.First(); pStr; pStr = pOwnData->aUpdateTargetList.… in IMPL_LINK() local 954 delete pStr; in IMPL_LINK()
|
/trunk/main/xmloff/source/draw/ |
H A D | animationimport.cxx | 308 const sal_Unicode * pStr = rValue.getStr(); in isDouble() local 311 …if( (*pStr >= '0' && *pStr <= '9') || *pStr == '-' || *pStr == '.' || *pStr == '+' || *pStr == 'e'… in isDouble() 313 pStr++; in isDouble() 328 const sal_Unicode * pStr; in isTime() local 329 for( pStr = rValue.getStr(); nLength; pStr++, nLength-- ) in isTime() 331 …if( !( (*pStr >= '0' && *pStr <= '9') || *pStr == '-' || *pStr == '.' || *pStr == '+' || *pStr == … in isTime() 337 return (nLength == 0) || ((*pStr == 's' || *pStr == 'S') && (nLength == 1)); in isTime()
|
/trunk/main/svtools/source/contnr/ |
H A D | svtabbx.cxx | 100 pEntry->AddItem( pStr ); in InitEntry() 283 SvLBoxItem* pStr = pEntry->GetItem( nCur ); in GetEntryText() local 284 if( pStr->IsA() == SV_ITEM_ID_LBOXSTRING ) in GetEntryText() 337 SvLBoxItem* pStr = pEntry->GetItem( nCur ); in SetEntryText() local 338 if( pStr && pStr->IsA() == SV_ITEM_ID_LBOXSTRING ) in SetEntryText() 346 ((SvLBoxString*)pStr)->SetText( pEntry, aTemp ); in SetEntryText() 355 ((SvLBoxString*)pStr)->SetText( pEntry, aTemp ); in SetEntryText() 381 SvLBoxItem* pStr = pEntry->GetItem( nCol + 1 ); in GetCellText() local 382 if ( pStr && pStr->IsA() == SV_ITEM_ID_LBOXSTRING ) in GetCellText() 457 SvLBoxItem* pStr = pEntry->GetItem( nCur ); in GetTabEntryText() local [all …]
|
/trunk/main/sw/source/filter/writer/ |
H A D | writer.cxx | 263 sal_Char* pStr = aNToABuf + (NTOABUFLEN-1); in OutHex() local 266 *(--pStr) = (sal_Char)(nHex & 0xf ) + 48; in OutHex() 267 if( *pStr > '9' ) in OutHex() 268 *pStr += 39; in OutHex() 271 return rStrm << pStr; in OutHex() 277 sal_Char* pStr = aNToABuf + (NTOABUFLEN-1); in OutLong() local 284 *(--pStr) = (sal_Char)(nVal % 10 ) + 48; in OutLong() 290 *(--pStr) = '-'; in OutLong() 292 return rStrm << pStr; in OutLong() 301 *(--pStr) = (sal_Char)(nVal % 10 ) + 48; in OutULong() [all …]
|
/trunk/main/unotools/source/config/ |
H A D | fontcfg.cxx | 684 const char* pStr = *ppStr; in ImplKillLeading() local 686 while ( (*pNameStr == (xub_Unicode)(unsigned char)*pStr) && *pStr ) in ImplKillLeading() 689 pStr++; in ImplKillLeading() 691 if ( !*pStr ) in ImplKillLeading() 722 do if( *(pNameStr++) != *(pStr++) ) in ImplIsTrailing() 724 while( *pStr ); in ImplIsTrailing() 777 xub_StrLen nPos = rName.SearchAscii( pStr ); in ImplFindAndErase() 781 const char* pTempStr = pStr; in ImplFindAndErase() 784 rName.Erase( nPos, (xub_StrLen)(pTempStr-pStr) ); in ImplFindAndErase() 953 const sal_Unicode* pStr = pLine->getStr(); in fillSubstVector() local [all …]
|
/trunk/main/automation/source/server/ |
H A D | scmdstrm.cxx | 54 comm_UniChar* pStr; in Read() local 56 CmdBaseStream::Read( pStr, nLenInChars ); in Read() 58 *pString = String( pStr, nLenInChars ); in Read() 59 delete [] pStr; in Read() 64 comm_UniChar* pStr; in Read() local 66 CmdBaseStream::Read( pStr, nLenInChars ); in Read() 68 aString = String( pStr, nLenInChars ); in Read() 69 delete [] pStr; in Read()
|
/trunk/main/tools/bootstrp/ |
H A D | cppdep.cxx | 65 ByteString *pStr = pSources->GetObject(n); in Execute() local 66 Search( *pStr ); in Execute() 72 ByteString *pStr = new ByteString( aPath ); in AddSearchPath() local 73 pSearchPath->Insert( pStr, LIST_APPEND ); in AddSearchPath() 79 ByteString *pStr = new ByteString( aSource ); in AddSource() local 80 pSources->Insert( pStr, LIST_APPEND ); in AddSource() 118 ByteString *pStr = pFileList->GetObject(i); in Search() local 119 if ( *pStr == aNewFile ) in Search()
|
/trunk/main/tools/source/debug/ |
H A D | debug.cxx | 685 pStr[ nMaxLen - 1 ] = 0; in DbgGetDbgFileName() 696 strcpy( pStr, pName ); in DbgGetLogFileName() 700 strcpy( pStr, pName ); in DbgGetLogFileName() 707 strcpy( pStr, "dbgsv.log" ); in DbgGetLogFileName() 1632 sal_Char const * pStr; in DbgOut() local 1639 pStr = "Error: "; in DbgOut() 1646 pStr = "Warning: "; in DbgOut() 1651 pStr = NULL; in DbgOut() 1669 if ( pStr ) in DbgOut() 1671 strcpy( aBufOut, pStr ); in DbgOut() [all …]
|
/trunk/main/ucbhelper/source/client/ |
H A D | proxydecider.cxx | 184 const char * pStr = aString.getStr(); in Matches() local 195 if ( *pStr == '\0' ) in Matches() 203 if ( *pWild != *pStr ) in Matches() 220 if ( *pStr == '\0' ) in Matches() 222 while ( *pStr && *pStr != *pWild ) in Matches() 229 pStr++; in Matches() 230 if ( *pStr == '\0' ) in Matches() 237 if ( *pStr != '\0' ) in Matches() 238 pStr++; in Matches() 244 return ( *pStr == '\0' ) && ( *pWild == '\0' ); in Matches()
|