Kaydet (Commit) 8b5f059e authored tarafından Miklos Vajna's avatar Miklos Vajna

boost::optional default ctor uses boost::none already

Change-Id: I14b1a0987f18acab2f309ba423a4f31dd34211f5
üst b0f00d38
...@@ -559,7 +559,6 @@ SwFmtPageDesc::SwFmtPageDesc( const SwFmtPageDesc &rCpy ) ...@@ -559,7 +559,6 @@ SwFmtPageDesc::SwFmtPageDesc( const SwFmtPageDesc &rCpy )
SwFmtPageDesc::SwFmtPageDesc( const SwPageDesc *pDesc ) SwFmtPageDesc::SwFmtPageDesc( const SwPageDesc *pDesc )
: SfxPoolItem( RES_PAGEDESC ), : SfxPoolItem( RES_PAGEDESC ),
SwClient( (SwPageDesc*)pDesc ), SwClient( (SwPageDesc*)pDesc ),
oNumOffset( boost::none ),
nDescNameIdx( 0xFFFF ), // IDX_NO_VALUE nDescNameIdx( 0xFFFF ), // IDX_NO_VALUE
pDefinedIn( 0 ) pDefinedIn( 0 )
{ {
......
...@@ -155,7 +155,7 @@ struct WW8_SepInfo ...@@ -155,7 +155,7 @@ struct WW8_SepInfo
::boost::optional<sal_uInt16> oPgRestartNo; ::boost::optional<sal_uInt16> oPgRestartNo;
WW8_SepInfo() WW8_SepInfo()
: pPageDesc(0), pSectionFmt(0), pPDNd(0), pNumNd(0), nLnNumRestartNo(0), oPgRestartNo(boost::none) : pPageDesc(0), pSectionFmt(0), pPDNd(0), pNumNd(0), nLnNumRestartNo(0)
{} {}
......
...@@ -133,7 +133,6 @@ SwBreakDlg::SwBreakDlg( Window *pParent, SwWrtShell &rS ) ...@@ -133,7 +133,6 @@ SwBreakDlg::SwBreakDlg( Window *pParent, SwWrtShell &rS )
: SvxStandardDialog(pParent, "BreakDialog", "modules/swriter/ui/insertbreak.ui") : SvxStandardDialog(pParent, "BreakDialog", "modules/swriter/ui/insertbreak.ui")
, rSh(rS) , rSh(rS)
, nKind(0) , nKind(0)
, oPgNum(boost::none)
, bHtmlMode(0 != ::GetHtmlMode(rS.GetView().GetDocShell())) , bHtmlMode(0 != ::GetHtmlMode(rS.GetView().GetDocShell()))
{ {
get(m_pLineBtn, "linerb"); get(m_pLineBtn, "linerb");
......
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