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