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
ef60854f
Kaydet (Commit)
ef60854f
authored
Agu 16, 2013
tarafından
Kohei Yoshida
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Tuck this typedef inside class scope where it's used.
Change-Id: I2b3a0479f9aeecd601b3fea4a262f614ec437945
üst
7c02faf5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
17 deletions
+14
-17
impastp4.cxx
xmloff/source/style/impastp4.cxx
+10
-12
impastpl.hxx
xmloff/source/style/impastpl.hxx
+4
-5
No files found.
xmloff/source/style/impastp4.cxx
Dosyayı görüntüle @
ef60854f
...
...
@@ -68,7 +68,7 @@ void SvXMLAutoStylePoolP_Impl::AddFamily(
#if OSL_DEBUG_LEVEL > 0
XMLFamilyData_Impl
aTemporary
(
nFamily
);
XMLFamilyDataList_Impl
::
iterator
aFind
=
maFamilyList
.
find
(
aTemporary
);
FamilyListType
::
iterator
aFind
=
maFamilyList
.
find
(
aTemporary
);
if
(
aFind
!=
maFamilyList
.
end
()
)
{
// FIXME: do we really intend to replace the previous nFamily
...
...
@@ -91,7 +91,7 @@ void SvXMLAutoStylePoolP_Impl::SetFamilyPropSetMapper(
{
XMLFamilyData_Impl
aTemporary
(
nFamily
);
XMLFamilyDataList_Impl
::
iterator
aFind
=
maFamilyList
.
find
(
aTemporary
);
FamilyListType
::
iterator
aFind
=
maFamilyList
.
find
(
aTemporary
);
if
(
aFind
!=
maFamilyList
.
end
())
aFind
->
mxMapper
=
rMapper
;
}
...
...
@@ -100,7 +100,7 @@ void SvXMLAutoStylePoolP_Impl::SetFamilyPropSetMapper(
void
SvXMLAutoStylePoolP_Impl
::
RegisterName
(
sal_Int32
nFamily
,
const
OUString
&
rName
)
{
XMLFamilyData_Impl
aTmp
(
nFamily
);
XMLFamilyDataList_Impl
::
iterator
aFind
=
maFamilyList
.
find
(
aTmp
);
FamilyListType
::
iterator
aFind
=
maFamilyList
.
find
(
aTmp
);
DBG_ASSERT
(
aFind
!=
maFamilyList
.
end
(),
"SvXMLAutoStylePool_Impl::RegisterName: unknown family"
);
if
(
aFind
!=
maFamilyList
.
end
())
...
...
@@ -120,7 +120,7 @@ void SvXMLAutoStylePoolP_Impl::GetRegisteredNames(
vector
<
OUString
>
aNames
;
// iterate over families
for
(
XMLFamilyDataList_Impl
::
iterator
aJ
=
maFamilyList
.
begin
();
aJ
!=
maFamilyList
.
end
();
++
aJ
)
for
(
FamilyListType
::
iterator
aJ
=
maFamilyList
.
begin
();
aJ
!=
maFamilyList
.
end
();
++
aJ
)
{
XMLFamilyData_Impl
&
rFamily
=
*
aJ
;
...
...
@@ -157,7 +157,7 @@ sal_Bool SvXMLAutoStylePoolP_Impl::Add(OUString& rName, sal_Int32 nFamily,
sal_Bool
bRet
(
sal_False
);
XMLFamilyData_Impl
aTemporary
(
nFamily
);
XMLFamilyDataList_Impl
::
iterator
aFind
=
maFamilyList
.
find
(
aTemporary
);
FamilyListType
::
iterator
aFind
=
maFamilyList
.
find
(
aTemporary
);
DBG_ASSERT
(
aFind
!=
maFamilyList
.
end
(),
"SvXMLAutoStylePool_Impl::Add: unknown family"
);
if
(
aFind
!=
maFamilyList
.
end
())
...
...
@@ -205,7 +205,7 @@ sal_Bool SvXMLAutoStylePoolP_Impl::AddNamed(const OUString& rName, sal_Int32 nFa
sal_Bool
bRet
(
sal_False
);
XMLFamilyData_Impl
aTemporary
(
nFamily
);
XMLFamilyDataList_Impl
::
iterator
aFind
=
maFamilyList
.
find
(
aTemporary
);
FamilyListType
::
iterator
aFind
=
maFamilyList
.
find
(
aTemporary
);
DBG_ASSERT
(
aFind
!=
maFamilyList
.
end
(),
"SvXMLAutoStylePool_Impl::Add: unknown family"
);
if
(
aFind
!=
maFamilyList
.
end
())
...
...
@@ -249,10 +249,8 @@ OUString SvXMLAutoStylePoolP_Impl::Find( sal_Int32 nFamily,
OUString
sName
;
XMLFamilyData_Impl
aTemporary
(
nFamily
);
XMLFamilyDataList_Impl
::
const_iterator
const
iter
=
maFamilyList
.
find
(
aTemporary
);
OSL_ENSURE
(
iter
!=
maFamilyList
.
end
(),
"SvXMLAutoStylePool_Impl::Find: unknown family"
);
FamilyListType
::
const_iterator
const
iter
=
maFamilyList
.
find
(
aTemporary
);
OSL_ENSURE
(
iter
!=
maFamilyList
.
end
(),
"SvXMLAutoStylePool_Impl::Find: unknown family"
);
if
(
iter
!=
maFamilyList
.
end
())
{
...
...
@@ -285,7 +283,7 @@ void SvXMLAutoStylePoolP_Impl::exportXML(
{
// Get list of parents for current family (nFamily)
XMLFamilyData_Impl
aTmp
(
nFamily
);
XMLFamilyDataList_Impl
::
const_iterator
aFind
=
maFamilyList
.
find
(
aTmp
);
FamilyListType
::
const_iterator
aFind
=
maFamilyList
.
find
(
aTmp
);
DBG_ASSERT
(
aFind
!=
maFamilyList
.
end
(),
"SvXMLAutoStylePool_Impl::exportXML: unknown family"
);
if
(
aFind
==
maFamilyList
.
end
())
...
...
@@ -424,7 +422,7 @@ void SvXMLAutoStylePoolP_Impl::exportXML(
void
SvXMLAutoStylePoolP_Impl
::
ClearEntries
()
{
for
(
XMLFamilyDataList_Impl
::
iterator
aI
=
maFamilyList
.
begin
();
aI
!=
maFamilyList
.
end
();
++
aI
)
for
(
FamilyListType
::
iterator
aI
=
maFamilyList
.
begin
();
aI
!=
maFamilyList
.
end
();
++
aI
)
aI
->
ClearEntries
();
}
...
...
xmloff/source/style/impastpl.hxx
Dosyayı görüntüle @
ef60854f
...
...
@@ -79,9 +79,6 @@ public:
void
ClearEntries
();
};
// A set that finds and sorts based only on mnFamily
typedef
boost
::
ptr_set
<
XMLFamilyData_Impl
>
XMLFamilyDataList_Impl
;
// Properties of a pool
class
SvXMLAutoStylePoolPropertiesP_Impl
...
...
@@ -154,9 +151,11 @@ public:
class
SvXMLAutoStylePoolP_Impl
{
SvXMLExport
&
rExport
;
// A set that finds and sorts based only on mnFamily
typedef
boost
::
ptr_set
<
XMLFamilyData_Impl
>
FamilyListType
;
XMLFamilyDataList_Impl
maFamilyList
;
SvXMLExport
&
rExport
;
FamilyListType
maFamilyList
;
public
:
...
...
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