From 7dd09f07a12affb8da0afd731ec2a99575a51e2e Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 25 Mar 2015 09:29:22 +0000 Subject: WaE: potentially uninitialized local variable Change-Id: Icb4a7d71e23d202078ad27bee255b6f812a74707 --- sd/source/ui/tools/PreviewRenderer.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sd/source/ui') diff --git a/sd/source/ui/tools/PreviewRenderer.cxx b/sd/source/ui/tools/PreviewRenderer.cxx index 812469caf889..a43b9966c42b 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(); -- cgit