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
fb4bf693
Kaydet (Commit)
fb4bf693
authored
Şub 16, 2017
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
remove unused KeywordsOnly from IdentifierTranslationMode
Change-Id: I7262e618a14fa9e025d269b560da752e3200309d
üst
1920061b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
5 deletions
+3
-5
commoncpp.cxx
codemaker/source/commoncpp/commoncpp.cxx
+2
-3
commoncpp.hxx
include/codemaker/commoncpp.hxx
+1
-2
No files found.
codemaker/source/commoncpp/commoncpp.cxx
Dosyayı görüntüle @
fb4bf693
...
@@ -169,8 +169,7 @@ OString translateUnoToCppIdentifier(
...
@@ -169,8 +169,7 @@ OString translateUnoToCppIdentifier(
||
unoIdentifier
==
"xor"
||
unoIdentifier
==
"xor"
/* unoIdentifier == "xor_eq" */
/* unoIdentifier == "xor_eq" */
// Standard macros:
// Standard macros:
||
(
transmode
!=
IdentifierTranslationMode
::
KeywordsOnly
||
(
unoIdentifier
==
"BUFSIZ"
&&
(
unoIdentifier
==
"BUFSIZ"
||
unoIdentifier
==
"CLOCKS_PER_SEC"
||
unoIdentifier
==
"CLOCKS_PER_SEC"
||
unoIdentifier
==
"EDOM"
||
unoIdentifier
==
"EDOM"
||
unoIdentifier
==
"EOF"
||
unoIdentifier
==
"EOF"
...
@@ -264,7 +263,7 @@ OString translateUnoToCppIdentifier(
...
@@ -264,7 +263,7 @@ OString translateUnoToCppIdentifier(
||
unoIdentifier
==
"UCHAR_MAX"
||
unoIdentifier
==
"UCHAR_MAX"
||
unoIdentifier
==
"UINT_MAX"
||
unoIdentifier
==
"UINT_MAX"
||
unoIdentifier
==
"ULONG_MAX"
||
unoIdentifier
==
"ULONG_MAX"
||
unoIdentifier
==
"USHRT_MAX"
)
)
||
unoIdentifier
==
"USHRT_MAX"
)
||
(
transmode
==
IdentifierTranslationMode
::
Global
||
(
transmode
==
IdentifierTranslationMode
::
Global
&&
(
// Standard types:
&&
(
// Standard types:
/* unoIdentifier == "clock_t" */
/* unoIdentifier == "clock_t" */
...
...
include/codemaker/commoncpp.hxx
Dosyayı görüntüle @
fb4bf693
...
@@ -47,8 +47,7 @@ rtl::OString translateUnoToCppType(
...
@@ -47,8 +47,7 @@ rtl::OString translateUnoToCppType(
enum
class
IdentifierTranslationMode
{
enum
class
IdentifierTranslationMode
{
Global
,
Global
,
NonGlobal
,
NonGlobal
KeywordsOnly
};
};
rtl
::
OString
translateUnoToCppIdentifier
(
rtl
::
OString
translateUnoToCppIdentifier
(
...
...
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