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
e35b772e
Kaydet (Commit)
e35b772e
authored
Nis 18, 2013
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
SwDrawTextInfo: confusing p prefix for non-pointers
Change-Id: Id5b055081f8bed3399326aa0e1c6372edf4da29f
üst
3677823c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
15 deletions
+15
-15
drawfont.hxx
sw/source/core/inc/drawfont.hxx
+10
-10
swfont.cxx
sw/source/core/txtnode/swfont.cxx
+5
-5
No files found.
sw/source/core/inc/drawfont.hxx
Dosyayı görüntüle @
e35b772e
...
...
@@ -42,12 +42,12 @@ class SwDrawTextInfo
OutputDevice
*
pOut
;
ViewShell
*
pSh
;
const
SwScriptInfo
*
pScriptInfo
;
Point
p
Pos
;
OUString
p
Text
;
Point
m_a
Pos
;
OUString
m_a
Text
;
const
SwWrongList
*
pWrong
;
const
SwWrongList
*
pGrammarCheck
;
const
SwWrongList
*
pSmartTags
;
Size
p
Size
;
Size
m_a
Size
;
SwFont
*
pFnt
;
SwUnderlineFont
*
pUnderFnt
;
xub_StrLen
*
pHyphPos
;
...
...
@@ -111,7 +111,7 @@ public:
pSh
=
pS
;
pOut
=
&
rO
;
pScriptInfo
=
pSI
;
p
Text
=
rSt
;
m_a
Text
=
rSt
;
nIdx
=
nI
;
nLen
=
nL
;
nKern
=
0
;
...
...
@@ -190,7 +190,7 @@ public:
#ifdef DBG_UTIL
OSL_ENSURE
(
m_bPos
,
"DrawTextInfo: Undefined Position"
);
#endif
return
p
Pos
;
return
m_a
Pos
;
}
xub_StrLen
*
GetHyphPos
()
const
...
...
@@ -203,7 +203,7 @@ public:
const
OUString
&
GetText
()
const
{
return
p
Text
;
return
m_a
Text
;
}
const
SwWrongList
*
GetWrong
()
const
...
...
@@ -232,7 +232,7 @@ public:
#ifdef DBG_UTIL
OSL_ENSURE
(
m_bSize
,
"DrawTextInfo: Undefined Size"
);
#endif
return
p
Size
;
return
m_a
Size
;
}
SwFont
*
GetFont
()
const
...
...
@@ -400,7 +400,7 @@ public:
void
SetPos
(
const
Point
&
rNew
)
{
p
Pos
=
rNew
;
m_a
Pos
=
rNew
;
#ifdef DBG_UTIL
m_bPos
=
true
;
#endif
...
...
@@ -416,7 +416,7 @@ public:
void
SetText
(
const
OUString
&
rNew
)
{
p
Text
=
rNew
;
m_a
Text
=
rNew
;
}
void
SetWrong
(
const
SwWrongList
*
pNew
)
...
...
@@ -442,7 +442,7 @@ public:
void
SetSize
(
const
Size
&
rNew
)
{
p
Size
=
rNew
;
m_a
Size
=
rNew
;
#ifdef DBG_UTIL
m_bSize
=
true
;
#endif
...
...
sw/source/core/txtnode/swfont.cxx
Dosyayı görüntüle @
e35b772e
...
...
@@ -1163,17 +1163,17 @@ void SwDrawTextInfo::Shift( sal_uInt16 nDir )
switch
(
nDir
)
{
case
0
:
p
Pos
.
X
()
+=
GetSize
().
Width
();
m_a
Pos
.
X
()
+=
GetSize
().
Width
();
break
;
case
900
:
OSL_ENSURE
(
p
Pos
.
Y
()
>=
GetSize
().
Width
(),
"Going underground"
);
p
Pos
.
Y
()
-=
GetSize
().
Width
();
OSL_ENSURE
(
m_a
Pos
.
Y
()
>=
GetSize
().
Width
(),
"Going underground"
);
m_a
Pos
.
Y
()
-=
GetSize
().
Width
();
break
;
case
1800
:
p
Pos
.
X
()
-=
GetSize
().
Width
();
m_a
Pos
.
X
()
-=
GetSize
().
Width
();
break
;
case
2700
:
p
Pos
.
Y
()
+=
GetSize
().
Width
();
m_a
Pos
.
Y
()
+=
GetSize
().
Width
();
break
;
}
}
...
...
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