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
171653e4
Kaydet (Commit)
171653e4
authored
Ara 04, 2013
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
remove unnecessary inline keyword
Change-Id: I00a0c94dd9131be3969e2cfd1320682774dced3f
üst
06299d6c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
25 deletions
+32
-25
splargs.hxx
sw/inc/splargs.hxx
+32
-25
No files found.
sw/inc/splargs.hxx
Dosyayı görüntüle @
171653e4
...
...
@@ -128,8 +128,8 @@ class SwInterHyphInfo
{
::
css
::
uno
::
Reference
<
::
css
::
linguistic2
::
XHyphenatedWord
>
xHyphWord
;
const
Point
aCrsrPos
;
sal_Bool
bNoLang
:
1
;
sal_Bool
bCheck
:
1
;
bool
bNoLang
:
1
;
bool
bCheck
:
1
;
public
:
sal_Int32
nStart
;
sal_Int32
nEnd
;
...
...
@@ -138,31 +138,38 @@ public:
sal_Int32
nHyphPos
;
sal_uInt16
nMinTrail
;
inline
SwInterHyphInfo
(
const
Point
&
rCrsrPos
,
sal_Int32
nStartPos
=
0
,
sal_Int32
nLength
=
SAL_MAX_INT32
)
:
aCrsrPos
(
rCrsrPos
),
bNoLang
(
sal_False
),
bCheck
(
sal_False
),
nStart
(
nStartPos
),
nEnd
(
nLength
==
SAL_MAX_INT32
?
SAL_MAX_INT32
:
nStartPos
+
nLength
),
nWordStart
(
0
),
nWordLen
(
0
),
nHyphPos
(
0
),
nMinTrail
(
0
)
{
}
inline
sal_Int32
GetEnd
()
const
{
return
nEnd
;
}
inline
const
Point
*
GetCrsrPos
()
const
{
return
aCrsrPos
.
X
()
||
aCrsrPos
.
Y
()
?
&
aCrsrPos
:
0
;
}
inline
sal_Bool
IsCheck
()
const
{
return
bCheck
;
}
inline
void
SetCheck
(
const
sal_Bool
bNew
)
{
bCheck
=
bNew
;
}
inline
void
SetNoLang
(
const
sal_Bool
bNew
)
{
bNoLang
=
bNew
;
}
inline
void
SetHyphWord
(
const
::
css
::
uno
::
Reference
<
::
css
::
linguistic2
::
XHyphenatedWord
>
&
rxHW
)
{
xHyphWord
=
rxHW
;
}
inline
::
css
::
uno
::
Reference
<
::
css
::
linguistic2
::
XHyphenatedWord
>
GetHyphWord
()
{
return
xHyphWord
;
}
SwInterHyphInfo
(
const
Point
&
rCrsrPos
,
sal_Int32
nStartPos
=
0
,
sal_Int32
nLength
=
SAL_MAX_INT32
)
:
aCrsrPos
(
rCrsrPos
)
,
bNoLang
(
false
)
,
bCheck
(
false
)
,
nStart
(
nStartPos
)
,
nEnd
(
nLength
==
SAL_MAX_INT32
?
SAL_MAX_INT32
:
nStartPos
+
nLength
)
,
nWordStart
(
0
),
nWordLen
(
0
)
,
nHyphPos
(
0
),
nMinTrail
(
0
)
{
}
sal_Int32
GetEnd
()
const
{
return
nEnd
;
}
const
Point
*
GetCrsrPos
()
const
{
return
aCrsrPos
.
X
()
||
aCrsrPos
.
Y
()
?
&
aCrsrPos
:
0
;
}
bool
IsCheck
()
const
{
return
bCheck
;
}
void
SetCheck
(
const
bool
bNew
)
{
bCheck
=
bNew
;
}
void
SetNoLang
(
const
bool
bNew
)
{
bNoLang
=
bNew
;
}
void
SetHyphWord
(
const
::
css
::
uno
::
Reference
<
::
css
::
linguistic2
::
XHyphenatedWord
>
&
rxHW
)
{
xHyphWord
=
rxHW
;
}
::
css
::
uno
::
Reference
<
::
css
::
linguistic2
::
XHyphenatedWord
>
GetHyphWord
()
{
return
xHyphWord
;
}
};
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
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