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
22faf843
Kaydet (Commit)
22faf843
authored
Tem 13, 2012
tarafından
Noel Grandin
Kaydeden (comit)
Michael Stahl
Tem 17, 2012
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Convert SV_DECL_PTRARR_SORT(SwpFmts) to std::set
Change-Id: Ia5bbf4960cae0b2e4a975ded067d46a85a0b3ab9
üst
c09d284e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
8 deletions
+7
-8
findattr.cxx
sw/source/core/crsr/findattr.cxx
+7
-8
No files found.
sw/source/core/crsr/findattr.cxx
Dosyayı görüntüle @
22faf843
...
@@ -55,8 +55,7 @@ using namespace ::com::sun::star;
...
@@ -55,8 +55,7 @@ using namespace ::com::sun::star;
using
namespace
::
com
::
sun
::
star
::
lang
;
using
namespace
::
com
::
sun
::
star
::
lang
;
using
namespace
::
com
::
sun
::
star
::
util
;
using
namespace
::
com
::
sun
::
star
::
util
;
SV_DECL_PTRARR_SORT
(
SwpFmts
,
SwFmt
*
,
0
)
typedef
std
::
set
<
SwFmt
*>
SwpFmts
;
SV_IMPL_PTRARR_SORT
(
SwpFmts
,
SwFmt
*
)
// Sonderbehandlung fuer SvxFontItem, nur den Namen vergleichen:
// Sonderbehandlung fuer SvxFontItem, nur den Namen vergleichen:
int
CmpAttr
(
const
SfxPoolItem
&
rItem1
,
const
SfxPoolItem
&
rItem2
)
int
CmpAttr
(
const
SfxPoolItem
&
rItem1
,
const
SfxPoolItem
&
rItem2
)
...
@@ -920,10 +919,10 @@ sal_Bool SwPaM::Find( const SfxPoolItem& rAttr, sal_Bool bValue, SwMoveFn fnMove
...
@@ -920,10 +919,10 @@ sal_Bool SwPaM::Find( const SfxPoolItem& rAttr, sal_Bool bValue, SwMoveFn fnMove
// no hard attribution, so check if node was asked for this attr before
// no hard attribution, so check if node was asked for this attr before
if
(
!
pNode
->
HasSwAttrSet
()
)
if
(
!
pNode
->
HasSwAttrSet
()
)
{
{
const
SwFmt
*
pTmpFmt
=
pNode
->
GetFmtColl
();
SwFmt
*
pTmpFmt
=
pNode
->
GetFmtColl
();
if
(
aFmtArr
.
Count
()
&&
aFmtArr
.
Seek_Entry
(
pTmpFmt
)
)
if
(
aFmtArr
.
find
(
pTmpFmt
)
!=
aFmtArr
.
end
()
)
continue
;
// collection was requested earlier
continue
;
// collection was requested earlier
aFmtArr
.
I
nsert
(
pTmpFmt
);
aFmtArr
.
i
nsert
(
pTmpFmt
);
}
}
if
(
SFX_ITEM_SET
==
pNode
->
GetSwAttrSet
().
GetItemState
(
nWhich
,
if
(
SFX_ITEM_SET
==
pNode
->
GetSwAttrSet
().
GetItemState
(
nWhich
,
...
@@ -1016,10 +1015,10 @@ sal_Bool SwPaM::Find( const SfxItemSet& rSet, sal_Bool bNoColls, SwMoveFn fnMove
...
@@ -1016,10 +1015,10 @@ sal_Bool SwPaM::Find( const SfxItemSet& rSet, sal_Bool bNoColls, SwMoveFn fnMove
// no hard attribution, so check if node was asked for this attr before
// no hard attribution, so check if node was asked for this attr before
if
(
!
pNode
->
HasSwAttrSet
()
)
if
(
!
pNode
->
HasSwAttrSet
()
)
{
{
const
SwFmt
*
pTmpFmt
=
pNode
->
GetFmtColl
();
SwFmt
*
pTmpFmt
=
pNode
->
GetFmtColl
();
if
(
aFmtArr
.
Count
()
&&
aFmtArr
.
Seek_Entry
(
pTmpFmt
)
)
if
(
aFmtArr
.
find
(
pTmpFmt
)
!=
aFmtArr
.
end
()
)
continue
;
// collection was requested earlier
continue
;
// collection was requested earlier
aFmtArr
.
I
nsert
(
pTmpFmt
);
aFmtArr
.
i
nsert
(
pTmpFmt
);
}
}
if
(
lcl_Search
(
*
pNode
,
aOtherSet
,
bNoColls
))
if
(
lcl_Search
(
*
pNode
,
aOtherSet
,
bNoColls
))
...
...
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