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
77768f58
Kaydet (Commit)
77768f58
authored
Kas 24, 2013
tarafından
Matteo Casalin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Bail out early
Change-Id: Ic0bb06e3d64933df4887ce1402f62c16e917fdbd
üst
9236d824
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
23 deletions
+21
-23
callnk.cxx
sw/source/core/crsr/callnk.cxx
+21
-23
No files found.
sw/source/core/crsr/callnk.cxx
Dosyayı görüntüle @
77768f58
...
...
@@ -74,32 +74,30 @@ SwCallLink::SwCallLink( SwCrsrShell & rSh )
static
void
lcl_notifyRow
(
const
SwCntntNode
*
pNode
,
SwCrsrShell
&
rShell
)
{
if
(
pNode
!=
NULL
)
if
(
!
pNode
)
return
;
SwFrm
*
const
pMyFrm
=
pNode
->
getLayoutFrm
(
rShell
.
GetLayout
()
);
if
(
!
pMyFrm
)
return
;
// We need to emulated a change of the row height in order
// to have the complete row redrawn
SwRowFrm
*
const
pRow
=
pMyFrm
->
FindRowFrm
();
if
(
!
pRow
)
return
;
const
SwTableLine
*
pLine
=
pRow
->
GetTabLine
(
);
// Avoid redrawing the complete row if there are no nested tables
for
(
SwFrm
*
pCell
=
pRow
->
GetLower
();
pCell
;
pCell
=
pCell
->
GetNext
())
{
SwFrm
*
myFrm
=
pNode
->
getLayoutFrm
(
rShell
.
GetLayout
()
);
if
(
myFrm
!=
NULL
)
for
(
SwFrm
*
pContent
=
pCell
->
GetLower
();
pContent
;
pContent
=
pContent
->
GetNext
())
{
// We need to emulated a change of the row height in order
// to have the complete row redrawn
SwRowFrm
*
pRow
=
myFrm
->
FindRowFrm
();
if
(
pRow
)
if
(
pContent
->
GetType
()
==
FRM_TAB
)
{
const
SwTableLine
*
pLine
=
pRow
->
GetTabLine
(
);
// Avoid redrawing the complete row if there are no nested tables
bool
bHasTable
=
false
;
SwFrm
*
pCell
=
pRow
->
GetLower
();
for
(;
pCell
&&
!
bHasTable
;
pCell
=
pCell
->
GetNext
())
{
SwFrm
*
pContent
=
pCell
->
GetLower
();
for
(;
pContent
&&
!
bHasTable
;
pContent
=
pContent
->
GetNext
())
if
(
pContent
->
GetType
()
==
FRM_TAB
)
bHasTable
=
true
;
}
if
(
bHasTable
)
{
SwFmtFrmSize
pSize
=
pLine
->
GetFrmFmt
()
->
GetFrmSize
();
pRow
->
ModifyNotification
(
NULL
,
&
pSize
);
}
SwFmtFrmSize
pSize
=
pLine
->
GetFrmFmt
()
->
GetFrmSize
();
pRow
->
ModifyNotification
(
NULL
,
&
pSize
);
return
;
}
}
}
...
...
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