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
532dee5f
Kaydet (Commit)
532dee5f
authored
Nis 01, 2013
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Add comment about the ugly hardcoded resource ids
Change-Id: I54d04f97fe720d6a262a86b63126f328a7812018
üst
a9f03c1a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
3 deletions
+15
-3
workwin.cxx
sfx2/source/appl/workwin.cxx
+15
-3
No files found.
sfx2/source/appl/workwin.cxx
Dosyayı görüntüle @
532dee5f
...
@@ -65,9 +65,21 @@ struct ResIdToResName
...
@@ -65,9 +65,21 @@ struct ResIdToResName
static
const
ResIdToResName
pToolBarResToName
[]
=
static
const
ResIdToResName
pToolBarResToName
[]
=
{
{
{
558
,
"fullscreenbar"
},
// OMG! hardcoded numbers that have nice (?) symbolic names
{
560
,
"standardbar"
,
},
// elsewhere.
{
18001
,
"formsnavigationbar"
},
{
558
,
"fullscreenbar"
},
// This 558 for instance equals RID_FULLSCREENTOOLBOX (in
// value, and presumably also in semantics) from app.hrc in
// this very same directory, so why RID_FULLSCREENTOOLBOX
// can't be used I have no idea.
{
560
,
"standardbar"
,
},
// 560 is called RID_ENVTOOLBOX in app.hrc, still the same?
{
18001
,
"formsnavigationbar"
},
// Probably the rest are defined in .hrc files that are higher
// up in the dependency chain and/or later in the build order,
// and that is the (bad) reason why their symbolic names are
// not available? Would it really be so owful to move the .hrc
// files in question out from the modules where they now are?
{
18002
,
"formsfilterbar"
},
{
18002
,
"formsfilterbar"
},
{
18003
,
"formtextobjectbar"
},
{
18003
,
"formtextobjectbar"
},
{
18004
,
"formcontrols"
},
{
18004
,
"formcontrols"
},
...
...
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