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
3b4a3297
Kaydet (Commit)
3b4a3297
authored
Eki 27, 2016
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Use OUString ctor instead of rtl_uString_newFromAscii
Change-Id: I84ea23c4de5c631fe7d0104944b0b8f0f13abb26
üst
954699ac
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
32 deletions
+15
-32
typelib.cxx
cppu/source/typelib/typelib.cxx
+15
-32
No files found.
cppu/source/typelib/typelib.cxx
Dosyayı görüntüle @
3b4a3297
...
...
@@ -1874,55 +1874,38 @@ extern "C" void SAL_CALL typelib_typedescription_getByName(
// avoid recursion during the next ...new calls
bInited
=
true
;
rtl_uString
*
pTypeName
=
nullptr
;
typelib_TypeDescription
*
pType
=
nullptr
;
rtl_uString_newFromAscii
(
&
pTypeName
,
"type"
);
typelib_typedescription_new
(
&
pType
,
typelib_TypeClass_TYPE
,
pTypeName
,
nullptr
,
0
,
nullptr
);
typelib_typedescription_new
(
&
pType
,
typelib_TypeClass_TYPE
,
OUString
(
"type"
).
pData
,
nullptr
,
0
,
nullptr
);
typelib_typedescription_register
(
&
pType
);
rtl_uString_newFromAscii
(
&
pTypeName
,
"void"
);
typelib_typedescription_new
(
&
pType
,
typelib_TypeClass_VOID
,
pTypeName
,
nullptr
,
0
,
nullptr
);
typelib_typedescription_new
(
&
pType
,
typelib_TypeClass_VOID
,
OUString
(
"void"
).
pData
,
nullptr
,
0
,
nullptr
);
typelib_typedescription_register
(
&
pType
);
rtl_uString_newFromAscii
(
&
pTypeName
,
"boolean"
);
typelib_typedescription_new
(
&
pType
,
typelib_TypeClass_BOOLEAN
,
pTypeName
,
nullptr
,
0
,
nullptr
);
typelib_typedescription_new
(
&
pType
,
typelib_TypeClass_BOOLEAN
,
OUString
(
"boolean"
).
pData
,
nullptr
,
0
,
nullptr
);
typelib_typedescription_register
(
&
pType
);
rtl_uString_newFromAscii
(
&
pTypeName
,
"char"
);
typelib_typedescription_new
(
&
pType
,
typelib_TypeClass_CHAR
,
pTypeName
,
nullptr
,
0
,
nullptr
);
typelib_typedescription_new
(
&
pType
,
typelib_TypeClass_CHAR
,
OUString
(
"char"
).
pData
,
nullptr
,
0
,
nullptr
);
typelib_typedescription_register
(
&
pType
);
rtl_uString_newFromAscii
(
&
pTypeName
,
"byte"
);
typelib_typedescription_new
(
&
pType
,
typelib_TypeClass_BYTE
,
pTypeName
,
nullptr
,
0
,
nullptr
);
typelib_typedescription_new
(
&
pType
,
typelib_TypeClass_BYTE
,
OUString
(
"byte"
).
pData
,
nullptr
,
0
,
nullptr
);
typelib_typedescription_register
(
&
pType
);
rtl_uString_newFromAscii
(
&
pTypeName
,
"string"
);
typelib_typedescription_new
(
&
pType
,
typelib_TypeClass_STRING
,
pTypeName
,
nullptr
,
0
,
nullptr
);
typelib_typedescription_new
(
&
pType
,
typelib_TypeClass_STRING
,
OUString
(
"string"
).
pData
,
nullptr
,
0
,
nullptr
);
typelib_typedescription_register
(
&
pType
);
rtl_uString_newFromAscii
(
&
pTypeName
,
"short"
);
typelib_typedescription_new
(
&
pType
,
typelib_TypeClass_SHORT
,
pTypeName
,
nullptr
,
0
,
nullptr
);
typelib_typedescription_new
(
&
pType
,
typelib_TypeClass_SHORT
,
OUString
(
"short"
).
pData
,
nullptr
,
0
,
nullptr
);
typelib_typedescription_register
(
&
pType
);
rtl_uString_newFromAscii
(
&
pTypeName
,
"unsigned short"
);
typelib_typedescription_new
(
&
pType
,
typelib_TypeClass_UNSIGNED_SHORT
,
pTypeName
,
nullptr
,
0
,
nullptr
);
typelib_typedescription_new
(
&
pType
,
typelib_TypeClass_UNSIGNED_SHORT
,
OUString
(
"unsigned short"
).
pData
,
nullptr
,
0
,
nullptr
);
typelib_typedescription_register
(
&
pType
);
rtl_uString_newFromAscii
(
&
pTypeName
,
"long"
);
typelib_typedescription_new
(
&
pType
,
typelib_TypeClass_LONG
,
pTypeName
,
nullptr
,
0
,
nullptr
);
typelib_typedescription_new
(
&
pType
,
typelib_TypeClass_LONG
,
OUString
(
"long"
).
pData
,
nullptr
,
0
,
nullptr
);
typelib_typedescription_register
(
&
pType
);
rtl_uString_newFromAscii
(
&
pTypeName
,
"unsigned long"
);
typelib_typedescription_new
(
&
pType
,
typelib_TypeClass_UNSIGNED_LONG
,
pTypeName
,
nullptr
,
0
,
nullptr
);
typelib_typedescription_new
(
&
pType
,
typelib_TypeClass_UNSIGNED_LONG
,
OUString
(
"unsigned long"
).
pData
,
nullptr
,
0
,
nullptr
);
typelib_typedescription_register
(
&
pType
);
rtl_uString_newFromAscii
(
&
pTypeName
,
"hyper"
);
typelib_typedescription_new
(
&
pType
,
typelib_TypeClass_HYPER
,
pTypeName
,
nullptr
,
0
,
nullptr
);
typelib_typedescription_new
(
&
pType
,
typelib_TypeClass_HYPER
,
OUString
(
"hyper"
).
pData
,
nullptr
,
0
,
nullptr
);
typelib_typedescription_register
(
&
pType
);
rtl_uString_newFromAscii
(
&
pTypeName
,
"unsigned hyper"
);
typelib_typedescription_new
(
&
pType
,
typelib_TypeClass_UNSIGNED_HYPER
,
pTypeName
,
nullptr
,
0
,
nullptr
);
typelib_typedescription_new
(
&
pType
,
typelib_TypeClass_UNSIGNED_HYPER
,
OUString
(
"unsigned hyper"
).
pData
,
nullptr
,
0
,
nullptr
);
typelib_typedescription_register
(
&
pType
);
rtl_uString_newFromAscii
(
&
pTypeName
,
"float"
);
typelib_typedescription_new
(
&
pType
,
typelib_TypeClass_FLOAT
,
pTypeName
,
nullptr
,
0
,
nullptr
);
typelib_typedescription_new
(
&
pType
,
typelib_TypeClass_FLOAT
,
OUString
(
"float"
).
pData
,
nullptr
,
0
,
nullptr
);
typelib_typedescription_register
(
&
pType
);
rtl_uString_newFromAscii
(
&
pTypeName
,
"double"
);
typelib_typedescription_new
(
&
pType
,
typelib_TypeClass_DOUBLE
,
pTypeName
,
nullptr
,
0
,
nullptr
);
typelib_typedescription_new
(
&
pType
,
typelib_TypeClass_DOUBLE
,
OUString
(
"double"
).
pData
,
nullptr
,
0
,
nullptr
);
typelib_typedescription_register
(
&
pType
);
rtl_uString_newFromAscii
(
&
pTypeName
,
"any"
);
typelib_typedescription_new
(
&
pType
,
typelib_TypeClass_ANY
,
pTypeName
,
nullptr
,
0
,
nullptr
);
typelib_typedescription_new
(
&
pType
,
typelib_TypeClass_ANY
,
OUString
(
"any"
).
pData
,
nullptr
,
0
,
nullptr
);
typelib_typedescription_register
(
&
pType
);
typelib_typedescription_release
(
pType
);
rtl_uString_release
(
pTypeName
);
}
}
...
...
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