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
6de84aea
Kaydet (Commit)
6de84aea
authored
Tem 23, 2014
tarafından
Matteo Casalin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Defer OUString computation and make some OUString const
Change-Id: I9aea8b4d33bc475c477318736cfba7c0bbce0bde
üst
673c8f2e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
gloshdl.cxx
sw/source/uibase/dochdl/gloshdl.cxx
+4
-4
No files found.
sw/source/uibase/dochdl/gloshdl.cxx
Dosyayı görüntüle @
6de84aea
...
...
@@ -412,18 +412,18 @@ bool SwGlossaryHdl::Expand( const OUString& rShortName,
const
size_t
nGroupCount
=
pGlossaryList
->
GetGroupCount
();
for
(
size_t
i
=
0
;
i
<
nGroupCount
;
++
i
)
{
OUString
sTitle
=
pGlossaryList
->
GetGroupTitle
(
i
);
// get group name with path-extension
OUString
sGroupName
=
pGlossaryList
->
GetGroupName
(
i
,
false
);
const
OUString
sGroupName
=
pGlossaryList
->
GetGroupName
(
i
,
false
);
if
(
sGroupName
==
pGlossary
->
GetName
())
continue
;
const
sal_uInt16
nBlockCount
=
pGlossaryList
->
GetBlockCount
(
i
);
if
(
nBlockCount
)
{
const
OUString
sTitle
=
pGlossaryList
->
GetGroupTitle
(
i
);
for
(
sal_uInt16
j
=
0
;
j
<
nBlockCount
;
j
++
)
{
OUString
sLongName
(
pGlossaryList
->
GetBlockLongName
(
i
,
j
));
OUString
sShortName
(
pGlossaryList
->
GetBlockShortName
(
i
,
j
));
const
OUString
sLongName
(
pGlossaryList
->
GetBlockLongName
(
i
,
j
));
const
OUString
sShortName
(
pGlossaryList
->
GetBlockShortName
(
i
,
j
));
if
(
rSCmp
.
isEqual
(
rShortName
,
sShortName
))
{
TextBlockInfo_Impl
*
pData
=
new
TextBlockInfo_Impl
;
...
...
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