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
b18d49e0
An error occurred while fetching merge requests data.
Kaydet (Commit)
b18d49e0
authored
9 years ago
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fftester: subtable is a subtable of itself
Change-Id: I9de983e3c9436ab3a37d3482b0f18f04c7cdaaca
üst
50ac0f50
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
0 deletions
+9
-0
recurse-3.lwp
lotuswordpro/qa/cppunit/data/fail/recurse-3.lwp
+0
-0
xfcell.hxx
lotuswordpro/source/filter/xfilter/xfcell.hxx
+2
-0
xftable.cxx
lotuswordpro/source/filter/xfilter/xftable.cxx
+7
-0
No files found.
lotuswordpro/qa/cppunit/data/fail/recurse-3.lwp
0 → 100644
Dosyayı görüntüle @
b18d49e0
File added
This diff is collapsed.
Click to expand it.
lotuswordpro/source/filter/xfilter/xfcell.hxx
Dosyayı görüntüle @
b18d49e0
...
...
@@ -141,6 +141,8 @@ public:
*/
virtual
void
ToXml
(
IXFStream
*
pStrm
)
override
;
const
XFTable
*
GetSubTable
()
const
{
return
m_pSubTable
;
}
private
:
XFRow
*
m_pOwnerRow
;
XFTable
*
m_pSubTable
;
...
...
This diff is collapsed.
Click to expand it.
lotuswordpro/source/filter/xfilter/xftable.cxx
Dosyayı görüntüle @
b18d49e0
...
...
@@ -91,6 +91,13 @@ void XFTable::AddRow(XFRow *pRow)
{
assert
(
pRow
);
for
(
sal_Int32
i
=
0
;
i
<
pRow
->
GetCellCount
();
++
i
)
{
XFCell
*
pFirstCell
=
pRow
->
GetCell
(
i
+
1
);
//starts at 1, not 0
if
(
pFirstCell
->
GetSubTable
()
==
this
)
throw
std
::
runtime_error
(
"table is a subtable of itself"
);
}
int
row
=
pRow
->
GetRow
();
if
(
row
<
1
)
...
...
This diff is collapsed.
Click to expand it.
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