From 0283251f58d2717d78bf522f38d25a04489040a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Tue, 29 Apr 2014 11:30:24 +0100 Subject: [PATCH] coverity#1210181 Uninitialized scalar field Change-Id: I30c9449901cd96b74141dd511cabff3c5b9201bc --- filter/source/pdf/impdialog.cxx | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/filter/source/pdf/impdialog.cxx b/filter/source/pdf/impdialog.cxx index 8072fe64a69f..0825ea035d6c 100644 --- a/filter/source/pdf/impdialog.cxx +++ b/filter/source/pdf/impdialog.cxx @@ -985,9 +985,9 @@ IMPL_LINK( ImpPDFTabOpnFtrPage, ToggleRbMagnHdl, void*, ) // The Viewer preferences tab page ImpPDFTabViewerPage::ImpPDFTabViewerPage( Window* pParent, - const SfxItemSet& rCoreSet ) : - SfxTabPage( pParent, "PdfUserInterfacePage","filter/ui/pdfuserinterfacepage.ui", rCoreSet ) - + const SfxItemSet& rCoreSet ) + : SfxTabPage(pParent, "PdfUserInterfacePage","filter/ui/pdfuserinterfacepage.ui", rCoreSet) + , mbIsPresentation(false) { get(m_pCbResWinInit,"resize"); get(m_pCbCenterWindow,"center"); @@ -1005,12 +1005,10 @@ ImpPDFTabViewerPage::ImpPDFTabViewerPage( Window* pParent, m_pRbVisibleBookmarkLevels->SetToggleHdl( LINK( this, ImpPDFTabViewerPage, ToggleRbBookmarksHdl ) ); } - ImpPDFTabViewerPage::~ImpPDFTabViewerPage() { } - IMPL_LINK( ImpPDFTabViewerPage, ToggleRbBookmarksHdl, void*, ) { m_pNumBookmarkLevels->Enable( m_pRbVisibleBookmarkLevels->IsChecked() );