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
0b2c8a8b
Kaydet (Commit)
0b2c8a8b
authored
May 09, 2014
tarafından
Eike Rathke
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
added ResStringArray::AddItem()
Change-Id: I361cd4256c0816a46ea6e37dd9fd2680d3dba9fb
üst
de8f5f2a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
resary.hxx
include/tools/resary.hxx
+2
-0
resary.cxx
tools/source/rc/resary.cxx
+6
-0
No files found.
include/tools/resary.hxx
Dosyayı görüntüle @
0b2c8a8b
...
...
@@ -53,6 +53,8 @@ public:
sal_uInt32
Count
()
const
{
return
sal_uInt32
(
m_aStrings
.
size
());
}
sal_uInt32
FindIndex
(
sal_IntPtr
nValue
)
const
;
sal_uInt32
AddItem
(
const
OUString
&
rString
,
sal_IntPtr
nValue
);
};
#endif
...
...
tools/source/rc/resary.cxx
Dosyayı görüntüle @
0b2c8a8b
...
...
@@ -60,4 +60,10 @@ sal_uInt32 ResStringArray::FindIndex( sal_IntPtr nValue ) const
return
RESARRAY_INDEX_NOTFOUND
;
}
sal_uInt32
ResStringArray
::
AddItem
(
const
OUString
&
rString
,
sal_IntPtr
nValue
)
{
m_aStrings
.
push_back
(
ImplResStringItem
(
rString
,
nValue
));
return
m_aStrings
.
size
();
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
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