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
8af39740
Kaydet (Commit)
8af39740
authored
Haz 25, 2015
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
SwTextSizeInfo::CtorInitTextSizeInfo: use vcl::RenderContext
Change-Id: I6dfceb02b57d886dd8025520e5ed21a2ad46a5b1
üst
d7eacc57
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
inftxt.cxx
sw/source/core/text/inftxt.cxx
+5
-5
inftxt.hxx
sw/source/core/text/inftxt.hxx
+1
-1
No files found.
sw/source/core/text/inftxt.cxx
Dosyayı görüntüle @
8af39740
...
@@ -251,7 +251,7 @@ SwTextSizeInfo::SwTextSizeInfo( const SwTextSizeInfo &rNew )
...
@@ -251,7 +251,7 @@ SwTextSizeInfo::SwTextSizeInfo( const SwTextSizeInfo &rNew )
#endif
#endif
}
}
void
SwTextSizeInfo
::
CtorInitTextSizeInfo
(
SwTextFrm
*
pFrame
,
SwFont
*
pNewFnt
,
void
SwTextSizeInfo
::
CtorInitTextSizeInfo
(
OutputDevice
*
pRenderContext
,
SwTextFrm
*
pFrame
,
SwFont
*
pNewFnt
,
const
sal_Int32
nNewIdx
,
const
sal_Int32
nNewLen
)
const
sal_Int32
nNewIdx
,
const
sal_Int32
nNewLen
)
{
{
m_pKanaComp
=
NULL
;
m_pKanaComp
=
NULL
;
...
@@ -264,9 +264,9 @@ void SwTextSizeInfo::CtorInitTextSizeInfo( SwTextFrm *pFrame, SwFont *pNewFnt,
...
@@ -264,9 +264,9 @@ void SwTextSizeInfo::CtorInitTextSizeInfo( SwTextFrm *pFrame, SwFont *pNewFnt,
// Get the output and reference device
// Get the output and reference device
if
(
m_pVsh
)
if
(
m_pVsh
)
{
{
m_pOut
=
m_pVsh
->
GetOut
()
;
m_pOut
=
pRenderContext
;
m_pRef
=
&
m_pVsh
->
GetRefDev
();
m_pRef
=
&
m_pVsh
->
GetRefDev
();
m_bOnWin
=
m_pVsh
->
GetWin
()
||
OUTDEV_WINDOW
==
m_pOut
->
GetOutDevType
();
m_bOnWin
=
m_pVsh
->
GetWin
()
||
OUTDEV_WINDOW
==
m_pOut
->
GetOutDevType
()
||
m_pVsh
->
isOutputToWindow
()
;
}
}
else
else
{
{
...
@@ -368,7 +368,7 @@ SwTextSizeInfo::SwTextSizeInfo( SwTextFrm *pTextFrm, SwFont *pTextFnt,
...
@@ -368,7 +368,7 @@ SwTextSizeInfo::SwTextSizeInfo( SwTextFrm *pTextFrm, SwFont *pTextFnt,
const
sal_Int32
nLength
)
const
sal_Int32
nLength
)
:
m_bOnWin
(
false
)
:
m_bOnWin
(
false
)
{
{
CtorInitTextSizeInfo
(
pTextFrm
,
pTextFnt
,
nIndex
,
nLength
);
CtorInitTextSizeInfo
(
pTextFrm
->
getRootFrm
()
->
GetCurrShell
()
->
GetOut
(),
pTextFrm
,
pTextFnt
,
nIndex
,
nLength
);
}
}
void
SwTextSizeInfo
::
SelectFont
()
void
SwTextSizeInfo
::
SelectFont
()
...
@@ -489,7 +489,7 @@ bool SwTextSizeInfo::_HasHint( const SwTextNode* pTextNode, sal_Int32 nPos )
...
@@ -489,7 +489,7 @@ bool SwTextSizeInfo::_HasHint( const SwTextNode* pTextNode, sal_Int32 nPos )
void
SwTextPaintInfo
::
CtorInitTextPaintInfo
(
SwTextFrm
*
pFrame
,
const
SwRect
&
rPaint
)
void
SwTextPaintInfo
::
CtorInitTextPaintInfo
(
SwTextFrm
*
pFrame
,
const
SwRect
&
rPaint
)
{
{
CtorInitTextSizeInfo
(
pFrame
);
CtorInitTextSizeInfo
(
pFrame
->
getRootFrm
()
->
GetCurrShell
()
->
GetOut
(),
pFrame
);
aTextFly
.
CtorInitTextFly
(
pFrame
),
aTextFly
.
CtorInitTextFly
(
pFrame
),
aPaintRect
=
rPaint
;
aPaintRect
=
rPaint
;
nSpaceIdx
=
0
;
nSpaceIdx
=
0
;
...
...
sw/source/core/text/inftxt.hxx
Dosyayı görüntüle @
8af39740
...
@@ -191,7 +191,7 @@ protected:
...
@@ -191,7 +191,7 @@ protected:
sal_uInt8
m_nDirection
:
2
;
// writing direction: 0/90/180/270 degree
sal_uInt8
m_nDirection
:
2
;
// writing direction: 0/90/180/270 degree
protected
:
protected
:
void
CtorInitTextSizeInfo
(
SwTextFrm
*
pFrm
,
SwFont
*
pFnt
=
0
,
void
CtorInitTextSizeInfo
(
OutputDevice
*
pRenderContext
,
SwTextFrm
*
pFrm
,
SwFont
*
pFnt
=
0
,
const
sal_Int32
nIdx
=
0
,
const
sal_Int32
nIdx
=
0
,
const
sal_Int32
nLen
=
COMPLETE_STRING
);
const
sal_Int32
nLen
=
COMPLETE_STRING
);
SwTextSizeInfo
();
SwTextSizeInfo
();
...
...
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