Lines Matching refs:nVal
134 sal_Int16 nVal; in ImplReadColor() local
136 rIStm >> nVal; rColor.SetRed( sal::static_int_cast<sal_uInt8>((sal_uInt16)nVal >> 8) ); in ImplReadColor()
137 rIStm >> nVal; rColor.SetGreen( sal::static_int_cast<sal_uInt8>((sal_uInt16)nVal >> 8) ); in ImplReadColor()
138 rIStm >> nVal; rColor.SetBlue( sal::static_int_cast<sal_uInt8>((sal_uInt16)nVal >> 8) ); in ImplReadColor()
145 sal_Int16 nVal; in ImplWriteColor() local
147 nVal = ( (sal_Int16) rColor.GetRed() << 8 ) | rColor.GetRed(); in ImplWriteColor()
148 rOStm << nVal; in ImplWriteColor()
150 nVal = ( (sal_Int16) rColor.GetGreen() << 8 ) | rColor.GetGreen(); in ImplWriteColor()
151 rOStm << nVal; in ImplWriteColor()
153 nVal = ( (sal_Int16) rColor.GetBlue() << 8 ) | rColor.GetBlue(); in ImplWriteColor()
154 rOStm << nVal; in ImplWriteColor()