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