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
67cde863
Kaydet (Commit)
67cde863
authored
Eyl 20, 2012
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Use scoped_ptr instead of deprecated auto_ptr
Change-Id: I87e5000424bed95fd25951b398bd61c3939a97ae
üst
272e5909
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
rangenam.cxx
sc/source/core/tool/rangenam.cxx
+2
-1
No files found.
sc/source/core/tool/rangenam.cxx
Dosyayı görüntüle @
67cde863
...
@@ -28,6 +28,7 @@
...
@@ -28,6 +28,7 @@
#include <string.h>
#include <string.h>
#include <memory>
#include <memory>
#include <boost/scoped_ptr.hpp>
#include <unotools/collatorwrapper.hxx>
#include <unotools/collatorwrapper.hxx>
#include <unotools/transliterationwrapper.hxx>
#include <unotools/transliterationwrapper.hxx>
#include <com/sun/star/sheet/NamedRangeFlag.hpp>
#include <com/sun/star/sheet/NamedRangeFlag.hpp>
...
@@ -639,7 +640,7 @@ void ScRangeData::ValidateTabRefs()
...
@@ -639,7 +640,7 @@ void ScRangeData::ValidateTabRefs()
void
ScRangeData
::
SetCode
(
ScTokenArray
&
rArr
)
void
ScRangeData
::
SetCode
(
ScTokenArray
&
rArr
)
{
{
::
std
::
auto_ptr
<
ScTokenArray
>
pOldCode
(
pCode
);
// old pCode will be deleted
boost
::
scoped_ptr
<
ScTokenArray
>
pOldCode
(
pCode
);
// old pCode will be deleted
pCode
=
new
ScTokenArray
(
rArr
);
pCode
=
new
ScTokenArray
(
rArr
);
InitCode
();
InitCode
();
}
}
...
...
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