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
be31d107
Kaydet (Commit)
be31d107
authored
Eyl 30, 2014
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
chart2: std::auto_ptr -> std::unique_ptr
Change-Id: Ia92c18858c8ed7cfc2765cc2310f3bf7bfd7e8df
üst
e4c996d3
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
13 additions
and
17 deletions
+13
-17
DrawViewWrapper.hxx
chart2/source/controller/inc/DrawViewWrapper.hxx
+1
-1
ObjectHierarchy.hxx
chart2/source/controller/inc/ObjectHierarchy.hxx
+1
-1
dlg_DataSource.hxx
chart2/source/controller/inc/dlg_DataSource.hxx
+2
-2
ChartController.cxx
chart2/source/controller/main/ChartController.cxx
+1
-1
ChartController.hxx
chart2/source/controller/main/ChartController.hxx
+3
-3
ControllerCommandDispatch.hxx
chart2/source/controller/main/ControllerCommandDispatch.hxx
+2
-2
ConfigColorScheme.hxx
chart2/source/inc/ConfigColorScheme.hxx
+1
-1
VDataSeries.cxx
chart2/source/view/main/VDataSeries.cxx
+2
-6
No files found.
chart2/source/controller/inc/DrawViewWrapper.hxx
Dosyayı görüntüle @
be31d107
...
...
@@ -85,7 +85,7 @@ public:
private
:
mutable
MarkHandleProvider
*
m_pMarkHandleProvider
;
::
std
::
auto
_ptr
<
SdrOutliner
>
m_apOutliner
;
::
std
::
unique
_ptr
<
SdrOutliner
>
m_apOutliner
;
// #i79965# scroll back view when ending text edit
bool
m_bRestoreMapMode
;
...
...
chart2/source/controller/inc/ObjectHierarchy.hxx
Dosyayı görüntüle @
be31d107
...
...
@@ -74,7 +74,7 @@ public:
private
:
::
std
::
auto
_ptr
<
impl
::
ImplObjectHierarchy
>
m_apImpl
;
::
std
::
unique
_ptr
<
impl
::
ImplObjectHierarchy
>
m_apImpl
;
};
class
ObjectKeyNavigation
...
...
chart2/source/controller/inc/dlg_DataSource.hxx
Dosyayı görüntüle @
be31d107
...
...
@@ -63,8 +63,8 @@ protected:
m_xChartDocument
;
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
uno
::
XComponentContext
>
m_xContext
;
::
std
::
auto
_ptr
<
ChartTypeTemplateProvider
>
m_apDocTemplateProvider
;
::
std
::
auto
_ptr
<
DialogModel
>
m_apDialogModel
;
::
std
::
unique
_ptr
<
ChartTypeTemplateProvider
>
m_apDocTemplateProvider
;
::
std
::
unique
_ptr
<
DialogModel
>
m_apDialogModel
;
private
:
DataSourceTabControl
*
m_pTabControl
;
...
...
chart2/source/controller/main/ChartController.cxx
Dosyayı görüntüle @
be31d107
...
...
@@ -67,7 +67,7 @@
#include <com/sun/star/frame/XLayoutManager.hpp>
#include <com/sun/star/ui/dialogs/XExecutableDialog.hpp>
// this is needed to properly destroy the
auto
_ptr to the AcceleratorExecute
// this is needed to properly destroy the
unique
_ptr to the AcceleratorExecute
// object in the DTOR
#include <svtools/acceleratorexecute.hxx>
#include <svx/ActionDescriptionProvider.hxx>
...
...
chart2/source/controller/main/ChartController.hxx
Dosyayı görüntüle @
be31d107
...
...
@@ -515,15 +515,15 @@ private:
bool
m_bConnectingToView
;
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
document
::
XUndoManager
>
m_xUndoManager
;
::
std
::
auto
_ptr
<
UndoGuard
>
m_pTextActionUndoGuard
;
::
std
::
unique
_ptr
<
UndoGuard
>
m_pTextActionUndoGuard
;
/// needed for dispatching URLs in FeatureStateEvents
mutable
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
util
::
XURLTransformer
>
m_xURLTransformer
;
::
std
::
auto
_ptr
<
::
svt
::
AcceleratorExecute
>
m_apAccelExecute
;
::
std
::
unique
_ptr
<
::
svt
::
AcceleratorExecute
>
m_apAccelExecute
;
CommandDispatchContainer
m_aDispatchContainer
;
::
std
::
auto
_ptr
<
DropTargetHelper
>
m_apDropTargetHelper
;
::
std
::
unique
_ptr
<
DropTargetHelper
>
m_apDropTargetHelper
;
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
frame
::
XLayoutManagerEventBroadcaster
>
m_xLayoutManagerEventBroadcaster
;
...
...
chart2/source/controller/main/ControllerCommandDispatch.hxx
Dosyayı görüntüle @
be31d107
...
...
@@ -113,8 +113,8 @@ private:
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
frame
::
XDispatch
>
m_xDispatch
;
::
std
::
auto
_ptr
<
impl
::
ModelState
>
m_apModelState
;
::
std
::
auto
_ptr
<
impl
::
ControllerState
>
m_apControllerState
;
::
std
::
unique
_ptr
<
impl
::
ModelState
>
m_apModelState
;
::
std
::
unique
_ptr
<
impl
::
ControllerState
>
m_apControllerState
;
mutable
::
std
::
map
<
OUString
,
bool
>
m_aCommandAvailability
;
mutable
::
std
::
map
<
OUString
,
::
com
::
sun
::
star
::
uno
::
Any
>
m_aCommandArguments
;
...
...
chart2/source/inc/ConfigColorScheme.hxx
Dosyayı görüntüle @
be31d107
...
...
@@ -73,7 +73,7 @@ private:
// member variables
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
uno
::
XComponentContext
>
m_xContext
;
::
std
::
auto
_ptr
<
impl
::
ChartConfigItem
>
m_apChartConfigItem
;
::
std
::
unique
_ptr
<
impl
::
ChartConfigItem
>
m_apChartConfigItem
;
mutable
::
com
::
sun
::
star
::
uno
::
Sequence
<
sal_Int64
>
m_aColorSequence
;
mutable
sal_Int32
m_nNumberOfColors
;
bool
m_bNeedsUpdate
;
...
...
chart2/source/view/main/VDataSeries.cxx
Dosyayı görüntüle @
be31d107
...
...
@@ -779,9 +779,7 @@ double VDataSeries::getYMeanValue() const
Symbol
*
getSymbolPropertiesFromPropertySet
(
const
uno
::
Reference
<
beans
::
XPropertySet
>&
xProp
)
{
SAL_WNODEPRECATED_DECLARATIONS_PUSH
::
std
::
auto_ptr
<
Symbol
>
apSymbolProps
(
new
Symbol
()
);
SAL_WNODEPRECATED_DECLARATIONS_POP
::
std
::
unique_ptr
<
Symbol
>
apSymbolProps
(
new
Symbol
()
);
try
{
if
(
xProp
->
getPropertyValue
(
"Symbol"
)
>>=
*
apSymbolProps
)
...
...
@@ -927,9 +925,7 @@ uno::Reference<beans::XPropertySet> VDataSeries::getPropertiesOfSeries() const
DataPointLabel
*
getDataPointLabelFromPropertySet
(
const
uno
::
Reference
<
beans
::
XPropertySet
>&
xProp
)
{
SAL_WNODEPRECATED_DECLARATIONS_PUSH
::
std
::
auto_ptr
<
DataPointLabel
>
apLabel
(
new
DataPointLabel
()
);
SAL_WNODEPRECATED_DECLARATIONS_POP
::
std
::
unique_ptr
<
DataPointLabel
>
apLabel
(
new
DataPointLabel
()
);
try
{
if
(
!
(
xProp
->
getPropertyValue
(
CHART_UNONAME_LABEL
)
>>=
*
apLabel
)
)
...
...
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