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
fe036ea3
Kaydet (Commit)
fe036ea3
authored
May 12, 2015
tarafından
Jan Holesovsky
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sw: Prefix LinesAndTable member variables.
Change-Id: Ic5c8e439de38a421e2ac056fc1c11c872cee34f7
üst
6a298f0e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
+14
-14
ndtbl1.cxx
sw/source/core/docnode/ndtbl1.cxx
+14
-14
No files found.
sw/source/core/docnode/ndtbl1.cxx
Dosyayı görüntüle @
fe036ea3
...
...
@@ -164,12 +164,12 @@ static bool lcl_IsAnLower( const SwTableLine *pLine, const SwTableLine *pAssumed
struct
LinesAndTable
{
std
::
vector
<
SwTableLine
*>
&
rLines
;
const
SwTable
&
rTable
;
bool
bInsertLines
;
std
::
vector
<
SwTableLine
*>
&
m_
rLines
;
const
SwTable
&
m_
rTable
;
bool
m_
bInsertLines
;
LinesAndTable
(
std
::
vector
<
SwTableLine
*>
&
rL
,
const
SwTable
&
rTbl
)
:
rLines
(
rL
),
rTable
(
rTbl
),
bInsertLines
(
true
)
{}
LinesAndTable
(
std
::
vector
<
SwTableLine
*>
&
rL
,
const
SwTable
&
rTbl
)
:
m_rLines
(
rL
),
m_rTable
(
rTbl
),
m_bInsertLines
(
true
)
{}
};
bool
_FindLine
(
_FndLine
&
rLine
,
LinesAndTable
*
pPara
);
...
...
@@ -178,27 +178,27 @@ bool _FindBox( _FndBox & rBox, LinesAndTable* pPara )
{
if
(
!
rBox
.
GetLines
().
empty
())
{
pPara
->
bInsertLines
=
true
;
for
(
_FndLine
&
rFndLine
:
rBox
.
GetLines
()
)
_FindLine
(
rFndLine
,
pPara
);
if
(
pPara
->
bInsertLines
)
pPara
->
m_bInsertLines
=
true
;
for
(
_FndLine
&
rFndLine
:
rBox
.
GetLines
())
_FindLine
(
rFndLine
,
pPara
);
if
(
pPara
->
m_bInsertLines
)
{
const
SwTableLines
&
rLines
=
(
rBox
.
GetBox
())
?
rBox
.
GetBox
()
->
GetTabLines
()
:
pPara
->
rTable
.
GetTabLines
();
:
pPara
->
m_
rTable
.
GetTabLines
();
if
(
rBox
.
GetLines
().
size
()
==
rLines
.
size
())
{
for
(
auto
pLine
:
rLines
)
::
InsertLine
(
pPara
->
rLines
,
pLine
);
::
InsertLine
(
pPara
->
m_rLines
,
pLine
);
}
else
pPara
->
bInsertLines
=
false
;
pPara
->
m_
bInsertLines
=
false
;
}
}
else
if
(
rBox
.
GetBox
())
{
::
InsertLine
(
pPara
->
rLines
,
static_cast
<
SwTableLine
*>
(
rBox
.
GetBox
()
->
GetUpper
()));
::
InsertLine
(
pPara
->
m_rLines
,
static_cast
<
SwTableLine
*>
(
rBox
.
GetBox
()
->
GetUpper
()));
}
return
true
;
}
...
...
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