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
177f59b9
Kaydet (Commit)
177f59b9
authored
Tem 07, 2015
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sc: convert boost::scoped_ptr to std::unique_ptr while there
Change-Id: I5c03889f3611b7c1799c39aa75a223ba34b603e4
üst
1349c835
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
12 deletions
+7
-12
ChiSquareTestDialog.cxx
sc/source/ui/StatisticsDialogs/ChiSquareTestDialog.cxx
+0
-1
DescriptiveStatisticsDialog.cxx
...urce/ui/StatisticsDialogs/DescriptiveStatisticsDialog.cxx
+1
-2
FTestDialog.cxx
sc/source/ui/StatisticsDialogs/FTestDialog.cxx
+2
-3
TTestDialog.cxx
sc/source/ui/StatisticsDialogs/TTestDialog.cxx
+2
-3
ZTestDialog.cxx
sc/source/ui/StatisticsDialogs/ZTestDialog.cxx
+2
-3
No files found.
sc/source/ui/StatisticsDialogs/ChiSquareTestDialog.cxx
Dosyayı görüntüle @
177f59b9
...
...
@@ -11,7 +11,6 @@
#include <sfx2/dispatch.hxx>
#include <svl/zforlist.hxx>
#include <svl/undo.hxx>
#include <boost/scoped_ptr.hpp>
#include "formulacell.hxx"
#include "rangelst.hxx"
...
...
sc/source/ui/StatisticsDialogs/DescriptiveStatisticsDialog.cxx
Dosyayı görüntüle @
177f59b9
...
...
@@ -11,7 +11,6 @@
#include <sfx2/dispatch.hxx>
#include <svl/zforlist.hxx>
#include <svl/undo.hxx>
#include <boost/scoped_ptr.hpp>
#include "formulacell.hxx"
#include "rangelst.hxx"
...
...
@@ -87,7 +86,7 @@ ScRange ScDescriptiveStatisticsDialog::ApplyOutput(ScDocShell* pDocShell)
formula
::
FormulaGrammar
::
mergeToGrammar
(
formula
::
FormulaGrammar
::
GRAM_ENGLISH
,
mAddressDetails
.
eConv
));
FormulaTemplate
aTemplate
(
mDocument
);
boost
::
scoped
_ptr
<
DataRangeIterator
>
pIterator
;
std
::
unique
_ptr
<
DataRangeIterator
>
pIterator
;
if
(
mGroupedBy
==
BY_COLUMN
)
pIterator
.
reset
(
new
DataRangeByColumnIterator
(
mInputRange
));
else
...
...
sc/source/ui/StatisticsDialogs/FTestDialog.cxx
Dosyayı görüntüle @
177f59b9
...
...
@@ -11,7 +11,6 @@
#include <sfx2/dispatch.hxx>
#include <svl/zforlist.hxx>
#include <svl/undo.hxx>
#include <boost/scoped_ptr.hpp>
#include "formulacell.hxx"
#include "rangelst.hxx"
...
...
@@ -56,13 +55,13 @@ ScRange ScFTestDialog::ApplyOutput(ScDocShell* pDocShell)
formula
::
FormulaGrammar
::
mergeToGrammar
(
formula
::
FormulaGrammar
::
GRAM_ENGLISH
,
mAddressDetails
.
eConv
));
FormulaTemplate
aTemplate
(
mDocument
);
boost
::
scoped
_ptr
<
DataRangeIterator
>
pVariable1Iterator
;
std
::
unique
_ptr
<
DataRangeIterator
>
pVariable1Iterator
;
if
(
mGroupedBy
==
BY_COLUMN
)
pVariable1Iterator
.
reset
(
new
DataRangeByColumnIterator
(
mVariable1Range
));
else
pVariable1Iterator
.
reset
(
new
DataRangeByRowIterator
(
mVariable1Range
));
boost
::
scoped
_ptr
<
DataRangeIterator
>
pVariable2Iterator
;
std
::
unique
_ptr
<
DataRangeIterator
>
pVariable2Iterator
;
if
(
mGroupedBy
==
BY_COLUMN
)
pVariable2Iterator
.
reset
(
new
DataRangeByColumnIterator
(
mVariable2Range
));
else
...
...
sc/source/ui/StatisticsDialogs/TTestDialog.cxx
Dosyayı görüntüle @
177f59b9
...
...
@@ -11,7 +11,6 @@
#include <sfx2/dispatch.hxx>
#include <svl/zforlist.hxx>
#include <svl/undo.hxx>
#include <boost/scoped_ptr.hpp>
#include "formulacell.hxx"
#include "rangelst.hxx"
...
...
@@ -56,13 +55,13 @@ ScRange ScTTestDialog::ApplyOutput(ScDocShell* pDocShell)
formula
::
FormulaGrammar
::
mergeToGrammar
(
formula
::
FormulaGrammar
::
GRAM_ENGLISH
,
mAddressDetails
.
eConv
));
FormulaTemplate
aTemplate
(
mDocument
);
boost
::
scoped
_ptr
<
DataRangeIterator
>
pVariable1Iterator
;
std
::
unique
_ptr
<
DataRangeIterator
>
pVariable1Iterator
;
if
(
mGroupedBy
==
BY_COLUMN
)
pVariable1Iterator
.
reset
(
new
DataRangeByColumnIterator
(
mVariable1Range
));
else
pVariable1Iterator
.
reset
(
new
DataRangeByRowIterator
(
mVariable1Range
));
boost
::
scoped
_ptr
<
DataRangeIterator
>
pVariable2Iterator
;
std
::
unique
_ptr
<
DataRangeIterator
>
pVariable2Iterator
;
if
(
mGroupedBy
==
BY_COLUMN
)
pVariable2Iterator
.
reset
(
new
DataRangeByColumnIterator
(
mVariable2Range
));
else
...
...
sc/source/ui/StatisticsDialogs/ZTestDialog.cxx
Dosyayı görüntüle @
177f59b9
...
...
@@ -11,7 +11,6 @@
#include <sfx2/dispatch.hxx>
#include <svl/zforlist.hxx>
#include <svl/undo.hxx>
#include <boost/scoped_ptr.hpp>
#include "formulacell.hxx"
#include "rangelst.hxx"
...
...
@@ -56,13 +55,13 @@ ScRange ScZTestDialog::ApplyOutput(ScDocShell* pDocShell)
formula
::
FormulaGrammar
::
mergeToGrammar
(
formula
::
FormulaGrammar
::
GRAM_ENGLISH
,
mAddressDetails
.
eConv
));
FormulaTemplate
aTemplate
(
mDocument
);
boost
::
scoped
_ptr
<
DataRangeIterator
>
pVariable1Iterator
;
std
::
unique
_ptr
<
DataRangeIterator
>
pVariable1Iterator
;
if
(
mGroupedBy
==
BY_COLUMN
)
pVariable1Iterator
.
reset
(
new
DataRangeByColumnIterator
(
mVariable1Range
));
else
pVariable1Iterator
.
reset
(
new
DataRangeByRowIterator
(
mVariable1Range
));
boost
::
scoped
_ptr
<
DataRangeIterator
>
pVariable2Iterator
;
std
::
unique
_ptr
<
DataRangeIterator
>
pVariable2Iterator
;
if
(
mGroupedBy
==
BY_COLUMN
)
pVariable2Iterator
.
reset
(
new
DataRangeByColumnIterator
(
mVariable2Range
));
else
...
...
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