Lines Matching refs:nElem
761 sal_Int32 nElem; in getCurrSymbolsImpl() local
762 for ( nElem = 0; nElem < nCnt; nElem++ ) in getCurrSymbolsImpl()
764 if ( pCurrArr[nElem].Default ) in getCurrSymbolsImpl()
767 if ( nElem >= nCnt ) in getCurrSymbolsImpl()
775 nElem = 0; in getCurrSymbolsImpl()
776 if ( nElem >= nCnt ) in getCurrSymbolsImpl()
788 aCurrSymbol = pCurrArr[nElem].Symbol; in getCurrSymbolsImpl()
789 aCurrBankSymbol = pCurrArr[nElem].BankSymbol; in getCurrSymbolsImpl()
790 nCurrDigits = pCurrArr[nElem].DecimalPlaces; in getCurrSymbolsImpl()
892 sal_Int32 nElem, nDef, nNeg, nMedium; in getCurrFormatsImpl() local
894 for ( nElem = 0; nElem < nCnt; nElem++ ) in getCurrFormatsImpl()
896 if ( pFormatArr[nElem].Type == KNumberFormatType::MEDIUM ) in getCurrFormatsImpl()
898 if ( pFormatArr[nElem].Default ) in getCurrFormatsImpl()
900 nDef = nElem; in getCurrFormatsImpl()
901 nMedium = nElem; in getCurrFormatsImpl()
902 if ( pFormatArr[nElem].Code.indexOf( ';' ) >= 0 ) in getCurrFormatsImpl()
903 nNeg = nElem; in getCurrFormatsImpl()
907 if ( (nNeg == -1 || nMedium == -1) && pFormatArr[nElem].Code.indexOf( ';' ) >= 0 ) in getCurrFormatsImpl()
908 nNeg = nElem; in getCurrFormatsImpl()
910 nMedium = nElem; in getCurrFormatsImpl()
915 if ( nDef == -1 && pFormatArr[nElem].Default ) in getCurrFormatsImpl()
916 nDef = nElem; in getCurrFormatsImpl()
917 if ( nNeg == -1 && pFormatArr[nElem].Code.indexOf( ';' ) >= 0 ) in getCurrFormatsImpl()
918 nNeg = nElem; in getCurrFormatsImpl()
928 nElem = (nDef >= 0 ? nDef : (nNeg >= 0 ? nNeg : 0)); in getCurrFormatsImpl()
929 scanCurrFormatImpl( pFormatArr[nElem].Code, 0, nSign, nPar, nNum, nBlank, nSym ); in getCurrFormatsImpl()
1151 sal_Int32 nElem, nEdit, nDef, nMedium, nLong; in getDateFormatsImpl() local
1153 for ( nElem = 0; nElem < nCnt; nElem++ ) in getDateFormatsImpl()
1155 if ( nEdit == -1 && pFormatArr[nElem].Index == NumberFormatIndex::DATE_SYS_DDMMYYYY ) in getDateFormatsImpl()
1156 nEdit = nElem; in getDateFormatsImpl()
1157 if ( nDef == -1 && pFormatArr[nElem].Default ) in getDateFormatsImpl()
1158 nDef = nElem; in getDateFormatsImpl()
1159 switch ( pFormatArr[nElem].Type ) in getDateFormatsImpl()
1163 if ( pFormatArr[nElem].Default ) in getDateFormatsImpl()
1165 nDef = nElem; in getDateFormatsImpl()
1166 nMedium = nElem; in getDateFormatsImpl()
1169 nMedium = nElem; in getDateFormatsImpl()
1174 if ( pFormatArr[nElem].Default ) in getDateFormatsImpl()
1175 nLong = nElem; in getDateFormatsImpl()
1177 nLong = nElem; in getDateFormatsImpl()