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
3ffdb45a
Kaydet (Commit)
3ffdb45a
authored
Mar 16, 2012
tarafından
Noel Grandin
Kaydeden (comit)
Fridrich Štrba
Mar 22, 2012
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
simplify code - remove unnecessary and complicated allocation
üst
11ccf88e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
9 deletions
+7
-9
chart2uno.cxx
sc/source/ui/unoobj/chart2uno.cxx
+7
-9
No files found.
sc/source/ui/unoobj/chart2uno.cxx
Dosyayı görüntüle @
3ffdb45a
...
...
@@ -717,7 +717,6 @@ void Chart2Positioner::createPositionMap()
bool
bNoGlue
=
(
meGlue
==
GLUETYPE_NONE
);
SAL_WNODEPRECATED_DECLARATIONS_PUSH
auto_ptr
<
Table
>
pCols
(
new
Table
);
auto_ptr
<
FormulaToken
>
pNewAddress
;
auto_ptr
<
Table
>
pNewRowTable
(
new
Table
);
SAL_WNODEPRECATED_DECLARATIONS_POP
Table
*
pCol
=
NULL
;
...
...
@@ -784,19 +783,18 @@ void Chart2Positioner::createPositionMap()
aCellData
.
nRow
=
nRow
;
aCellData
.
nTab
=
nTab
;
if
(
bExternal
)
pNewAddress
.
reset
(
new
ScExternalSingleRefToken
(
nFileId
,
aTabName
,
aCellData
));
else
pNewAddress
.
reset
(
new
ScSingleRefToken
(
aCellData
));
if
(
pCol
->
Insert
(
nInsRow
,
pNewAddress
.
get
()))
pNewAddress
.
release
();
// To prevent the instance from being destroyed.
if
(
pCol
->
Get
(
nInsRow
)
==
NULL
)
{
if
(
bExternal
)
pCol
->
Insert
(
nInsRow
,
new
ScExternalSingleRefToken
(
nFileId
,
aTabName
,
aCellData
));
else
pCol
->
Insert
(
nInsRow
,
new
ScSingleRefToken
(
aCellData
));
}
}
}
}
nNoGlueRow
+=
nRow2
-
nRow1
+
1
;
}
pNewAddress
.
reset
(
NULL
);
pNewRowTable
.
reset
(
NULL
);
bool
bFillRowHeader
=
mbRowHeaders
;
...
...
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