Kaydet (Commit) d0d9d797 authored tarafından David Tardon's avatar David Tardon

WaE: 'nRet' may be used uninitialized in this function

üst 7baf4988
...@@ -1790,7 +1790,7 @@ SalGraphics* WinSalPrinter::StartPage( ImplJobSetup* pSetupData, sal_Bool bNewJo ...@@ -1790,7 +1790,7 @@ SalGraphics* WinSalPrinter::StartPage( ImplJobSetup* pSetupData, sal_Bool bNewJo
if ( pDevModeW != pOrgDevModeW ) if ( pDevModeW != pOrgDevModeW )
rtl_freeMemory( pDevModeW ); rtl_freeMemory( pDevModeW );
} }
int nRet = 0; volatile int nRet = 0;
CATCH_DRIVER_EX_BEGIN; CATCH_DRIVER_EX_BEGIN;
nRet = ::StartPage( hDC ); nRet = ::StartPage( hDC );
CATCH_DRIVER_EX_END( "exception in StartPage", this ); CATCH_DRIVER_EX_END( "exception in StartPage", this );
...@@ -1829,7 +1829,7 @@ sal_Bool WinSalPrinter::EndPage() ...@@ -1829,7 +1829,7 @@ sal_Bool WinSalPrinter::EndPage()
if( ! isValid() ) if( ! isValid() )
return FALSE; return FALSE;
int nRet = 0; volatile int nRet = 0;
CATCH_DRIVER_EX_BEGIN; CATCH_DRIVER_EX_BEGIN;
nRet = ::EndPage( hDC ); nRet = ::EndPage( hDC );
CATCH_DRIVER_EX_END( "exception in EndPage", this ); CATCH_DRIVER_EX_END( "exception in EndPage", this );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment