[Libreoffice-commits] core.git: sd/source

Caolán McNamara caolanm at redhat.com
Wed Mar 25 02:30:06 PDT 2015


 sd/source/ui/tools/PreviewRenderer.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7dd09f07a12affb8da0afd731ec2a99575a51e2e
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Mar 25 09:29:22 2015 +0000

    WaE: potentially uninitialized local variable
    
    Change-Id: Icb4a7d71e23d202078ad27bee255b6f812a74707

diff --git a/sd/source/ui/tools/PreviewRenderer.cxx b/sd/source/ui/tools/PreviewRenderer.cxx
index 812469c..a43b996 100644
--- a/sd/source/ui/tools/PreviewRenderer.cxx
+++ b/sd/source/ui/tools/PreviewRenderer.cxx
@@ -297,7 +297,7 @@ void PreviewRenderer::PaintPage (
 
     // Turn off online spelling and redlining.
     SdrOutliner* pOutliner = NULL;
-    EEControlBits nSavedControlWord;
+    EEControlBits nSavedControlWord = EEControlBits::NONE;
     if (mpDocShellOfView!=NULL && mpDocShellOfView->GetDoc()!=NULL)
     {
         pOutliner = &mpDocShellOfView->GetDoc()->GetDrawOutliner();


More information about the Libreoffice-commits mailing list