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
031d314e
Kaydet (Commit)
031d314e
authored
Nis 07, 2016
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Just use the hash<sal_Int16> default
Change-Id: Ice2c0cbf382997c2d07cc8cd4a7b085a153fffef
üst
4be81de0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
11 deletions
+1
-11
stdtypes.h
framework/inc/stdtypes.h
+0
-8
keymapping.hxx
framework/source/inc/accelerators/keymapping.hxx
+1
-3
No files found.
framework/inc/stdtypes.h
Dosyayı görüntüle @
031d314e
...
...
@@ -38,14 +38,6 @@ namespace framework{
Own hash functions used for stl-structures ... e.g. hash tables/maps ...
*/
struct
ShortHashCode
{
size_t
operator
()(
const
::
sal_Int16
&
nShort
)
const
{
return
(
size_t
)
nShort
;
}
};
struct
Int32HashCode
{
size_t
operator
()(
const
::
sal_Int32
&
nValue
)
const
...
...
framework/source/inc/accelerators/keymapping.hxx
Dosyayı görüntüle @
031d314e
...
...
@@ -55,9 +55,7 @@ class KeyMapping
typedef
std
::
unordered_map
<
OUString
,
sal_Int16
,
OUStringHash
>
Identifier2CodeHash
;
/** @short hash structure to map key codes to identifier. */
typedef
std
::
unordered_map
<
sal_Int16
,
OUString
,
ShortHashCode
>
Code2IdentifierHash
;
typedef
std
::
unordered_map
<
sal_Int16
,
OUString
>
Code2IdentifierHash
;
// member
...
...
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