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
e81f36f6
Kaydet (Commit)
e81f36f6
authored
Kas 26, 2011
tarafından
August Sodora
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
C-style cast -> C++-style cast
üst
a97dc8f4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
lngmisc.hxx
svl/inc/svl/lngmisc.hxx
+4
-5
No files found.
svl/inc/svl/lngmisc.hxx
Dosyayı görüntüle @
e81f36f6
...
@@ -35,11 +35,11 @@ class String;
...
@@ -35,11 +35,11 @@ class String;
///////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////
#define SVT_SOFT_HYPHEN (
(sal_Unicode) 0x00AD
)
#define SVT_SOFT_HYPHEN (
static_cast<sal_Unicode>(0x00AD)
)
#define SVT_HARD_HYPHEN (
(sal_Unicode) 0x2011
)
#define SVT_HARD_HYPHEN (
static_cast<sal_Unicode>(0x2011)
)
// the non-breaking space
// the non-breaking space
#define SVT_HARD_SPACE (
(sal_Unicode) 0x00A0
)
#define SVT_HARD_SPACE (
static_cast<sal_Unicode>(0x00A0)
)
namespace
linguistic
namespace
linguistic
{
{
...
@@ -52,10 +52,9 @@ inline sal_Bool IsHyphen( sal_Unicode cChar )
...
@@ -52,10 +52,9 @@ inline sal_Bool IsHyphen( sal_Unicode cChar )
inline
sal_Bool
IsControlChar
(
sal_Unicode
cChar
)
inline
sal_Bool
IsControlChar
(
sal_Unicode
cChar
)
{
{
return
cChar
<
(
sal_Unicode
)
' '
;
return
cChar
<
static_cast
<
sal_Unicode
>
(
' '
)
;
}
}
inline
sal_Bool
HasHyphens
(
const
rtl
::
OUString
&
rTxt
)
inline
sal_Bool
HasHyphens
(
const
rtl
::
OUString
&
rTxt
)
{
{
return
rTxt
.
indexOf
(
SVT_SOFT_HYPHEN
)
!=
-
1
||
return
rTxt
.
indexOf
(
SVT_SOFT_HYPHEN
)
!=
-
1
||
...
...
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