[Libreoffice-commits] core.git: Branch 'libreoffice-4-1-0' - sc/source

Ivan Timofeev timofeev.i.s at gmail.com
Mon Jul 15 15:06:31 PDT 2013


 sc/source/ui/unoobj/cellsuno.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 21aaeda9386cd20c29e8ffa07ade362f3995b507
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>
    (cherry picked from commit a33edacf6b477e661f96c00c9fc03450be31123c)
    
    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 0dbf506..a3f5bdb 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 )
     {


More information about the Libreoffice-commits mailing list