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
6af00cf9
Kaydet (Commit)
6af00cf9
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
remove unnecessary use of local variable and auto_ptr
üst
13bf1976
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
chart2uno.cxx
sc/source/ui/unoobj/chart2uno.cxx
+3
-6
No files found.
sc/source/ui/unoobj/chart2uno.cxx
Dosyayı görüntüle @
6af00cf9
...
@@ -717,7 +717,6 @@ void Chart2Positioner::createPositionMap()
...
@@ -717,7 +717,6 @@ void Chart2Positioner::createPositionMap()
bool
bNoGlue
=
(
meGlue
==
GLUETYPE_NONE
);
bool
bNoGlue
=
(
meGlue
==
GLUETYPE_NONE
);
SAL_WNODEPRECATED_DECLARATIONS_PUSH
SAL_WNODEPRECATED_DECLARATIONS_PUSH
auto_ptr
<
Table
>
pCols
(
new
Table
);
auto_ptr
<
Table
>
pCols
(
new
Table
);
auto_ptr
<
Table
>
pNewRowTable
(
new
Table
);
SAL_WNODEPRECATED_DECLARATIONS_POP
SAL_WNODEPRECATED_DECLARATIONS_POP
Table
*
pCol
=
NULL
;
Table
*
pCol
=
NULL
;
SCROW
nNoGlueRow
=
0
;
SCROW
nNoGlueRow
=
0
;
...
@@ -752,9 +751,8 @@ void Chart2Positioner::createPositionMap()
...
@@ -752,9 +751,8 @@ void Chart2Positioner::createPositionMap()
pCol
=
static_cast
<
Table
*>
(
pCols
->
Get
(
nInsCol
));
pCol
=
static_cast
<
Table
*>
(
pCols
->
Get
(
nInsCol
));
if
(
!
pCol
)
if
(
!
pCol
)
{
{
pCol
=
pNewRowTable
.
get
();
pCol
=
new
Table
;
pCols
->
Insert
(
nInsCol
,
pNewRowTable
.
release
());
pCols
->
Insert
(
nInsCol
,
pCol
);
pNewRowTable
.
reset
(
new
Table
);
}
}
sal_uInt32
nInsRow
=
static_cast
<
sal_uInt32
>
(
bNoGlue
?
nNoGlueRow
:
nRow1
);
sal_uInt32
nInsRow
=
static_cast
<
sal_uInt32
>
(
bNoGlue
?
nNoGlueRow
:
nRow1
);
...
@@ -773,7 +771,7 @@ void Chart2Positioner::createPositionMap()
...
@@ -773,7 +771,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
));
}
}
...
@@ -782,7 +780,6 @@ void Chart2Positioner::createPositionMap()
...
@@ -782,7 +780,6 @@ void Chart2Positioner::createPositionMap()
}
}
nNoGlueRow
+=
nRow2
-
nRow1
+
1
;
nNoGlueRow
+=
nRow2
-
nRow1
+
1
;
}
}
pNewRowTable
.
reset
(
NULL
);
bool
bFillRowHeader
=
mbRowHeaders
;
bool
bFillRowHeader
=
mbRowHeaders
;
bool
bFillColumnHeader
=
mbColHeaders
;
bool
bFillColumnHeader
=
mbColHeaders
;
...
...
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