Lines Matching refs:nRet
41 long nRet = 0; in GetMetricText() local
57 nRet = (long)OutputDevice::LogicToLogic( in GetMetricText()
62 case SFX_MAPUNIT_100TH_MM: nRet *= 1000; break; in GetMetricText()
63 case SFX_MAPUNIT_10TH_MM: nRet *= 100; break; in GetMetricText()
64 case SFX_MAPUNIT_MM: nRet *= 10; break; in GetMetricText()
75 nRet = (long)OutputDevice::LogicToLogic( in GetMetricText()
80 case SFX_MAPUNIT_1000TH_INCH: nRet *= 1000; break; in GetMetricText()
81 case SFX_MAPUNIT_100TH_INCH: nRet *= 100; break; in GetMetricText()
82 case SFX_MAPUNIT_10TH_INCH: nRet *= 10; break; in GetMetricText()
101 long nMod = nRet % 10; in GetMetricText()
104 nRet += 10 - nMod; in GetMetricText()
106 nRet -= nMod; in GetMetricText()
115 if ( nRet < nDiff ) in GetMetricText()
118 sRet += String::CreateFromInt32( nRet / nDiff ); in GetMetricText()
119 nRet %= nDiff; in GetMetricText()
127 if( !nRet ) in GetMetricText()
133 else if( !nRet ) in GetMetricText()