Kaydet (Commit) 7aa8b5bb authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1242785 Uninitialized pointer field

Change-Id: Ic97bd7c3fa2f192113d702f9338cb3eaeae6109c
üst d82057a3
...@@ -57,6 +57,7 @@ SvxLineDefTabPage::SvxLineDefTabPage ...@@ -57,6 +57,7 @@ SvxLineDefTabPage::SvxLineDefTabPage
, "cui/ui/linestyletabpage.ui" , "cui/ui/linestyletabpage.ui"
, &rInAttrs ), , &rInAttrs ),
rOutAttrs ( rInAttrs ), rOutAttrs ( rInAttrs ),
bObjSelected ( false ),
pXPool ( (XOutdevItemPool*) rInAttrs.GetPool() ), pXPool ( (XOutdevItemPool*) rInAttrs.GetPool() ),
aXLStyle ( XLINE_DASH ), aXLStyle ( XLINE_DASH ),
...@@ -64,7 +65,11 @@ SvxLineDefTabPage::SvxLineDefTabPage ...@@ -64,7 +65,11 @@ SvxLineDefTabPage::SvxLineDefTabPage
aXDash ( OUString(), XDash( XDASH_RECT, 3, 7, 2, 40, 15 ) ), aXDash ( OUString(), XDash( XDASH_RECT, 3, 7, 2, 40, 15 ) ),
aXColor ( OUString(), COL_BLACK ), aXColor ( OUString(), COL_BLACK ),
aXLineAttr ( pXPool ), aXLineAttr ( pXPool ),
rXLSet ( aXLineAttr.GetItemSet() ) rXLSet ( aXLineAttr.GetItemSet() ),
pnDashListState(0),
pPageType(0),
nDlgType(0),
pPosDashLb(0)
{ {
get(m_pLbLineStyles ,"LB_LINESTYLES"); get(m_pLbLineStyles ,"LB_LINESTYLES");
...@@ -146,9 +151,6 @@ SvxLineDefTabPage::SvxLineDefTabPage ...@@ -146,9 +151,6 @@ SvxLineDefTabPage::SvxLineDefTabPage
pDashList = NULL; pDashList = NULL;
} }
void SvxLineDefTabPage::Construct() void SvxLineDefTabPage::Construct()
{ {
// Line style fill; do *not* add default fields here // Line style fill; do *not* add default fields here
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment