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
ea1ea3b9
Kaydet (Commit)
ea1ea3b9
authored
Haz 29, 2015
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
SwFrm::PrepareMake: use vcl::RenderContext
Change-Id: I34306bb1622c79489eb647ed45f398ad2634c144
üst
533e9794
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
+8
-8
frame.hxx
sw/source/core/inc/frame.hxx
+1
-1
calcmove.cxx
sw/source/core/layout/calcmove.cxx
+5
-5
fly.cxx
sw/source/core/layout/fly.cxx
+1
-1
trvlfrm.cxx
sw/source/core/layout/trvlfrm.cxx
+1
-1
No files found.
sw/source/core/inc/frame.hxx
Dosyayı görüntüle @
ea1ea3b9
...
@@ -370,7 +370,7 @@ protected:
...
@@ -370,7 +370,7 @@ protected:
void
setRootFrm
(
SwRootFrm
*
pRoot
)
{
mpRoot
=
pRoot
;
}
void
setRootFrm
(
SwRootFrm
*
pRoot
)
{
mpRoot
=
pRoot
;
}
SwPageFrm
*
InsertPage
(
SwPageFrm
*
pSibling
,
bool
bFootnote
);
SwPageFrm
*
InsertPage
(
SwPageFrm
*
pSibling
,
bool
bFootnote
);
void
PrepareMake
();
void
PrepareMake
(
vcl
::
RenderContext
*
pRenderContext
);
void
OptPrepareMake
();
void
OptPrepareMake
();
void
MakePos
();
void
MakePos
();
// Format next frame of table frame to assure keeping attributes.
// Format next frame of table frame to assure keeping attributes.
...
...
sw/source/core/layout/calcmove.cxx
Dosyayı görüntüle @
ea1ea3b9
...
@@ -238,7 +238,7 @@ static bool lcl_IsCalcUpperAllowed( const SwFrm& rFrm )
...
@@ -238,7 +238,7 @@ static bool lcl_IsCalcUpperAllowed( const SwFrm& rFrm )
*
*
* @see MakeAll()
* @see MakeAll()
*/
*/
void
SwFrm
::
PrepareMake
()
void
SwFrm
::
PrepareMake
(
vcl
::
RenderContext
*
pRenderContext
)
{
{
StackHack
aHack
;
StackHack
aHack
;
if
(
GetUpper
()
)
if
(
GetUpper
()
)
...
@@ -274,7 +274,7 @@ void SwFrm::PrepareMake()
...
@@ -274,7 +274,7 @@ void SwFrm::PrepareMake()
const
SwTextFrm
*
pMaster
=
static_cast
<
SwContentFrm
*>
(
this
)
->
FindMaster
();
const
SwTextFrm
*
pMaster
=
static_cast
<
SwContentFrm
*>
(
this
)
->
FindMaster
();
if
(
pMaster
&&
pMaster
->
IsLocked
()
)
if
(
pMaster
&&
pMaster
->
IsLocked
()
)
{
{
MakeAll
(
IsRootFrm
()
?
0
:
getRootFrm
()
->
GetCurrShell
()
->
GetOut
()
);
MakeAll
(
pRenderContext
);
return
;
return
;
}
}
}
}
...
@@ -303,7 +303,7 @@ void SwFrm::PrepareMake()
...
@@ -303,7 +303,7 @@ void SwFrm::PrepareMake()
(
SwFlowFrm
::
CastFlowFrm
(
pFrm
))
->
IsAnFollow
(
pThis
)
)
(
SwFlowFrm
::
CastFlowFrm
(
pFrm
))
->
IsAnFollow
(
pThis
)
)
break
;
break
;
pFrm
->
MakeAll
(
IsRootFrm
()
?
0
:
getRootFrm
()
->
GetCurrShell
()
->
GetOut
()
);
pFrm
->
MakeAll
(
pRenderContext
);
if
(
IsSctFrm
()
&&
!
static_cast
<
SwSectionFrm
*>
(
this
)
->
GetSection
()
)
if
(
IsSctFrm
()
&&
!
static_cast
<
SwSectionFrm
*>
(
this
)
->
GetSection
()
)
break
;
break
;
}
}
...
@@ -337,7 +337,7 @@ void SwFrm::PrepareMake()
...
@@ -337,7 +337,7 @@ void SwFrm::PrepareMake()
if
(
bTab
&&
!
bOldTabLock
)
if
(
bTab
&&
!
bOldTabLock
)
::
PrepareUnlock
(
static_cast
<
SwTabFrm
*>
(
this
)
);
::
PrepareUnlock
(
static_cast
<
SwTabFrm
*>
(
this
)
);
}
}
MakeAll
(
IsRootFrm
()
?
0
:
getRootFrm
()
->
GetCurrShell
()
->
GetOut
()
);
MakeAll
(
pRenderContext
);
}
}
void
SwFrm
::
OptPrepareMake
()
void
SwFrm
::
OptPrepareMake
()
...
@@ -354,7 +354,7 @@ void SwFrm::OptPrepareMake()
...
@@ -354,7 +354,7 @@ void SwFrm::OptPrepareMake()
return
;
return
;
}
}
if
(
GetPrev
()
&&
!
GetPrev
()
->
IsValid
()
)
if
(
GetPrev
()
&&
!
GetPrev
()
->
IsValid
()
)
PrepareMake
();
PrepareMake
(
getRootFrm
()
->
GetCurrShell
()
?
getRootFrm
()
->
GetCurrShell
()
->
GetOut
()
:
0
);
else
else
{
{
StackHack
aHack
;
StackHack
aHack
;
...
...
sw/source/core/layout/fly.cxx
Dosyayı görüntüle @
ea1ea3b9
...
@@ -2657,7 +2657,7 @@ SwFlyFrameFormat * SwFlyFrm::GetFormat()
...
@@ -2657,7 +2657,7 @@ SwFlyFrameFormat * SwFlyFrm::GetFormat()
void
SwFlyFrm
::
Calc
()
const
void
SwFlyFrm
::
Calc
()
const
{
{
if
(
!
m_bValidContentPos
)
if
(
!
m_bValidContentPos
)
const_cast
<
SwFlyFrm
*>
(
this
)
->
PrepareMake
();
const_cast
<
SwFlyFrm
*>
(
this
)
->
PrepareMake
(
getRootFrm
()
->
GetCurrShell
()
?
getRootFrm
()
->
GetCurrShell
()
->
GetOut
()
:
0
);
else
else
SwLayoutFrm
::
Calc
();
SwLayoutFrm
::
Calc
();
}
}
...
...
sw/source/core/layout/trvlfrm.cxx
Dosyayı görüntüle @
ea1ea3b9
...
@@ -1789,7 +1789,7 @@ bool SwFrm::OnFirstPage() const
...
@@ -1789,7 +1789,7 @@ bool SwFrm::OnFirstPage() const
void
SwFrm
::
Calc
()
const
void
SwFrm
::
Calc
()
const
{
{
if
(
!
mbValidPos
||
!
mbValidPrtArea
||
!
mbValidSize
)
if
(
!
mbValidPos
||
!
mbValidPrtArea
||
!
mbValidSize
)
const_cast
<
SwFrm
*>
(
this
)
->
PrepareMake
();
const_cast
<
SwFrm
*>
(
this
)
->
PrepareMake
(
getRootFrm
()
->
GetCurrShell
()
?
getRootFrm
()
->
GetCurrShell
()
->
GetOut
()
:
0
);
}
}
Point
SwFrm
::
GetRelPos
()
const
Point
SwFrm
::
GetRelPos
()
const
...
...
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