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
7cec5493
Kaydet (Commit)
7cec5493
authored
Şub 14, 2012
tarafından
Kohei Yoshida
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Remove std::auto_ptr in favor of boost::scoped_ptr.
üst
8f38e6a4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
8 deletions
+6
-8
dpsave.hxx
sc/inc/dpsave.hxx
+2
-4
dpsave.cxx
sc/source/core/data/dpsave.cxx
+4
-4
No files found.
sc/inc/dpsave.hxx
Dosyayı görüntüle @
7cec5493
...
...
@@ -30,10 +30,10 @@
#define SC_DPSAVE_HXX
#include <list>
#include <memory>
#include <boost/ptr_container/ptr_vector.hpp>
#include <boost/unordered_map.hpp>
#include <boost/scoped_ptr.hpp>
#include <com/sun/star/sheet/XDimensionsSupplier.hpp>
#include <com/sun/star/sheet/DataPilotFieldOrientation.hpp>
...
...
@@ -256,9 +256,7 @@ private:
* created. */
bool
mbDimensionMembersBuilt
;
SAL_WNODEPRECATED_DECLARATIONS_PUSH
::
std
::
auto_ptr
<
rtl
::
OUString
>
mpGrandTotalName
;
SAL_WNODEPRECATED_DECLARATIONS_POP
boost
::
scoped_ptr
<
rtl
::
OUString
>
mpGrandTotalName
;
public
:
SC_DLLPUBLIC
ScDPSaveData
();
...
...
sc/source/core/data/dpsave.cxx
Dosyayı görüntüle @
7cec5493
...
...
@@ -755,7 +755,7 @@ ScDPSaveData::ScDPSaveData(const ScDPSaveData& r) :
aDimList
=
r
.
aDimList
.
clone
();
if
(
r
.
mpGrandTotalName
.
get
()
)
if
(
r
.
mpGrandTotalName
)
mpGrandTotalName
.
reset
(
new
OUString
(
*
r
.
mpGrandTotalName
));
}
...
...
@@ -790,14 +790,14 @@ bool ScDPSaveData::operator== ( const ScDPSaveData& r ) const
if
(
aDimList
!=
r
.
aDimList
)
return
false
;
if
(
mpGrandTotalName
.
get
()
)
if
(
mpGrandTotalName
)
{
if
(
!
r
.
mpGrandTotalName
.
get
()
)
if
(
!
r
.
mpGrandTotalName
)
return
false
;
if
(
!
mpGrandTotalName
->
equals
(
*
r
.
mpGrandTotalName
))
return
false
;
}
else
if
(
r
.
mpGrandTotalName
.
get
()
)
else
if
(
r
.
mpGrandTotalName
)
return
false
;
return
true
;
...
...
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