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
7c87db6a
Kaydet (Commit)
7c87db6a
authored
Şub 22, 2014
tarafından
Matteo Casalin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix memory leak a simplify code
Change-Id: I84ae9025d53d1544aa8ba0a56a2316cbf77561ea
üst
81da8a36
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
14 deletions
+10
-14
trvlfrm.cxx
sw/source/core/layout/trvlfrm.cxx
+10
-14
No files found.
sw/source/core/layout/trvlfrm.cxx
Dosyayı görüntüle @
7c87db6a
...
...
@@ -516,16 +516,14 @@ bool SwCellFrm::GetCrsrOfst( SwPosition *pPos, Point &rPoint,
}
if
(
!
bRet
)
{
Point
*
pPoint
=
pCMS
&&
pCMS
->
pFill
?
new
Point
(
rPoint
)
:
NULL
;
const
bool
bFill
=
pCMS
&&
pCMS
->
pFill
;
Point
aPoint
(
rPoint
);
const
SwCntntFrm
*
pCnt
=
GetCntntPos
(
rPoint
,
true
);
if
(
pPoint
&&
pCnt
->
IsTxtFrm
()
)
if
(
bFill
&&
pCnt
->
IsTxtFrm
()
)
{
pCnt
->
GetCrsrOfst
(
pPos
,
*
pPoint
,
pCMS
);
rPoint
=
*
pPoint
;
rPoint
=
aPoint
;
}
else
pCnt
->
GetCrsrOfst
(
pPos
,
rPoint
,
pCMS
);
delete
pPoint
;
pCnt
->
GetCrsrOfst
(
pPos
,
rPoint
,
pCMS
);
}
return
true
;
}
...
...
@@ -599,18 +597,16 @@ bool SwFlyFrm::GetCrsrOfst( SwPosition *pPos, Point &rPoint,
}
if
(
!
bRet
)
{
Point
*
pPoint
=
pCMS
&&
pCMS
->
pFill
?
new
Point
(
rPoint
)
:
NULL
;
const
bool
bFill
=
pCMS
&&
pCMS
->
pFill
;
Point
aPoint
(
rPoint
);
const
SwCntntFrm
*
pCnt
=
GetCntntPos
(
rPoint
,
true
,
false
,
false
,
pCMS
);
if
(
pCMS
&&
pCMS
->
bStop
)
return
false
;
if
(
pPoint
&&
pCnt
->
IsTxtFrm
()
)
if
(
bFill
&&
pCnt
->
IsTxtFrm
()
)
{
pCnt
->
GetCrsrOfst
(
pPos
,
*
pPoint
,
pCMS
);
rPoint
=
*
pPoint
;
rPoint
=
aPoint
;
}
else
pCnt
->
GetCrsrOfst
(
pPos
,
rPoint
,
pCMS
);
delete
pPoint
;
pCnt
->
GetCrsrOfst
(
pPos
,
rPoint
,
pCMS
);
bRet
=
true
;
}
}
...
...
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