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
d82d89ad
Kaydet (Commit)
d82d89ad
authored
Eki 27, 2015
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sw: prefix members of SwTableLine
Change-Id: I89c434ba488963fdbaa9025bdd1dd420ab255dac
üst
d0a09f85
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
13 deletions
+13
-13
swtable.hxx
sw/inc/swtable.hxx
+8
-8
swtable.cxx
sw/source/core/table/swtable.cxx
+5
-5
No files found.
sw/inc/swtable.hxx
Dosyayı görüntüle @
d82d89ad
...
...
@@ -344,23 +344,23 @@ public:
/// SwTableLine is one table row in the document model.
class
SW_DLLPUBLIC
SwTableLine
:
public
SwClient
// Client of FrameFormat.
{
SwTableBoxes
aBoxes
;
SwTableBox
*
pUpper
;
SwTableBoxes
m_
aBoxes
;
SwTableBox
*
m_
pUpper
;
public
:
TYPEINFO_OVERRIDE
();
SwTableLine
()
:
pUpper
(
0
)
{}
SwTableLine
()
:
m_
pUpper
(
0
)
{}
SwTableLine
(
SwTableLineFormat
*
,
sal_uInt16
nBoxes
,
SwTableBox
*
pUp
);
virtual
~
SwTableLine
();
SwTableBoxes
&
GetTabBoxes
()
{
return
aBoxes
;
}
const
SwTableBoxes
&
GetTabBoxes
()
const
{
return
aBoxes
;
}
SwTableBoxes
&
GetTabBoxes
()
{
return
m_
aBoxes
;
}
const
SwTableBoxes
&
GetTabBoxes
()
const
{
return
m_
aBoxes
;
}
SwTableBox
*
GetUpper
()
{
return
pUpper
;
}
const
SwTableBox
*
GetUpper
()
const
{
return
pUpper
;
}
void
SetUpper
(
SwTableBox
*
pNew
)
{
pUpper
=
pNew
;
}
SwTableBox
*
GetUpper
()
{
return
m_
pUpper
;
}
const
SwTableBox
*
GetUpper
()
const
{
return
m_
pUpper
;
}
void
SetUpper
(
SwTableBox
*
pNew
)
{
m_
pUpper
=
pNew
;
}
SwFrameFormat
*
GetFrameFormat
()
{
return
static_cast
<
SwFrameFormat
*>
(
GetRegisteredIn
());
}
SwFrameFormat
*
GetFrameFormat
()
const
{
return
const_cast
<
SwFrameFormat
*>
(
static_cast
<
const
SwFrameFormat
*>
(
GetRegisteredIn
()));
}
...
...
sw/source/core/table/swtable.cxx
Dosyayı görüntüle @
d82d89ad
...
...
@@ -1476,17 +1476,17 @@ bool SwTable::IsTableComplex() const
SwTableLine
::
SwTableLine
(
SwTableLineFormat
*
pFormat
,
sal_uInt16
nBoxes
,
SwTableBox
*
pUp
)
:
SwClient
(
pFormat
),
aBoxes
(),
pUpper
(
pUp
)
m_
aBoxes
(),
m_
pUpper
(
pUp
)
{
aBoxes
.
reserve
(
nBoxes
);
m_
aBoxes
.
reserve
(
nBoxes
);
}
SwTableLine
::~
SwTableLine
()
{
for
(
size_t
i
=
0
;
i
<
aBoxes
.
size
();
++
i
)
for
(
size_t
i
=
0
;
i
<
m_
aBoxes
.
size
();
++
i
)
{
delete
aBoxes
[
i
];
delete
m_
aBoxes
[
i
];
}
// the TabelleLine can be deleted if it's the last client of the FrameFormat
SwModify
*
pMod
=
GetFrameFormat
();
...
...
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