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
d2991722
Kaydet (Commit)
d2991722
authored
Ock 11, 2011
tarafından
Kohei Yoshida
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Added static toString method to ResId class.
üst
5c40918d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
resid.hxx
tools/inc/tools/resid.hxx
+6
-0
strucvt.cxx
tools/source/string/strucvt.cxx
+6
-0
No files found.
tools/inc/tools/resid.hxx
Dosyayı görüntüle @
d2991722
...
...
@@ -43,6 +43,10 @@ class ResMgr;
//- ResId -
//---------
namespace
rtl
{
class
OUString
;
}
class
ResId
{
/*
...
...
@@ -158,6 +162,8 @@ class ResId
sal_uInt32
GetId
()
const
{
return
m_nResId
&
~
RSC_DONTRELEASE
;
}
RSHEADER_TYPE
*
GetpResource
()
const
{
return
m_pResource
;
}
static
TOOLS_DLLPUBLIC
rtl
::
OUString
toString
(
const
ResId
&
aId
);
};
#endif // _RESID_HXX
...
...
tools/source/string/strucvt.cxx
Dosyayı görüntüle @
d2991722
...
...
@@ -212,4 +212,10 @@ UniString::UniString( const ResId& rResId )
pImplResHookProc
(
*
this
);
}
rtl
::
OUString
ResId
::
toString
(
const
ResId
&
aId
)
{
// TODO: Optimize this.
return
rtl
::
OUString
(
UniString
(
aId
));
}
/* 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