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
f36861d4
Kaydet (Commit)
f36861d4
authored
Nis 14, 2012
tarafından
Noel Grandin
Kaydeden (comit)
Michael Stahl
Nis 18, 2012
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Convert SV_DECL_PTRARR_SORT_DEL to boost::ptr_set
üst
b06d5cc4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
xmltkmap.cxx
xmloff/source/core/xmltkmap.cxx
+6
-7
No files found.
xmloff/source/core/xmltkmap.cxx
Dosyayı görüntüle @
f36861d4
...
@@ -30,6 +30,7 @@
...
@@ -30,6 +30,7 @@
#include <svl/svarray.hxx>
#include <svl/svarray.hxx>
#include <xmloff/xmltkmap.hxx>
#include <xmloff/xmltkmap.hxx>
#include <xmloff/xmltoken.hxx>
#include <xmloff/xmltoken.hxx>
#include <boost/ptr_container/ptr_set.hpp>
using
namespace
::
xmloff
::
token
;
using
namespace
::
xmloff
::
token
;
...
@@ -72,9 +73,7 @@ public:
...
@@ -72,9 +73,7 @@ public:
}
}
};
};
typedef
SvXMLTokenMapEntry_Impl
*
SvXMLTokenMapEntry_ImplPtr
;
class
SvXMLTokenMap_Impl
:
public
boost
::
ptr_set
<
SvXMLTokenMapEntry_Impl
>
{};
SV_DECL_PTRARR_SORT_DEL
(
SvXMLTokenMap_Impl
,
SvXMLTokenMapEntry_ImplPtr
,
5
)
SV_IMPL_OP_PTRARR_SORT
(
SvXMLTokenMap_Impl
,
SvXMLTokenMapEntry_ImplPtr
)
// ---------------------------------------------------------------------
// ---------------------------------------------------------------------
...
@@ -84,10 +83,10 @@ SvXMLTokenMapEntry_Impl *SvXMLTokenMap::_Find( sal_uInt16 nKeyPrefix,
...
@@ -84,10 +83,10 @@ SvXMLTokenMapEntry_Impl *SvXMLTokenMap::_Find( sal_uInt16 nKeyPrefix,
SvXMLTokenMapEntry_Impl
*
pRet
=
0
;
SvXMLTokenMapEntry_Impl
*
pRet
=
0
;
SvXMLTokenMapEntry_Impl
aTst
(
nKeyPrefix
,
rLName
);
SvXMLTokenMapEntry_Impl
aTst
(
nKeyPrefix
,
rLName
);
sal_uInt16
nPos
;
SvXMLTokenMap_Impl
::
iterator
it
=
pImpl
->
find
(
aTst
)
;
if
(
pImpl
->
Seek_Entry
(
&
aTst
,
&
nPos
)
)
if
(
it
!=
pImpl
->
end
(
)
)
{
{
pRet
=
(
*
pImpl
)[
nPos
]
;
pRet
=
&*
it
;
}
}
return
pRet
;
return
pRet
;
...
@@ -98,7 +97,7 @@ SvXMLTokenMap::SvXMLTokenMap( const SvXMLTokenMapEntry *pMap ) :
...
@@ -98,7 +97,7 @@ SvXMLTokenMap::SvXMLTokenMap( const SvXMLTokenMapEntry *pMap ) :
{
{
while
(
pMap
->
eLocalName
!=
XML_TOKEN_INVALID
)
while
(
pMap
->
eLocalName
!=
XML_TOKEN_INVALID
)
{
{
pImpl
->
I
nsert
(
new
SvXMLTokenMapEntry_Impl
(
*
pMap
)
);
pImpl
->
i
nsert
(
new
SvXMLTokenMapEntry_Impl
(
*
pMap
)
);
pMap
++
;
pMap
++
;
}
}
}
}
...
...
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