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
5d8449cd
Kaydet (Commit)
5d8449cd
authored
Ara 13, 2015
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
need more dynamic casts here
Change-Id: Idf84ababeeb109a411c03a18d3a9aa6e136c7ef4
üst
d6992663
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
6 deletions
+4
-6
lwpcelllayout.cxx
lotuswordpro/source/filter/lwpcelllayout.cxx
+1
-4
lwpfootnote.cxx
lotuswordpro/source/filter/lwpfootnote.cxx
+1
-1
lwptable.hxx
lotuswordpro/source/filter/lwptable.hxx
+1
-1
lwptablelayout.cxx
lotuswordpro/source/filter/lwptablelayout.cxx
+1
-0
No files found.
lotuswordpro/source/filter/lwpcelllayout.cxx
Dosyayı görüntüle @
5d8449cd
...
...
@@ -422,10 +422,7 @@ LwpObjectID * LwpCellLayout::GetPreviousCellStory()
LwpCellBorderType
LwpCellLayout
::
GetCellBorderType
(
sal_uInt16
nRow
,
sal_uInt16
nCol
,
LwpTableLayout
*
pTableLayout
)
{
if
(
!
pTableLayout
)
{
assert
(
false
);
return
enumWholeBorder
;
}
// get left cell and judge if neighbour border is different
XFBorders
*
pBorders
=
GetXFBorders
();
...
...
@@ -664,7 +661,7 @@ void LwpCellLayout::ApplyProtect(XFCell * pCell, LwpObjectID aTableID)
{
// judge whole table
LwpTable
*
pTable
=
dynamic_cast
<
LwpTable
*>
(
aTableID
.
obj
().
get
());
LwpTableLayout
*
pTableLayout
=
pTable
?
stat
ic_cast
<
LwpTableLayout
*>
(
pTable
->
GetTableLayout
())
:
nullptr
;
LwpTableLayout
*
pTableLayout
=
pTable
?
dynam
ic_cast
<
LwpTableLayout
*>
(
pTable
->
GetTableLayout
())
:
nullptr
;
LwpSuperTableLayout
*
pSuper
=
pTableLayout
?
pTableLayout
->
GetSuperTableLayout
()
:
nullptr
;
if
(
pSuper
&&
pSuper
->
IsProtected
())
{
...
...
lotuswordpro/source/filter/lwpfootnote.cxx
Dosyayı görüntüle @
5d8449cd
...
...
@@ -199,7 +199,7 @@ LwpCellLayout* LwpFootnote::GetCellLayout()
LwpEnSuperTableLayout
*
pEnSuperLayout
=
FindFootnoteTableLayout
();
if
(
pEnSuperLayout
)
{
LwpTableLayout
*
pTableLayout
=
stat
ic_cast
<
LwpTableLayout
*>
(
pEnSuperLayout
->
GetMainTableLayout
());
LwpTableLayout
*
pTableLayout
=
dynam
ic_cast
<
LwpTableLayout
*>
(
pEnSuperLayout
->
GetMainTableLayout
());
if
(
pTableLayout
)
{
LwpRowLayout
*
pRowLayout
=
pTableLayout
->
GetRowLayout
(
m_nRow
);
...
...
lotuswordpro/source/filter/lwptable.hxx
Dosyayı görüntüle @
5d8449cd
...
...
@@ -119,7 +119,7 @@ public:
LwpObjectID
&
GetDefaultCellStyle
()
{
return
m_DefaultCellStyle
;}
sal_uInt16
GetRow
()
{
return
m_nRow
;}
sal_uInt16
GetColumn
()
{
return
m_nColumn
;}
LwpTableLayout
*
GetTableLayout
(){
return
stat
ic_cast
<
LwpTableLayout
*>
(
GetLayout
(
nullptr
));}
LwpTableLayout
*
GetTableLayout
(){
return
dynam
ic_cast
<
LwpTableLayout
*>
(
GetLayout
(
nullptr
));}
bool
IsNumberDown
();
virtual
bool
IsTable
()
override
{
return
true
;}
LwpSuperTableLayout
*
GetSuperTableLayout
();
...
...
lotuswordpro/source/filter/lwptablelayout.cxx
Dosyayı görüntüle @
5d8449cd
...
...
@@ -448,6 +448,7 @@ LwpCellLayout * LwpTableLayout::GetCellByRowCol(sal_uInt16 nRow, sal_uInt16 nCol
return
m_WordProCellsMap
[
static_cast
<
size_t
>
(
nRow
)
*
m_nCols
+
nCol
];
}
/**
* @short traverse all table cells
* @param
...
...
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