coverity#1210181 Uninitialized scalar field

Change-Id: I30c9449901cd96b74141dd511cabff3c5b9201bc
This commit is contained in:
Caolán McNamara
2014-04-29 11:30:24 +01:00
parent 17d785e972
commit 0283251f58

View File

@@ -985,9 +985,9 @@ IMPL_LINK( ImpPDFTabOpnFtrPage, ToggleRbMagnHdl, void*, )
// The Viewer preferences tab page // The Viewer preferences tab page
ImpPDFTabViewerPage::ImpPDFTabViewerPage( Window* pParent, ImpPDFTabViewerPage::ImpPDFTabViewerPage( Window* pParent,
const SfxItemSet& rCoreSet ) : const SfxItemSet& rCoreSet )
SfxTabPage( pParent, "PdfUserInterfacePage","filter/ui/pdfuserinterfacepage.ui", rCoreSet ) : SfxTabPage(pParent, "PdfUserInterfacePage","filter/ui/pdfuserinterfacepage.ui", rCoreSet)
, mbIsPresentation(false)
{ {
get(m_pCbResWinInit,"resize"); get(m_pCbResWinInit,"resize");
get(m_pCbCenterWindow,"center"); get(m_pCbCenterWindow,"center");
@@ -1005,12 +1005,10 @@ ImpPDFTabViewerPage::ImpPDFTabViewerPage( Window* pParent,
m_pRbVisibleBookmarkLevels->SetToggleHdl( LINK( this, ImpPDFTabViewerPage, ToggleRbBookmarksHdl ) ); m_pRbVisibleBookmarkLevels->SetToggleHdl( LINK( this, ImpPDFTabViewerPage, ToggleRbBookmarksHdl ) );
} }
ImpPDFTabViewerPage::~ImpPDFTabViewerPage() ImpPDFTabViewerPage::~ImpPDFTabViewerPage()
{ {
} }
IMPL_LINK( ImpPDFTabViewerPage, ToggleRbBookmarksHdl, void*, ) IMPL_LINK( ImpPDFTabViewerPage, ToggleRbBookmarksHdl, void*, )
{ {
m_pNumBookmarkLevels->Enable( m_pRbVisibleBookmarkLevels->IsChecked() ); m_pNumBookmarkLevels->Enable( m_pRbVisibleBookmarkLevels->IsChecked() );