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
3079cebf
Kaydet (Commit)
3079cebf
authored
Mar 25, 2012
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Revert "restructure insert code as a precursor to further simplification"
This reverts commit
4aa72e0d
.
üst
d1fcea67
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
chart2uno.cxx
sc/source/ui/unoobj/chart2uno.cxx
+5
-5
No files found.
sc/source/ui/unoobj/chart2uno.cxx
Dosyayı görüntüle @
3079cebf
...
@@ -761,13 +761,13 @@ void Chart2Positioner::createPositionMap()
...
@@ -761,13 +761,13 @@ void Chart2Positioner::createPositionMap()
}
}
else
else
{
{
pCol
=
static_cast
<
Table
*>
(
pCols
->
Get
(
nInsCol
));
if
(
pCols
->
Insert
(
nInsCol
,
pNewRowTable
.
get
()))
if
(
!
pCol
)
{
{
pCol
=
pNewRowTable
.
get
();
pCol
=
pNewRowTable
.
release
();
pCols
->
Insert
(
nInsCol
,
pNewRowTable
.
release
());
pNewRowTable
.
reset
(
new
Table
);
pNewRowTable
.
reset
(
new
Table
);
}
}
else
pCol
=
static_cast
<
Table
*>
(
pCols
->
Get
(
nInsCol
));
}
}
sal_uInt32
nInsRow
=
static_cast
<
sal_uInt32
>
(
bNoGlue
?
nNoGlueRow
:
nRow1
);
sal_uInt32
nInsRow
=
static_cast
<
sal_uInt32
>
(
bNoGlue
?
nNoGlueRow
:
nRow1
);
...
@@ -786,7 +786,7 @@ void Chart2Positioner::createPositionMap()
...
@@ -786,7 +786,7 @@ void Chart2Positioner::createPositionMap()
if
(
pCol
->
Get
(
nInsRow
)
==
NULL
)
if
(
pCol
->
Get
(
nInsRow
)
==
NULL
)
{
{
if
(
bExternal
)
if
(
bExternal
)
pCol
->
Insert
(
nInsRow
,
new
ScExternalSingleRefToken
(
nFileId
,
aTabName
,
aCellData
))
pCol
->
Insert
(
nInsRow
,
new
ScExternalSingleRefToken
(
nFileId
,
aTabName
,
aCellData
))
;
else
else
pCol
->
Insert
(
nInsRow
,
new
ScSingleRefToken
(
aCellData
));
pCol
->
Insert
(
nInsRow
,
new
ScSingleRefToken
(
aCellData
));
}
}
...
...
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