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
8d7a4841
Kaydet (Commit)
8d7a4841
authored
Haz 16, 2011
tarafından
Joseph Powers
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Replace List with std::vector< SvxMSDffConnectorRule* >
üst
b6cca4dd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
19 deletions
+6
-19
xiescher.cxx
sc/source/filter/excel/xiescher.cxx
+6
-15
xiescher.hxx
sc/source/filter/inc/xiescher.hxx
+0
-4
No files found.
sc/source/filter/excel/xiescher.cxx
Dosyayı görüntüle @
8d7a4841
...
...
@@ -3076,8 +3076,9 @@ void XclImpSolverContainer::RemoveSdrObjectInfo( SdrObject& rSdrObj )
void
XclImpSolverContainer
::
UpdateConnectorRules
()
{
for
(
SvxMSDffConnectorRule
*
pRule
=
GetFirstRule
();
pRule
;
pRule
=
GetNextRule
()
)
for
(
size_t
i
=
0
,
n
=
aCList
.
size
();
i
<
n
;
++
i
)
{
SvxMSDffConnectorRule
*
pRule
=
aCList
[
i
];
UpdateConnection
(
pRule
->
nShapeA
,
pRule
->
pAObj
,
&
pRule
->
nSpFlagsA
);
UpdateConnection
(
pRule
->
nShapeB
,
pRule
->
pBObj
,
&
pRule
->
nSpFlagsB
);
UpdateConnection
(
pRule
->
nShapeC
,
pRule
->
pCObj
);
...
...
@@ -3087,24 +3088,14 @@ void XclImpSolverContainer::UpdateConnectorRules()
void
XclImpSolverContainer
::
RemoveConnectorRules
()
{
// base class from SVX uses plain untyped tools/List
for
(
SvxMSDffConnectorRule
*
pRule
=
GetFirstRule
();
pRule
;
pRule
=
GetNextRule
()
)
delete
pRule
;
aCList
.
Clear
();
for
(
size_t
i
=
0
,
n
=
aCList
.
size
();
i
<
n
;
++
i
)
{
delete
aCList
[
i
]
;
}
aCList
.
clear
();
maSdrInfoMap
.
clear
();
maSdrObjMap
.
clear
();
}
SvxMSDffConnectorRule
*
XclImpSolverContainer
::
GetFirstRule
()
{
return
static_cast
<
SvxMSDffConnectorRule
*
>
(
aCList
.
First
()
);
}
SvxMSDffConnectorRule
*
XclImpSolverContainer
::
GetNextRule
()
{
return
static_cast
<
SvxMSDffConnectorRule
*
>
(
aCList
.
Next
()
);
}
void
XclImpSolverContainer
::
UpdateConnection
(
sal_uInt32
nDffShapeId
,
SdrObject
*&
rpSdrObj
,
sal_uInt32
*
pnDffFlags
)
{
XclImpSdrInfoMap
::
const_iterator
aIt
=
maSdrInfoMap
.
find
(
nDffShapeId
);
...
...
sc/source/filter/inc/xiescher.hxx
Dosyayı görüntüle @
8d7a4841
...
...
@@ -940,10 +940,6 @@ public:
void
RemoveConnectorRules
();
private
:
/** Returns the first connector rule from the internal list. */
SvxMSDffConnectorRule
*
GetFirstRule
();
/** Returns the next connector rule from the internal list. */
SvxMSDffConnectorRule
*
GetNextRule
();
/** Updates the data of a connected shape in a connector rule. */
void
UpdateConnection
(
sal_uInt32
nDffShapeId
,
SdrObject
*&
rpSdrObj
,
sal_uInt32
*
pnDffFlags
=
0
);
...
...
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