coverity#1028320 Uninitialized scalar variable
coverity#1028319 Uninitialized scalar variable coverity#707576 Uninitialized scalar variable coverity#707575 Uninitialized scalar variable coverity#707568 Uninitialized scalar variable coverity#707567 Uninitialized scalar variable coverity#707566 Uninitialized scalar variable coverity#707565 Uninitialized scalar variable coverity#707564 Uninitialized scalar variable covierty#707563 Uninitialized scalar variable Change-Id: I62c39b0e054f209117aab926d87339dc00a531f0
This commit is contained in:
parent
12a7203b2c
commit
39ebf9c164
1 changed files with 14 additions and 2 deletions
|
@ -1776,7 +1776,13 @@ Region OutputDevice::PixelToLogic( const Region& rDeviceRegion, const MapMode& r
|
|||
ENTER0( rSource, pMapModeSource, pMapModeDest ); \
|
||||
\
|
||||
ImplMapRes aMapResSource; \
|
||||
ImplMapRes aMapResDest; \
|
||||
aMapResSource.mnMapOfsX = 0; \
|
||||
aMapResSource.mnMapOfsY = 0; \
|
||||
aMapResSource.mnMapScNumX = 1; \
|
||||
aMapResSource.mnMapScNumY = 1; \
|
||||
aMapResSource.mnMapScDenomX = 1; \
|
||||
aMapResSource.mnMapScDenomY = 1; \
|
||||
ImplMapRes aMapResDest(aMapResSource); \
|
||||
\
|
||||
if ( !mbMap || pMapModeSource != &maMapMode ) \
|
||||
{ \
|
||||
|
@ -1836,7 +1842,13 @@ Region OutputDevice::PixelToLogic( const Region& rDeviceRegion, const MapMode& r
|
|||
|
||||
#define ENTER4( rMapModeSource, rMapModeDest ) \
|
||||
ImplMapRes aMapResSource; \
|
||||
ImplMapRes aMapResDest; \
|
||||
aMapResSource.mnMapOfsX = 0; \
|
||||
aMapResSource.mnMapOfsY = 0; \
|
||||
aMapResSource.mnMapScNumX = 1; \
|
||||
aMapResSource.mnMapScNumY = 1; \
|
||||
aMapResSource.mnMapScDenomX = 1; \
|
||||
aMapResSource.mnMapScDenomY = 1; \
|
||||
ImplMapRes aMapResDest(aMapResSource); \
|
||||
\
|
||||
ImplCalcMapResolution( rMapModeSource, 72, 72, aMapResSource ); \
|
||||
ImplCalcMapResolution( rMapModeDest, 72, 72, aMapResDest )
|
||||
|
|
Loading…
Reference in a new issue