diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-05-01 11:04:15 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-05-01 17:19:50 +0100 |
commit | 5461d1b21804a063ec2757e79fd8bcb99a743e0f (patch) | |
tree | aed81f2485f609a865a014f25f92eef075ae703f /cui | |
parent | 22f719aa96cfbf8187843fb02c328dc43ea95e3f (diff) |
some more coverity stuff I forgot the ids of
Change-Id: I0aebb478bdb85a3eec29e8b375b56f735dfec318
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/tabpages/labdlg.cxx | 15 | ||||
-rw-r--r-- | cui/source/tabpages/textattr.cxx | 18 |
2 files changed, 21 insertions, 12 deletions
diff --git a/cui/source/tabpages/labdlg.cxx b/cui/source/tabpages/labdlg.cxx index 7122851b4603..bba01e446fa0 100644 --- a/cui/source/tabpages/labdlg.cxx +++ b/cui/source/tabpages/labdlg.cxx @@ -71,11 +71,20 @@ static const sal_uInt16 pCaptionRanges[] = 0 }; - - SvxCaptionTabPage::SvxCaptionTabPage(Window* pParent, const SfxItemSet& rInAttrs) : SfxTabPage(pParent, "CalloutPage", "cui/ui/calloutpage.ui", rInAttrs) + , nCaptionType(0) + , nGap(0) + , nEscDir(0) + , bEscRel(false) + , nEscAbs(0) + , nEscRel(0) + , nLineLen(0) + , bFitLineLen(false) + , nAnsatzRelPos(0) + , nAnsatzTypePos(0) , rOutAttrs(rInAttrs) + , pView(NULL) { get(m_pCT_CAPTTYPE, "valueset"); @@ -130,8 +139,6 @@ SvxCaptionTabPage::SvxCaptionTabPage(Window* pParent, const SfxItemSet& rInAttrs m_pCB_LAENGE->SetClickHdl(LINK(this,SvxCaptionTabPage,LineOptHdl_Impl)); } - - void SvxCaptionTabPage::Construct() { // set rectangle and working area diff --git a/cui/source/tabpages/textattr.cxx b/cui/source/tabpages/textattr.cxx index 17da774afd97..d6e2776c8b3f 100644 --- a/cui/source/tabpages/textattr.cxx +++ b/cui/source/tabpages/textattr.cxx @@ -54,13 +54,16 @@ static const sal_uInt16 pRanges[] = |* dialog (page) for copying objects |* \************************************************************************/ - -SvxTextAttrPage::SvxTextAttrPage( Window* pWindow, const SfxItemSet& rInAttrs ) : - SvxTabPage ( pWindow - ,"TextAttributesPage" - ,"cui/ui/textattrtabpage.ui" - , rInAttrs ), - rOutAttrs( rInAttrs ) +SvxTextAttrPage::SvxTextAttrPage(Window* pWindow, const SfxItemSet& rInAttrs) + : SvxTabPage(pWindow,"TextAttributesPage","cui/ui/textattrtabpage.ui", rInAttrs) + , rOutAttrs(rInAttrs) + , pView(NULL) + , bAutoGrowSizeEnabled(false) + , bContourEnabled(false) + , bAutoGrowWidthEnabled(false) + , bAutoGrowHeightEnabled(false) + , bWordWrapTextEnabled(false) + , bFitToSizeEnabled(false) { get(m_pTsbAutoGrowWidth,"TSB_AUTOGROW_WIDTH"); get(m_pTsbAutoGrowHeight,"TSB_AUTOGROW_HEIGHT"); @@ -99,7 +102,6 @@ SvxTextAttrPage::SvxTextAttrPage( Window* pWindow, const SfxItemSet& rInAttrs ) |* Dtor |* \************************************************************************/ - SvxTextAttrPage::~SvxTextAttrPage() { } |