Kaydet (Commit) d1493344 authored tarafından Jan Holesovsky's avatar Jan Holesovsky

sidebar conversion tutorial: Change boost::scoped_ptr's to normal pointers.

Change-Id: Ibcea80bcd75f3bec8367251c557ee859afd8dfbb
üst d17d8da6
......@@ -159,12 +159,12 @@ void AlignmentPropertyPanel::Initialize()
mpMtrAngle->InsertValue(315, FUNIT_CUSTOM);
mpMtrAngle->SetDropDownLineCount(mpMtrAngle->GetEntryCount());
mpTBHorizontal->SetAccessibleRelationLabeledBy(mpTBHorizontal.get());
mpTBVertical->SetAccessibleRelationLabeledBy(mpTBVertical.get());
mpMFLeftIndent->SetAccessibleRelationLabeledBy(mpFTLeftIndent.get());
mpMtrAngle->SetAccessibleRelationLabeledBy(mpFtRotate.get());
mpTBHorizontal->SetAccessibleRelationLabeledBy(mpTBHorizontal);
mpTBVertical->SetAccessibleRelationLabeledBy(mpTBVertical);
mpMFLeftIndent->SetAccessibleRelationLabeledBy(mpFTLeftIndent);
mpMtrAngle->SetAccessibleRelationLabeledBy(mpFtRotate);
#ifdef HAS_IA2
mpMtrAngle->SetMpSubEditAccLableBy(mpFtRotate.get());
mpMtrAngle->SetMpSubEditAccLableBy(mpFtRotate);
#endif
}
......
......@@ -59,16 +59,16 @@ public:
private:
//ui controls
::boost::scoped_ptr< ToolBox > mpTBHorizontal;
::boost::scoped_ptr< ToolBox > mpTBVertical;
::boost::scoped_ptr< FixedText > mpFTLeftIndent;
::boost::scoped_ptr< MetricField > mpMFLeftIndent;
::boost::scoped_ptr< CheckBox > mpCBXWrapText;
::boost::scoped_ptr< CheckBox > mpCBXMergeCell;
::boost::scoped_ptr< FixedText > mpFtRotate;
::boost::scoped_ptr< svx::sidebar::SidebarDialControl > mpCtrlDial;
::boost::scoped_ptr< MetricBox > mpMtrAngle;
::boost::scoped_ptr< CheckBox > mpCbStacked;
ToolBox* mpTBHorizontal;
ToolBox* mpTBVertical;
FixedText* mpFTLeftIndent;
MetricField* mpMFLeftIndent;
CheckBox* mpCBXWrapText;
CheckBox* mpCBXMergeCell;
FixedText* mpFtRotate;
svx::sidebar::SidebarDialControl* mpCtrlDial;
MetricBox* mpMtrAngle;
CheckBox* mpCbStacked;
::sfx2::sidebar::ControllerItem maAlignHorControl;
::sfx2::sidebar::ControllerItem maAlignVerControl;
......
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