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
16735020
Kaydet (Commit)
16735020
authored
Agu 18, 2013
tarafından
Kohei Yoshida
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
No need for elaborate type name for this.
Change-Id: Ia29a5956813c5d71f042f774d00de3bc82b7f1aa
üst
ed8c8a71
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
20 deletions
+9
-20
impastp1.cxx
xmloff/source/style/impastp1.cxx
+3
-11
impastp2.cxx
xmloff/source/style/impastp2.cxx
+1
-1
impastp3.cxx
xmloff/source/style/impastp3.cxx
+1
-1
impastp4.cxx
xmloff/source/style/impastp4.cxx
+2
-5
impastpl.hxx
xmloff/source/style/impastpl.hxx
+2
-2
No files found.
xmloff/source/style/impastp1.cxx
Dosyayı görüntüle @
16735020
...
@@ -31,20 +31,12 @@ XMLAutoStyleFamily::XMLAutoStyleFamily(
...
@@ -31,20 +31,12 @@ XMLAutoStyleFamily::XMLAutoStyleFamily(
bool
bAsFamily
)
:
bool
bAsFamily
)
:
mnFamily
(
nFamily
),
maStrFamilyName
(
rStrName
),
mxMapper
(
rMapper
),
mnFamily
(
nFamily
),
maStrFamilyName
(
rStrName
),
mxMapper
(
rMapper
),
mnCount
(
0
),
mnName
(
0
),
maStrPrefix
(
rStrPrefix
),
mbAsFamily
(
bAsFamily
)
mnCount
(
0
),
mnName
(
0
),
maStrPrefix
(
rStrPrefix
),
mbAsFamily
(
bAsFamily
)
{}
{
mpNameList
=
new
SvXMLAutoStylePoolNamesP_Impl
;
}
XMLAutoStyleFamily
::
XMLAutoStyleFamily
(
sal_Int32
nFamily
)
:
XMLAutoStyleFamily
::
XMLAutoStyleFamily
(
sal_Int32
nFamily
)
:
mnFamily
(
nFamily
),
mpNameList
(
NULL
),
mnCount
(
0
),
mnName
(
0
),
mnFamily
(
nFamily
),
mnCount
(
0
),
mnName
(
0
),
mbAsFamily
(
false
)
{}
mbAsFamily
(
false
)
{}
XMLAutoStyleFamily
::~
XMLAutoStyleFamily
()
XMLAutoStyleFamily
::~
XMLAutoStyleFamily
()
{}
{
delete
mpNameList
;
}
void
XMLAutoStyleFamily
::
ClearEntries
()
void
XMLAutoStyleFamily
::
ClearEntries
()
{
{
...
...
xmloff/source/style/impastp2.cxx
Dosyayı görüntüle @
16735020
...
@@ -39,7 +39,7 @@ XMLAutoStylePoolProperties::XMLAutoStylePoolProperties( XMLAutoStyleFamily& rFam
...
@@ -39,7 +39,7 @@ XMLAutoStylePoolProperties::XMLAutoStylePoolProperties( XMLAutoStyleFamily& rFam
sBuffer
.
append
(
OUString
::
valueOf
(
(
sal_Int32
)
rFamilyData
.
mnName
)
);
sBuffer
.
append
(
OUString
::
valueOf
(
(
sal_Int32
)
rFamilyData
.
mnName
)
);
msName
=
sBuffer
.
makeStringAndClear
();
msName
=
sBuffer
.
makeStringAndClear
();
}
}
while
(
rFamilyData
.
mpNameList
->
find
(
msName
)
!=
rFamilyData
.
mpNameList
->
end
()
);
while
(
rFamilyData
.
maNameList
.
find
(
msName
)
!=
rFamilyData
.
maNameList
.
end
()
);
}
}
bool
operator
<
(
const
XMLAutoStyleFamily
&
r1
,
const
XMLAutoStyleFamily
&
r2
)
bool
operator
<
(
const
XMLAutoStyleFamily
&
r1
,
const
XMLAutoStyleFamily
&
r2
)
...
...
xmloff/source/style/impastp3.cxx
Dosyayı görüntüle @
16735020
...
@@ -91,7 +91,7 @@ sal_Bool XMLAutoStylePoolParent::AddNamed( XMLAutoStyleFamily& rFamilyData, cons
...
@@ -91,7 +91,7 @@ sal_Bool XMLAutoStylePoolParent::AddNamed( XMLAutoStyleFamily& rFamilyData, cons
}
}
}
}
if
(
rFamilyData
.
mpNameList
->
find
(
rName
)
==
rFamilyData
.
mpNameList
->
end
())
if
(
rFamilyData
.
maNameList
.
find
(
rName
)
==
rFamilyData
.
maNameList
.
end
())
{
{
XMLAutoStylePoolProperties
*
pProperties
=
XMLAutoStylePoolProperties
*
pProperties
=
new
XMLAutoStylePoolProperties
(
rFamilyData
,
rProperties
);
new
XMLAutoStylePoolProperties
(
rFamilyData
,
rProperties
);
...
...
xmloff/source/style/impastp4.cxx
Dosyayı görüntüle @
16735020
...
@@ -104,7 +104,7 @@ void SvXMLAutoStylePoolP_Impl::RegisterName( sal_Int32 nFamily, const OUString&
...
@@ -104,7 +104,7 @@ void SvXMLAutoStylePoolP_Impl::RegisterName( sal_Int32 nFamily, const OUString&
DBG_ASSERT
(
aFind
!=
maFamilyList
.
end
(),
DBG_ASSERT
(
aFind
!=
maFamilyList
.
end
(),
"SvXMLAutoStylePool_Impl::RegisterName: unknown family"
);
"SvXMLAutoStylePool_Impl::RegisterName: unknown family"
);
if
(
aFind
!=
maFamilyList
.
end
())
if
(
aFind
!=
maFamilyList
.
end
())
aFind
->
m
pNameList
->
insert
(
rName
);
aFind
->
m
aNameList
.
insert
(
rName
);
}
}
//
//
...
@@ -125,10 +125,7 @@ void SvXMLAutoStylePoolP_Impl::GetRegisteredNames(
...
@@ -125,10 +125,7 @@ void SvXMLAutoStylePoolP_Impl::GetRegisteredNames(
XMLAutoStyleFamily
&
rFamily
=
*
aJ
;
XMLAutoStyleFamily
&
rFamily
=
*
aJ
;
// iterate over names
// iterate over names
SvXMLAutoStylePoolNamesP_Impl
*
pNames
=
rFamily
.
mpNameList
;
for
(
XMLAutoStyleFamily
::
NameSetType
::
const_iterator
aI
=
rFamily
.
maNameList
.
begin
();
aI
!=
rFamily
.
maNameList
.
end
();
++
aI
)
if
(
!
pNames
)
continue
;
for
(
SvXMLAutoStylePoolNamesP_Impl
::
const_iterator
aI
=
pNames
->
begin
();
aI
!=
pNames
->
end
();
++
aI
)
{
{
aFamilies
.
push_back
(
rFamily
.
mnFamily
);
aFamilies
.
push_back
(
rFamily
.
mnFamily
);
aNames
.
push_back
(
*
aI
);
aNames
.
push_back
(
*
aI
);
...
...
xmloff/source/style/impastpl.hxx
Dosyayı görüntüle @
16735020
...
@@ -37,7 +37,6 @@
...
@@ -37,7 +37,6 @@
class
SvXMLAutoStylePoolP
;
class
SvXMLAutoStylePoolP
;
class
XMLAutoStylePoolParent
;
class
XMLAutoStylePoolParent
;
typedef
std
::
set
<
OUString
>
SvXMLAutoStylePoolNamesP_Impl
;
class
SvXMLExportPropertyMapper
;
class
SvXMLExportPropertyMapper
;
class
SvXMLExport
;
class
SvXMLExport
;
...
@@ -48,13 +47,14 @@ class SvXMLExport;
...
@@ -48,13 +47,14 @@ class SvXMLExport;
struct
XMLAutoStyleFamily
:
boost
::
noncopyable
struct
XMLAutoStyleFamily
:
boost
::
noncopyable
{
{
typedef
boost
::
ptr_set
<
XMLAutoStylePoolParent
>
ParentsType
;
typedef
boost
::
ptr_set
<
XMLAutoStylePoolParent
>
ParentsType
;
typedef
std
::
set
<
OUString
>
NameSetType
;
sal_uInt32
mnFamily
;
sal_uInt32
mnFamily
;
OUString
maStrFamilyName
;
OUString
maStrFamilyName
;
UniReference
<
SvXMLExportPropertyMapper
>
mxMapper
;
UniReference
<
SvXMLExportPropertyMapper
>
mxMapper
;
ParentsType
maParents
;
ParentsType
maParents
;
SvXMLAutoStylePoolNamesP_Impl
*
mp
NameList
;
NameSetType
ma
NameList
;
sal_uInt32
mnCount
;
sal_uInt32
mnCount
;
sal_uInt32
mnName
;
sal_uInt32
mnName
;
OUString
maStrPrefix
;
OUString
maStrPrefix
;
...
...
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