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
683196be
Kaydet (Commit)
683196be
authored
Eki 26, 2015
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sw: prefix members of SwUnderlineFont
Change-Id: Icd6c6e1bb8a5603f6832921472615f44901e169a
üst
267c89fd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
swfont.hxx
sw/source/core/inc/swfont.hxx
+6
-6
swfont.cxx
sw/source/core/txtnode/swfont.cxx
+2
-2
No files found.
sw/source/core/inc/swfont.hxx
Dosyayı görüntüle @
683196be
...
@@ -958,8 +958,8 @@ inline void SwFont::SetHighlightColor( const Color& aNewColor )
...
@@ -958,8 +958,8 @@ inline void SwFont::SetHighlightColor( const Color& aNewColor )
// Used for the "continuous underline" feature.
// Used for the "continuous underline" feature.
class
SwUnderlineFont
class
SwUnderlineFont
{
{
Point
aPos
;
Point
m_
aPos
;
SwFont
*
pF
nt
;
SwFont
*
m_pFo
nt
;
public
:
public
:
// sets the font which should paint the common baseline
// sets the font which should paint the common baseline
...
@@ -969,12 +969,12 @@ public:
...
@@ -969,12 +969,12 @@ public:
SwFont
&
GetFont
()
SwFont
&
GetFont
()
{
{
OSL_ENSURE
(
pF
nt
,
"No underline font"
);
OSL_ENSURE
(
m_pFo
nt
,
"No underline font"
);
return
*
pF
nt
;
return
*
m_pFo
nt
;
}
}
const
Point
&
GetPos
()
const
{
return
aPos
;
}
const
Point
&
GetPos
()
const
{
return
m_
aPos
;
}
// the x coordinate of the starting point has to be set for each portion
// the x coordinate of the starting point has to be set for each portion
void
SetPos
(
const
Point
&
rPoint
)
{
aPos
=
rPoint
;
}
void
SetPos
(
const
Point
&
rPoint
)
{
m_
aPos
=
rPoint
;
}
};
};
#ifdef DBG_UTIL
#ifdef DBG_UTIL
...
...
sw/source/core/txtnode/swfont.cxx
Dosyayı görüntüle @
683196be
...
@@ -1507,13 +1507,13 @@ void SwDrawTextInfo::Shift( sal_uInt16 nDir )
...
@@ -1507,13 +1507,13 @@ void SwDrawTextInfo::Shift( sal_uInt16 nDir )
* @note Used for the "continuous underline" feature.
* @note Used for the "continuous underline" feature.
**/
**/
SwUnderlineFont
::
SwUnderlineFont
(
SwFont
&
rFnt
,
const
Point
&
rPoint
)
SwUnderlineFont
::
SwUnderlineFont
(
SwFont
&
rFnt
,
const
Point
&
rPoint
)
:
aPos
(
rPoint
),
pF
nt
(
&
rFnt
)
:
m_aPos
(
rPoint
),
m_pFo
nt
(
&
rFnt
)
{
{
};
};
SwUnderlineFont
::~
SwUnderlineFont
()
SwUnderlineFont
::~
SwUnderlineFont
()
{
{
delete
pF
nt
;
delete
m_pFo
nt
;
}
}
/// Helper for filters to find true lineheight of a font
/// Helper for filters to find true lineheight of a font
...
...
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