summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
Diffstat (limited to 'cui')
-rw-r--r--cui/source/tabpages/labdlg.cxx15
-rw-r--r--cui/source/tabpages/textattr.cxx18
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()
{
}