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
ce959ab7
Kaydet (Commit)
ce959ab7
authored
Haz 10, 2013
tarafından
Fridrich Štrba
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
mingw64: use the right integer sizes on win64
Change-Id: Idb263ad369d2dad4fe4de924f2b2404a0fcf62d3
üst
43135665
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
resary.hxx
include/tools/resary.hxx
+4
-4
resary.cxx
tools/source/rc/resary.cxx
+1
-1
No files found.
include/tools/resary.hxx
Dosyayı görüntüle @
ce959ab7
...
...
@@ -33,7 +33,7 @@ private:
struct
ImplResStringItem
{
OUString
m_aStr
;
long
m_nValue
;
sal_IntPtr
m_nValue
;
ImplResStringItem
(
const
OUString
&
rStr
,
long
nValue
=
0
)
:
m_aStr
(
rStr
),
...
...
@@ -47,13 +47,13 @@ public:
ResStringArray
(
const
ResId
&
rResId
);
~
ResStringArray
();
const
OUString
GetString
(
sal_uInt32
nIndex
)
const
const
OUString
GetString
(
sal_uInt32
nIndex
)
const
{
return
(
nIndex
<
m_aStrings
.
size
())
?
m_aStrings
[
nIndex
].
m_aStr
:
OUString
();
}
long
GetValue
(
sal_uInt32
nIndex
)
const
sal_IntPtr
GetValue
(
sal_uInt32
nIndex
)
const
{
return
(
nIndex
<
m_aStrings
.
size
())
?
m_aStrings
[
nIndex
].
m_nValue
:
-
1
;
}
sal_uInt32
Count
()
const
{
return
sal_uInt32
(
m_aStrings
.
size
());
}
sal_uInt32
FindIndex
(
long
nValue
)
const
;
sal_uInt32
FindIndex
(
sal_IntPtr
nValue
)
const
;
};
#endif
...
...
tools/source/rc/resary.cxx
Dosyayı görüntüle @
ce959ab7
...
...
@@ -49,7 +49,7 @@ ResStringArray::~ResStringArray()
{
}
sal_uInt32
ResStringArray
::
FindIndex
(
long
nValue
)
const
sal_uInt32
ResStringArray
::
FindIndex
(
sal_IntPtr
nValue
)
const
{
const
sal_uInt32
nItems
=
m_aStrings
.
size
();
for
(
sal_uInt32
i
=
0
;
i
<
nItems
;
i
++
)
...
...
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