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
2a8eff58
Kaydet (Commit)
2a8eff58
authored
May 22, 2014
tarafından
Eike Rathke
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
+bool SvtLanguageTable::HasLanguageType()
Change-Id: Id57eb51b69e50be78f85d19a7b3623c1acdf6509
üst
407db844
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
0 deletions
+15
-0
langtab.hxx
include/svtools/langtab.hxx
+1
-0
langtab.cxx
svtools/source/misc/langtab.cxx
+14
-0
No files found.
include/svtools/langtab.hxx
Dosyayı görüntüle @
2a8eff58
...
@@ -29,6 +29,7 @@ class SVT_DLLPUBLIC SvtLanguageTable
...
@@ -29,6 +29,7 @@ class SVT_DLLPUBLIC SvtLanguageTable
{
{
public
:
public
:
static
bool
HasLanguageType
(
const
LanguageType
eType
);
static
OUString
GetLanguageString
(
const
LanguageType
eType
);
static
OUString
GetLanguageString
(
const
LanguageType
eType
);
static
LanguageType
GetLanguageType
(
const
OUString
&
rStr
);
static
LanguageType
GetLanguageType
(
const
OUString
&
rStr
);
static
sal_uInt32
GetLanguageEntryCount
();
static
sal_uInt32
GetLanguageEntryCount
();
...
...
svtools/source/misc/langtab.cxx
Dosyayı görüntüle @
2a8eff58
...
@@ -43,6 +43,7 @@ public:
...
@@ -43,6 +43,7 @@ public:
SvtLanguageTableImpl
();
SvtLanguageTableImpl
();
virtual
~
SvtLanguageTableImpl
();
virtual
~
SvtLanguageTableImpl
();
bool
HasType
(
const
LanguageType
eType
)
const
;
const
OUString
GetString
(
const
LanguageType
eType
,
bool
bUserInterfaceSelection
=
false
)
const
;
const
OUString
GetString
(
const
LanguageType
eType
,
bool
bUserInterfaceSelection
=
false
)
const
;
LanguageType
GetType
(
const
OUString
&
rStr
)
const
;
LanguageType
GetType
(
const
OUString
&
rStr
)
const
;
sal_uInt32
GetEntryCount
()
const
;
sal_uInt32
GetEntryCount
()
const
;
...
@@ -148,6 +149,19 @@ SvtLanguageTableImpl::~SvtLanguageTableImpl()
...
@@ -148,6 +149,19 @@ SvtLanguageTableImpl::~SvtLanguageTableImpl()
}
}
bool
SvtLanguageTableImpl
::
HasType
(
const
LanguageType
eType
)
const
{
LanguageType
eLang
=
MsLangId
::
getReplacementForObsoleteLanguage
(
eType
,
false
);
sal_uInt32
nPos
=
FindIndex
(
eLang
);
return
RESARRAY_INDEX_NOTFOUND
!=
nPos
&&
nPos
<
Count
();
}
bool
SvtLanguageTable
::
HasLanguageType
(
const
LanguageType
eType
)
{
return
theLanguageTable
::
get
().
HasType
(
eType
);
}
const
OUString
SvtLanguageTableImpl
::
GetString
(
const
LanguageType
eType
,
bool
bUserInterfaceSelection
)
const
const
OUString
SvtLanguageTableImpl
::
GetString
(
const
LanguageType
eType
,
bool
bUserInterfaceSelection
)
const
{
{
...
...
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