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
12038a61
Kaydet (Commit)
12038a61
authored
Mar 28, 2015
tarafından
Bjoern Michaelsen
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
getCount() should throw exceptions on complex table like others
Change-Id: Ie504426209601695131e4c684bde7ee27fac87d8
üst
e0bc0b7a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
13 deletions
+7
-13
unotbl.cxx
sw/source/core/unocore/unotbl.cxx
+7
-13
No files found.
sw/source/core/unocore/unotbl.cxx
Dosyayı görüntüle @
12038a61
...
...
@@ -4695,21 +4695,15 @@ SwXTableColumns::~SwXTableColumns()
sal_Int32
SwXTableColumns
::
getCount
(
void
)
throw
(
uno
::
RuntimeException
,
std
::
exception
)
{
SolarMutexGuard
aGuard
;
sal_Int32
nRet
=
0
;
SwFrmFmt
*
pFrmFmt
=
GetFrmFmt
();
SwFrmFmt
*
pFrmFmt
(
GetFrmFmt
());
if
(
!
pFrmFmt
)
throw
uno
::
RuntimeException
();
else
{
SwTable
*
pTable
=
SwTable
::
FindTable
(
pFrmFmt
);
if
(
!
pTable
->
IsTblComplex
())
{
SwTableLines
&
rLines
=
pTable
->
GetTabLines
();
SwTableLine
*
pLine
=
rLines
.
front
();
nRet
=
pLine
->
GetTabBoxes
().
size
();
}
}
return
nRet
;
SwTable
*
pTable
=
SwTable
::
FindTable
(
pFrmFmt
);
if
(
!
pTable
->
IsTblComplex
())
throw
uno
::
RuntimeException
(
"Table too complex"
,
static_cast
<
cppu
::
OWeakObject
*>
(
this
));
SwTableLines
&
rLines
=
pTable
->
GetTabLines
();
SwTableLine
*
pLine
=
rLines
.
front
();
return
pLine
->
GetTabBoxes
().
size
();
}
uno
::
Any
SwXTableColumns
::
getByIndex
(
sal_Int32
nIndex
)
...
...
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