/trunk/main/vcl/source/gdi/ |
H A D | impfont.cxx | 360 int nValue; in ParseCMAP() local 367 case 0x003: nValue = 23; break; // UCS-2 in ParseCMAP() 368 case 0x004: nValue = 24; break; // UCS-4 in ParseCMAP() 372 case 0x301: nValue = 28; break; // Win UCS-2 in ParseCMAP() 376 case 0x304: nValue = 11; eTmpEncoding = RTL_TEXTENCODING_BIG5; break; in ParseCMAP() 377 case 0x305: nValue = 11; eTmpEncoding = RTL_TEXTENCODING_MS_949; break; in ParseCMAP() 379 default: nValue = 0; break; in ParseCMAP() 382 if( nValue <= 0 ) // ignore unknown encodings in ParseCMAP() 388 nValue += 3; in ParseCMAP() 392 if( nBestVal < nValue ) in ParseCMAP() [all …]
|
/trunk/main/xmloff/source/core/ |
H A D | ProgressBarHelper.cxx | 48 , nValue(0) in ProgressBarHelper() 69 double fValue(nValue * fPercent); in ChangeReference() 73 (void) abs(nValue); in ChangeReference() 75 nValue = static_cast< sal_Int32 >(fValue); in ChangeReference() 81 nValue = 0; in ChangeReference() 84 return nValue; in ChangeReference() 91 if ((nTempValue >= nValue) && (!bStrict || (bStrict && (nTempValue <= nReference)))) in SetValue() 97 nValue = nReference; in SetValue() 103 nValue = 0; in SetValue() 107 nValue = nTempValue; in SetValue() [all …]
|
/trunk/main/svx/source/svdraw/ |
H A D | svdattr.cxx | 900 nValue = -nValue; in GetPresentation() 904 if(nValue) in GetPresentation() 1409 if(!nValue) in GetPresentation() 1410 nValue = -1L; in GetPresentation() 1412 if(nValue < 0) in GetPresentation() 1641 rValue.nValue = rVal.nValue; in SetValue() 1779 SetValue( nValue ); in PutValue() 1795 SetValue( nValue ); in PutValue() 1811 SetValue( nValue ); in PutValue() 1827 SetValue( nValue ); in PutValue() [all …]
|
/trunk/main/vbahelper/source/msforms/ |
H A D | vbacheckbox.cxx | 56 sal_Int16 nValue = -1; in getValue() local 57 m_xProps->getPropertyValue( STATE ) >>= nValue; in getValue() 58 if( nValue != 0 ) in getValue() 59 nValue = -1; in getValue() 63 return uno::makeAny( ( nValue == -1 ) ? sal_True : sal_False ); in getValue() 69 sal_Int16 nValue = 0; in setValue() local 71 if( _value >>= nValue ) in setValue() 73 if( nValue == -1) in setValue() 74 nValue = 1; in setValue() 79 nValue = 1; in setValue() [all …]
|
H A D | vbaradiobutton.cxx | 55 sal_Int16 nValue = -1; in getValue() local 56 m_xProps->getPropertyValue( STATE ) >>= nValue; in getValue() 57 if( nValue != 0 ) in getValue() 58 nValue = -1; in getValue() 62 return uno::makeAny( ( nValue == -1 ) ? sal_True : sal_False ); in getValue() 69 sal_Int16 nValue = 0; in setValue() local 71 if( _value >>= nValue ) in setValue() 73 if( nValue == -1) in setValue() 74 nValue = 1; in setValue() 79 nValue = 1; in setValue() [all …]
|
/trunk/main/sw/source/core/bastyp/ |
H A D | calc.cxx | 480 if( nValue >= DBL_MAX ) in GetStrResult() 529 aErrExpr.nValue.SetVoidValue(false); in VarLook() 635 aErrExpr.nValue.PutDouble( nNumber ); in VarLook() 637 aErrExpr.nValue.PutString( sResult ); in VarLook() 645 aErrExpr.nValue.SetVoidValue(true); in VarLook() 670 pNewExp->nValue.SetVoidValue(true); in VarLook() 687 SwSbxValue aVal( nValue ); in VarChange() 706 pFnd->nValue = rValue; in VarChange() 1431 nErg = n->nValue = Expr(); in Prim() 1435 nErg = VarLook( aVarName )->nValue; in Prim() [all …]
|
/trunk/main/xmloff/source/chart/ |
H A D | XMLSymbolTypePropertyHdl.cxx | 40 sal_Int32 nValue; member 73 sal_Int32 nValue, in lcl_convertEnum() argument 80 if( pMap->nValue == nValue ) in lcl_convertEnum() 103 rEnum = pMap->nValue; in lcl_convertEnum() 129 sal_Int32 nValue = -3; // NONE in importXML() local 130 bResult = lcl_convertEnum( nValue, rStrImpValue, aXMLChartSymbolNameMap ); in importXML() 131 rValue <<= nValue; in importXML() 135 sal_Int32 nValue = -3; // NONE in importXML() local 136 bResult = lcl_convertEnum( nValue, rStrImpValue, aXMLChartSymbolTypeEnumMap ); in importXML() 137 rValue <<= nValue; in importXML()
|
/trunk/main/basegfx/inc/basegfx/range/ |
H A D | basicbox.hxx | 49 BasicBox( sal_Int32 nValue ) : in BasicBox() argument 50 Base( nValue ) in BasicBox() 73 bool isInside(sal_Int32 nValue) const in isInside() 81 return (nValue >= mnMinimum) && (nValue < mnMaximum); in isInside() 106 void grow(sal_Int32 nValue) in grow() argument 110 bool bLessThanZero(nValue < 0); in grow() 112 if(nValue > 0 || bLessThanZero) in grow() 114 mnMinimum -= nValue; in grow() 115 mnMaximum += nValue; in grow()
|
/trunk/main/xmloff/source/style/ |
H A D | XMLFillBitmapSizePropertyHandler.cxx | 51 sal_Int32 nValue; in importXML() local 56 bRet = rUnitConverter.convertPercent( nValue, rStrImpValue ); in importXML() 57 nValue *= -1; in importXML() 61 bRet = rUnitConverter.convertMeasure( nValue, rStrImpValue ); in importXML() 65 rValue <<= nValue; in importXML() 77 sal_Int32 nValue = 0; in exportXML() local 78 if( rValue >>= nValue ) in exportXML() 80 if( nValue < 0 ) in exportXML() 82 rUnitConverter.convertPercent( aOut, -nValue ); in exportXML() 86 rUnitConverter.convertMeasure( aOut, nValue ); in exportXML()
|
H A D | EnumPropertyHdl.cxx | 51 sal_uInt16 nValue = 0; in importXML() local 53 if( SvXMLUnitConverter::convertEnum( nValue, rStrImpValue, mpEnumMap ) ) in importXML() 58 rValue = ::cppu::int2enum( nValue, mrType ); in importXML() 61 rValue <<= (sal_Int32) nValue; in importXML() 64 rValue <<= (sal_Int16) nValue; in importXML() 67 rValue <<= (sal_Int8) nValue; in importXML() 81 sal_Int32 nValue = 0; in exportXML() local 82 if(!(rValue >>= nValue )) in exportXML() 83 if(!::cppu::enum2int(nValue, rValue) ) in exportXML() 88 if(!SvXMLUnitConverter::convertEnum( aOut, nValue, mpEnumMap )) in exportXML()
|
H A D | undlihdl.cxx | 182 sal_Int16 nValue = sal_Int16(); in exportXML() local 185 if( (rValue >>= nValue) && in exportXML() 186 (FontUnderline::DOUBLE == nValue || in exportXML() 187 FontUnderline::DOUBLEWAVE == nValue) ) in exportXML() 190 aOut, (sal_uInt16)nValue, pXML_UnderlineType_Enum ); in exportXML() 272 sal_Int16 nValue = sal_Int16(); in exportXML() local 275 if( rValue >>= nValue ) in exportXML() 278 aOut, (sal_uInt16)nValue, pXML_UnderlineStyle_Enum ); in exportXML() 364 sal_Int16 nValue = sal_Int16(); in exportXML() local 367 if( (rValue >>= nValue) && (FontUnderline::NONE != nValue) ) in exportXML() [all …]
|
/trunk/main/sc/source/core/data/ |
H A D | column2.cxx | 188 long nValue=0; in GetNeededSize() local 553 if ( nValue > nCmp ) in GetNeededSize() 554 nValue = nCmp; in GetNeededSize() 561 nValue = 0; in GetNeededSize() 583 if ( nValue && bAddMargin ) in GetNeededSize() 625 return nValue; in GetNeededSize() 631 long nValue=0; in GetSimpleTextNeededSize() local 651 return nValue; in GetSimpleTextNeededSize() 1731 double nValue = 0.0; in lcl_UpdateSubTotal() local 1793 rData.nVal = nValue; in lcl_UpdateSubTotal() [all …]
|
/trunk/main/oox/inc/oox/helper/ |
H A D | helper.hxx | 114 inline ReturnType getLimitedValue( Type nValue, Type nMin, Type nMax ) in getLimitedValue() argument 116 return static_cast< ReturnType >( ::std::min( ::std::max( nValue, nMin ), nMax ) ); in getLimitedValue() 120 inline ReturnType getIntervalValue( Type nValue, Type nBegin, Type nEnd ) in getIntervalValue() argument 125 …Type nCount = (nValue < nBegin) ? -((nBegin - nValue - 1) / nInterval + 1) : ((nValue - nBegin) / … in getIntervalValue() 126 return static_cast< ReturnType >( nValue - nCount * nInterval ); in getIntervalValue() 182 void insertValue( Type& ornBitField, InsertType nValue, sal_uInt8 nStartBit, sal_uInt8 nBitCount ) in insertValue() argument 185 Type nNewValue = static_cast< Type >( nValue & nMask ); in insertValue() 274 inline static void writeLittleEndian( void* pDstBuffer, Type nValue ); 294 inline void ByteOrderConverter::writeLittleEndian( void* pDstBuffer, Type nValue ) in writeLittleEndian() argument 296 convertLittleEndian( nValue ); in writeLittleEndian() [all …]
|
H A D | binaryoutputstream.hxx | 66 void writeValue( Type nValue ); 70 inline BinaryOutputStream& operator<<( Type nValue ) { writeValue( nValue ); return *this; } in operator <<() argument 83 void BinaryOutputStream::writeValue( Type nValue ) in writeValue() argument 85 ByteOrderConverter::convertLittleEndian( nValue ); in writeValue() 86 writeMemory( &nValue, static_cast< sal_Int32 >( sizeof( Type ) ), sizeof( Type ) ); in writeValue() 129 inline BinaryXOutputStream& operator<<( Type nValue ) { writeValue( nValue ); return *this; } in operator <<() argument 170 inline SequenceOutputStream& operator<<( Type nValue ) { writeValue( nValue ); return *this; } in operator <<() argument
|
/trunk/main/sw/source/core/unocore/ |
H A D | unosett.cxx | 1832 sal_Int16 nValue = 0; in SetNumberingRuleByIndex() local 1833 pData->aVal >>= nValue; in SetNumberingRuleByIndex() 1834 if(nValue > 0 && in SetNumberingRuleByIndex() 1927 sal_Int32 nValue = 0; in SetNumberingRuleByIndex() local 1935 sal_Int32 nValue = 0; in SetNumberingRuleByIndex() local 1937 if(nValue >= 0) in SetNumberingRuleByIndex() 1945 sal_Int32 nValue = 0; in SetNumberingRuleByIndex() local 1948 nValue = MM100_TO_TWIP(nValue); in SetNumberingRuleByIndex() 1997 nValue = MM100_TO_TWIP(nValue); in SetNumberingRuleByIndex() 2012 nValue = MM100_TO_TWIP(nValue); in SetNumberingRuleByIndex() [all …]
|
/trunk/main/xmloff/source/text/ |
H A D | txtprhdl.cxx | 450 sal_Int32 nValue = 0; in importXML() local 452 bVal = 1 == nValue; in importXML() 1076 sal_Int32 nValue; in importXML() local 1091 if( (rValue >>= nValue) && nValue > 0 ) in exportXML() 1182 sal_Int32 nValue; in importXML() local 1186 nValue = (nValue % 360 ); in importXML() 1187 if( nValue < 0 ) in importXML() 1188 nValue = 360 + nValue; in importXML() 1190 if( nValue < 45 || nValue > 315 ) in importXML() 1192 else if( nValue < 180 ) in importXML() [all …]
|
/trunk/main/accessibility/source/standard/ |
H A D | vclxaccessiblecheckbox.cxx | 221 ++nValue; in doAccessibleAction() 223 if ( nValue > nValueMax ) in doAccessibleAction() 224 nValue = nValueMin; in doAccessibleAction() 226 pVCLXCheckBox->setState( (sal_Int16) nValue ); in doAccessibleAction() 314 sal_Int32 nValue = 0, nValueMin = 0, nValueMax = 0; in setCurrentValue() local 315 OSL_VERIFY( aNumber >>= nValue ); in setCurrentValue() 319 if ( nValue < nValueMin ) in setCurrentValue() 320 nValue = nValueMin; in setCurrentValue() 321 else if ( nValue > nValueMax ) in setCurrentValue() 322 nValue = nValueMax; in setCurrentValue() [all …]
|
/trunk/main/filter/source/flash/ |
H A D | swfwriter.hxx | 62 inline sal_uInt16 _uInt16( sal_Int32 nValue ) in _uInt16() argument 64 …OSL_ENSURE( (nValue >= 0) && ((sal_uInt32)nValue <= 0xffff), "overflow while converting sal_Int32 … in _uInt16() 65 return (sal_uInt16)nValue; in _uInt16() 68 inline sal_Int16 _Int16( sal_Int32 nValue ) in _Int16() argument 70 …OSL_ENSURE( (nValue >= -32768) && (nValue <= 32767), "overflow while converting sal_Int32 to sal_I… in _Int16() 71 return (sal_Int16)nValue; in _Int16() 138 void writeUB( sal_uInt32 nValue, sal_uInt16 nBits ); 139 void writeSB( sal_Int32 nValue, sal_uInt16 nBits ); 194 void addUI32( sal_uInt32 nValue ); 196 void addUI16( sal_uInt16 nValue ); [all …]
|
/trunk/main/cui/source/tabpages/ |
H A D | textattr.cxx | 177 SetMetricValue( aMtrFldLeft, nValue, eUnit ); in Reset() 190 SetMetricValue( aMtrFldRight, nValue, eUnit ); in Reset() 203 SetMetricValue( aMtrFldTop, nValue, eUnit ); in Reset() 385 sal_Int32 nValue; in FillItemSet() local 390 nValue = GetCoreValue( aMtrFldLeft, eUnit ); in FillItemSet() 391 rAttrs.Put( SdrTextLeftDistItem( nValue ) ); in FillItemSet() 396 nValue = GetCoreValue( aMtrFldRight, eUnit ); in FillItemSet() 397 rAttrs.Put( SdrTextRightDistItem( nValue ) ); in FillItemSet() 402 nValue = GetCoreValue( aMtrFldTop, eUnit ); in FillItemSet() 403 rAttrs.Put( SdrTextUpperDistItem( nValue ) ); in FillItemSet() [all …]
|
/trunk/main/connectivity/source/drivers/odbcbase/ |
H A D | OTools.cxx | 735 nValue = DataType::BIT; in MapOdbcType2Jdbc() 738 nValue = DataType::TINYINT; in MapOdbcType2Jdbc() 747 nValue = DataType::BIGINT; in MapOdbcType2Jdbc() 750 nValue = DataType::FLOAT; in MapOdbcType2Jdbc() 753 nValue = DataType::REAL; in MapOdbcType2Jdbc() 756 nValue = DataType::DOUBLE; in MapOdbcType2Jdbc() 766 nValue = DataType::CHAR; in MapOdbcType2Jdbc() 778 nValue = DataType::DATE; in MapOdbcType2Jdbc() 782 nValue = DataType::TIME; in MapOdbcType2Jdbc() 789 nValue = DataType::BINARY; in MapOdbcType2Jdbc() [all …]
|
/trunk/main/svl/source/items/ |
H A D | intitem.cxx | 45 short nValue = 0; in Create() local 46 rStream >> nValue; in Create() 47 return new SfxByteItem(Which(), sal_uInt8(nValue)); in Create() 112 sal_Int16 nValue = m_nValue; in QueryValue() local 113 rVal <<= nValue; in QueryValue() 121 sal_Int16 nValue = sal_Int16(); in PutValue() local 122 if (rVal >>= nValue) in PutValue() 124 m_nValue = nValue; in PutValue() 216 SfxMetricItem::SfxMetricItem(sal_uInt16 which, sal_uInt32 nValue): in SfxMetricItem() argument 217 SfxInt32Item(which, nValue) in SfxMetricItem()
|
/trunk/main/connectivity/source/commontools/ |
H A D | FDatabaseMetaDataResultSet.cxx | 760 sal_Int8 nValue(0); in initialize() local 761 *pRowIter >>= nValue; in initialize() 768 sal_Int16 nValue(0); in initialize() local 769 *pRowIter >>= nValue; in initialize() 776 sal_Int32 nValue(0); in initialize() local 777 *pRowIter >>= nValue; in initialize() 784 sal_Int64 nValue(0); in initialize() local 785 *pRowIter >>= nValue; in initialize() 791 float nValue(0.0); in initialize() local 792 *pRowIter >>= nValue; in initialize() [all …]
|
/trunk/main/xmloff/source/forms/ |
H A D | propertyimport.cxx | 124 sal_Int32 nValue(0); in convertString() local 134 aReturn <<= (sal_Int16)nValue; in convertString() 136 aReturn <<= (sal_Int32)nValue; in convertString() 165 double nValue; in convertString() local 174 aReturn <<= (double)nValue; in convertString() 193 double nValue = 0; in convertString() local 208 OSL_ENSURE(((sal_uInt32)nValue) - nValue == 0, in convertString() 210 aReturn <<= lcl_getDate(nValue); in convertString() 215 OSL_ENSURE(((sal_uInt32)nValue) == 0, in convertString() 217 aReturn <<= lcl_getTime(nValue); in convertString() [all …]
|
/trunk/main/sw/source/core/access/ |
H A D | accportions.cxx | 445 sal_Int32 nValue ) const in FindBreak() 448 DBG_ASSERT( rPositions[0] <= nValue, "need min value" ); in FindBreak() 449 DBG_ASSERT( rPositions[rPositions.size()-1] >= nValue, in FindBreak() 451 DBG_ASSERT( rPositions[rPositions.size()-2] >= nValue, in FindBreak() 462 ( (nMin != 0) && (rPositions[nMin] < nValue) ), in FindBreak() 477 if( nValue > rPositions[nMiddle] ) in FindBreak() 485 if( (rPositions[nMin] < nValue) && (rPositions[nMin+1] <= nValue) ) in FindBreak() 491 DBG_ASSERT( (nMin == 0) || (rPositions[nMin-1] <= nValue), in FindBreak() 502 sal_Int32 nValue ) const in FindLastBreak() 504 size_t nResult = FindBreak( rPositions, nValue ); in FindLastBreak() [all …]
|
/trunk/main/sc/source/filter/inc/ |
H A D | ftools.hxx | 63 inline ReturnType llimit_cast( Type nValue, ReturnType nMin ) in llimit_cast() argument 64 { return static_cast< ReturnType >( ::std::max< Type >( nValue, nMin ) ); } in llimit_cast() 68 inline ReturnType llimit_cast( Type nValue ) in llimit_cast() argument 69 { return llimit_cast( nValue, ::std::numeric_limits< ReturnType >::min() ); } in llimit_cast() 73 inline ReturnType ulimit_cast( Type nValue, ReturnType nMax ) in ulimit_cast() argument 74 { return static_cast< ReturnType >( ::std::min< Type >( nValue, nMax ) ); } in ulimit_cast() 78 inline ReturnType ulimit_cast( Type nValue ) in ulimit_cast() argument 79 { return ulimit_cast( nValue, ::std::numeric_limits< ReturnType >::max() ); } in ulimit_cast() 88 inline ReturnType limit_cast( Type nValue ) in limit_cast() argument 125 Type nNewValue = static_cast< Type >( nValue & nMask ); in insert_value() [all …]
|