summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Timofeev <timofeev.i.s@gmail.com>2013-07-01 22:10:45 +0400
committerEike Rathke <erack@redhat.com>2013-07-16 00:05:32 +0200
commit21aaeda9386cd20c29e8ffa07ade362f3995b507 (patch)
treee1412cd7b5f6e54926b000529fe1bfc3b6af2612
parentUpdated core (diff)
downloadcore-21aaeda9386cd20c29e8ffa07ade362f3995b507.tar.gz
core-21aaeda9386cd20c29e8ffa07ade362f3995b507.zip
WaE: pOldRanges may be used uninitialized
Change-Id: I22ff60e30b8c5697f648fcd6b7b22a302c6a2135 (cherry picked from commit 7c7ca0d0028cacad15a4fdc3dc02bc5f038c9f3c) Signed-off-by: Eike Rathke <erack@redhat.com> (cherry picked from commit a33edacf6b477e661f96c00c9fc03450be31123c) Signed-off-by: Eike Rathke <erack@redhat.com>
-rw-r--r--sc/source/ui/unoobj/cellsuno.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/unoobj/cellsuno.cxx b/sc/source/ui/unoobj/cellsuno.cxx
index 0dbf506174d6..a3f5bdbfdbc1 100644
--- a/sc/source/ui/unoobj/cellsuno.cxx
+++ b/sc/source/ui/unoobj/cellsuno.cxx
@@ -7452,7 +7452,7 @@ void SAL_CALL ScTableSheetObj::setPrintAreas(
throw(uno::RuntimeException)
{
SolarMutexGuard aGuard;
- ScPrintRangeSaver* pOldRanges;
+ ScPrintRangeSaver* pOldRanges = NULL;
ScDocShell* pDocSh = GetDocShell();
if ( pDocSh )
{