[Libreoffice-commits] core.git: Branch 'libreoffice-4-1' - sc/source
Ivan Timofeev
timofeev.i.s at gmail.com
Wed Jul 10 15:44:32 PDT 2013
sc/source/ui/unoobj/cellsuno.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit a33edacf6b477e661f96c00c9fc03450be31123c
Author: Ivan Timofeev <timofeev.i.s at gmail.com>
Date: Mon Jul 1 22:10:45 2013 +0400
WaE: pOldRanges may be used uninitialized
Change-Id: I22ff60e30b8c5697f648fcd6b7b22a302c6a2135
(cherry picked from commit 7c7ca0d0028cacad15a4fdc3dc02bc5f038c9f3c)
Signed-off-by: Eike Rathke <erack at redhat.com>
diff --git a/sc/source/ui/unoobj/cellsuno.cxx b/sc/source/ui/unoobj/cellsuno.cxx
index 1d0a8e8..3a8f7cd 100644
--- a/sc/source/ui/unoobj/cellsuno.cxx
+++ b/sc/source/ui/unoobj/cellsuno.cxx
@@ -7503,7 +7503,7 @@ void SAL_CALL ScTableSheetObj::setPrintAreas(
throw(uno::RuntimeException)
{
SolarMutexGuard aGuard;
- ScPrintRangeSaver* pOldRanges;
+ ScPrintRangeSaver* pOldRanges = NULL;
ScDocShell* pDocSh = GetDocShell();
if ( pDocSh )
{
More information about the Libreoffice-commits
mailing list