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
8e5fd4a1
Kaydet (Commit)
8e5fd4a1
authored
Kas 23, 2013
tarafından
Kohei Yoshida
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
A bit of cleanup.
Change-Id: I576a184ebc8422d760800c670f8d9070f66e9e78
üst
136d57e9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
31 deletions
+13
-31
xmlfilterbase.cxx
oox/source/core/xmlfilterbase.cxx
+13
-31
No files found.
oox/source/core/xmlfilterbase.cxx
Dosyayı görüntüle @
8e5fd4a1
...
...
@@ -58,8 +58,6 @@ using ::com::sun::star::xml::dom::XDocumentBuilder;
namespace
oox
{
namespace
core
{
// ============================================================================
using
namespace
::
com
::
sun
::
star
;
using
namespace
::
com
::
sun
::
star
::
beans
;
using
namespace
::
com
::
sun
::
star
::
container
;
...
...
@@ -74,12 +72,6 @@ using utl::MediaDescriptor;
using
::
sax_fastparser
::
FSHelperPtr
;
using
::
sax_fastparser
::
FastSerializerHelper
;
// ============================================================================
namespace
{
bool
lclHasSuffix
(
const
OUString
&
rFragmentPath
,
const
OUString
&
rSuffix
)
...
...
@@ -88,27 +80,6 @@ bool lclHasSuffix( const OUString& rFragmentPath, const OUString& rSuffix )
return
(
nSuffixPos
>=
0
)
&&
rFragmentPath
.
match
(
rSuffix
,
nSuffixPos
);
}
}
// namespace
// ============================================================================
struct
XmlFilterBaseImpl
{
typedef
RefMap
<
OUString
,
Relations
>
RelationsMap
;
FastParser
maFastParser
;
const
OUString
maBinSuffix
;
const
OUString
maVmlSuffix
;
RelationsMap
maRelationsMap
;
TextFieldStack
maTextFieldStack
;
explicit
XmlFilterBaseImpl
(
const
Reference
<
XComponentContext
>&
rxContext
)
throw
(
RuntimeException
);
};
// ----------------------------------------------------------------------------
namespace
{
struct
NamespaceIds
:
public
rtl
::
StaticWithInit
<
Sequence
<
beans
::
Pair
<
OUString
,
sal_Int32
>
>
,
NamespaceIds
>
...
...
@@ -172,9 +143,20 @@ struct NamespaceIds: public rtl::StaticWithInit<
}
};
}
}
// namespace
// ----------------------------------------------------------------------------
struct
XmlFilterBaseImpl
{
typedef
RefMap
<
OUString
,
Relations
>
RelationsMap
;
FastParser
maFastParser
;
const
OUString
maBinSuffix
;
const
OUString
maVmlSuffix
;
RelationsMap
maRelationsMap
;
TextFieldStack
maTextFieldStack
;
explicit
XmlFilterBaseImpl
(
const
Reference
<
XComponentContext
>&
rxContext
)
throw
(
RuntimeException
);
};
XmlFilterBaseImpl
::
XmlFilterBaseImpl
(
const
Reference
<
XComponentContext
>&
rxContext
)
throw
(
RuntimeException
)
:
maFastParser
(
rxContext
),
...
...
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