WaE: pOldRanges may be used uninitialized

Change-Id: I22ff60e30b8c5697f648fcd6b7b22a302c6a2135
This commit is contained in:
Ivan Timofeev
2013-07-01 22:10:45 +04:00
parent cc06e7b6b8
commit 7c7ca0d002

View File

@@ -7503,7 +7503,7 @@ void SAL_CALL ScTableSheetObj::setPrintAreas(
throw(uno::RuntimeException)
{
SolarMutexGuard aGuard;
ScPrintRangeSaver* pOldRanges;
ScPrintRangeSaver* pOldRanges = NULL;
ScDocShell* pDocSh = GetDocShell();
if ( pDocSh )
{