Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
f77dedbc
Kaydet (Commit)
f77dedbc
authored
Eyl 29, 2013
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
remove a few more auto_ptr
Change-Id: I316d5c91bf80ab46f8f29f4986295d48fc4427e7
üst
00669d59
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
17 deletions
+11
-17
tp_ChartType.cxx
chart2/source/controller/dialogs/tp_ChartType.cxx
+4
-8
tp_DataSource.hxx
chart2/source/controller/dialogs/tp_DataSource.hxx
+1
-2
tp_LegendPosition.hxx
chart2/source/controller/dialogs/tp_LegendPosition.hxx
+2
-3
tp_Wizard_TitlesAndObjects.hxx
.../source/controller/dialogs/tp_Wizard_TitlesAndObjects.hxx
+4
-4
No files found.
chart2/source/controller/dialogs/tp_ChartType.cxx
Dosyayı görüntüle @
f77dedbc
...
@@ -33,9 +33,6 @@
...
@@ -33,9 +33,6 @@
// header for define RET_OK
// header for define RET_OK
#include <vcl/msgbox.hxx>
#include <vcl/msgbox.hxx>
//for auto_ptr
#include <memory>
namespace
chart
namespace
chart
{
{
using
namespace
::
com
::
sun
::
star
;
using
namespace
::
com
::
sun
::
star
;
...
@@ -605,15 +602,14 @@ private:
...
@@ -605,15 +602,14 @@ private:
FixedText
m_aFT_LineType
;
FixedText
m_aFT_LineType
;
ListBox
m_aLB_LineType
;
ListBox
m_aLB_LineType
;
PushButton
m_aPB_DetailsDialog
;
PushButton
m_aPB_DetailsDialog
;
::
std
::
auto
_ptr
<
SplinePropertiesDialog
>
m_pSplinePropertiesDialog
;
boost
::
scoped
_ptr
<
SplinePropertiesDialog
>
m_pSplinePropertiesDialog
;
::
std
::
auto
_ptr
<
SteppedPropertiesDialog
>
m_pSteppedPropertiesDialog
;
boost
::
scoped
_ptr
<
SteppedPropertiesDialog
>
m_pSteppedPropertiesDialog
;
};
};
SplineResourceGroup
::
SplineResourceGroup
(
Window
*
pWindow
)
SplineResourceGroup
::
SplineResourceGroup
(
Window
*
pWindow
)
:
ChangingResource
()
:
ChangingResource
()
,
m_aFT_LineType
(
pWindow
,
SchResId
(
FT_LINETYPE
)
)
,
m_aFT_LineType
(
pWindow
,
SchResId
(
FT_LINETYPE
)
)
,
m_aLB_LineType
(
pWindow
,
SchResId
(
LB_LINETYPE
)
)
,
m_aLB_LineType
(
pWindow
,
SchResId
(
LB_LINETYPE
)
)
,
m_aPB_DetailsDialog
(
pWindow
,
SchResId
(
PB_SPLINE_DIALOG
)
)
,
m_aPB_DetailsDialog
(
pWindow
,
SchResId
(
PB_SPLINE_DIALOG
)
)
,
m_pSplinePropertiesDialog
()
{
{
m_aLB_LineType
.
InsertEntry
(
SCH_RESSTR
(
STR_LINETYPE_STRAIGHT
));
m_aLB_LineType
.
InsertEntry
(
SCH_RESSTR
(
STR_LINETYPE_STRAIGHT
));
m_aLB_LineType
.
InsertEntry
(
SCH_RESSTR
(
STR_LINETYPE_SMOOTH
));
m_aLB_LineType
.
InsertEntry
(
SCH_RESSTR
(
STR_LINETYPE_SMOOTH
));
...
@@ -640,14 +636,14 @@ SplineResourceGroup::~SplineResourceGroup()
...
@@ -640,14 +636,14 @@ SplineResourceGroup::~SplineResourceGroup()
SplinePropertiesDialog
&
SplineResourceGroup
::
getSplinePropertiesDialog
()
SplinePropertiesDialog
&
SplineResourceGroup
::
getSplinePropertiesDialog
()
{
{
if
(
!
m_pSplinePropertiesDialog
.
get
()
)
if
(
!
m_pSplinePropertiesDialog
.
get
()
)
m_pSplinePropertiesDialog
=
::
std
::
auto_ptr
<
SplinePropertiesDialog
>
(
new
SplinePropertiesDialog
(
m_aPB_DetailsDialog
.
GetParent
()
)
);
m_pSplinePropertiesDialog
.
reset
(
new
SplinePropertiesDialog
(
m_aPB_DetailsDialog
.
GetParent
()
)
);
return
*
m_pSplinePropertiesDialog
;
return
*
m_pSplinePropertiesDialog
;
}
}
SteppedPropertiesDialog
&
SplineResourceGroup
::
getSteppedPropertiesDialog
()
SteppedPropertiesDialog
&
SplineResourceGroup
::
getSteppedPropertiesDialog
()
{
{
if
(
!
m_pSteppedPropertiesDialog
.
get
()
)
if
(
!
m_pSteppedPropertiesDialog
.
get
()
)
{
{
m_pSteppedPropertiesDialog
=
::
std
::
auto_ptr
<
SteppedPropertiesDialog
>
(
new
SteppedPropertiesDialog
(
m_aPB_DetailsDialog
.
GetParent
()
)
);
m_pSteppedPropertiesDialog
.
reset
(
new
SteppedPropertiesDialog
(
m_aPB_DetailsDialog
.
GetParent
()
)
);
}
}
return
*
m_pSteppedPropertiesDialog
;
return
*
m_pSteppedPropertiesDialog
;
}
}
...
...
chart2/source/controller/dialogs/tp_DataSource.hxx
Dosyayı görüntüle @
f77dedbc
...
@@ -44,7 +44,6 @@
...
@@ -44,7 +44,6 @@
#include <utility>
#include <utility>
#include <vector>
#include <vector>
#include <memory>
#include "RangeSelectionListener.hxx"
#include "RangeSelectionListener.hxx"
#include "RangeSelectionButton.hxx"
#include "RangeSelectionButton.hxx"
...
@@ -129,7 +128,7 @@ protected:
...
@@ -129,7 +128,7 @@ protected:
private
:
private
:
FixedText
m_aFT_CAPTION
;
FixedText
m_aFT_CAPTION
;
FixedText
m_aFT_SERIES
;
FixedText
m_aFT_SERIES
;
::
std
::
auto
_ptr
<
SvTreeListBox
>
m_apLB_SERIES
;
boost
::
scoped
_ptr
<
SvTreeListBox
>
m_apLB_SERIES
;
PushButton
m_aBTN_ADD
;
PushButton
m_aBTN_ADD
;
PushButton
m_aBTN_REMOVE
;
PushButton
m_aBTN_REMOVE
;
PushButton
m_aBTN_UP
;
PushButton
m_aBTN_UP
;
...
...
chart2/source/controller/dialogs/tp_LegendPosition.hxx
Dosyayı görüntüle @
f77dedbc
...
@@ -23,8 +23,7 @@
...
@@ -23,8 +23,7 @@
#include <sfx2/tabdlg.hxx>
#include <sfx2/tabdlg.hxx>
// header for FixedText
// header for FixedText
#include <vcl/fixed.hxx>
#include <vcl/fixed.hxx>
//for auto_ptr
#include <memory>
#include "TextDirectionListBox.hxx"
#include "TextDirectionListBox.hxx"
namespace
chart
namespace
chart
...
@@ -36,7 +35,7 @@ class SchLegendPosTabPage : public SfxTabPage
...
@@ -36,7 +35,7 @@ class SchLegendPosTabPage : public SfxTabPage
private
:
private
:
FixedLine
aGrpLegend
;
FixedLine
aGrpLegend
;
::
std
::
auto
_ptr
<
LegendPositionResources
>
m_apLegendPositionResources
;
boost
::
scoped
_ptr
<
LegendPositionResources
>
m_apLegendPositionResources
;
FixedLine
m_aFlTextOrient
;
FixedLine
m_aFlTextOrient
;
FixedText
m_aFtTextDirection
;
FixedText
m_aFtTextDirection
;
...
...
chart2/source/controller/dialogs/tp_Wizard_TitlesAndObjects.hxx
Dosyayı görüntüle @
f77dedbc
...
@@ -26,10 +26,10 @@
...
@@ -26,10 +26,10 @@
#include <svtools/wizardmachine.hxx>
#include <svtools/wizardmachine.hxx>
#include <vcl/edit.hxx>
#include <vcl/edit.hxx>
#include <vcl/fixed.hxx>
#include <vcl/fixed.hxx>
//for auto_ptr
#include <memory>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <boost/scoped_ptr.hpp>
namespace
chart
namespace
chart
{
{
...
@@ -59,8 +59,8 @@ protected:
...
@@ -59,8 +59,8 @@ protected:
FixedText
m_aFT_TitleDescription
;
FixedText
m_aFT_TitleDescription
;
FixedLine
m_aFL_Vertical
;
FixedLine
m_aFL_Vertical
;
::
std
::
auto
_ptr
<
TitleResources
>
m_apTitleResources
;
boost
::
scoped
_ptr
<
TitleResources
>
m_apTitleResources
;
::
std
::
auto
_ptr
<
LegendPositionResources
>
m_apLegendPositionResources
;
boost
::
scoped
_ptr
<
LegendPositionResources
>
m_apLegendPositionResources
;
FixedLine
m_aFL_Grids
;
FixedLine
m_aFL_Grids
;
CheckBox
m_aCB_Grid_X
;
CheckBox
m_aCB_Grid_X
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment