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
ed8c8a71
Kaydet (Commit)
ed8c8a71
authored
Agu 18, 2013
tarafından
Kohei Yoshida
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Move static struct to where it's used, and use std::vector for this.
Change-Id: Id68fa488731d3b34213db23bf4d50f73b04c6fe4
üst
c19b9679
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
14 deletions
+12
-14
impastp4.cxx
xmloff/source/style/impastp4.cxx
+12
-8
impastpl.hxx
xmloff/source/style/impastpl.hxx
+0
-6
No files found.
xmloff/source/style/impastp4.cxx
Dosyayı görüntüle @
ed8c8a71
...
...
@@ -246,9 +246,17 @@ OUString SvXMLAutoStylePoolP_Impl::Find( sal_Int32 nFamily,
return
sName
;
}
//
// export
//
namespace
{
struct
AutoStylePoolExport
{
const
OUString
*
mpParent
;
const
XMLAutoStylePoolProperties
*
mpProperties
;
AutoStylePoolExport
()
:
mpParent
(
NULL
),
mpProperties
(
NULL
)
{}
};
}
void
SvXMLAutoStylePoolP_Impl
::
exportXML
(
sal_Int32
nFamily
,
...
...
@@ -273,9 +281,7 @@ void SvXMLAutoStylePoolP_Impl::exportXML(
// create, initialize and fill helper-structure (SvXMLAutoStylePoolProperties_Impl)
// which contains a parent-name and a SvXMLAutoStylePoolProperties_Impl
//
SvXMLAutoStylePoolPExport_Impl
*
aExpStyles
=
new
SvXMLAutoStylePoolPExport_Impl
[
nCount
];
std
::
vector
<
AutoStylePoolExport
>
aExpStyles
(
nCount
);
sal_uInt32
i
;
for
(
i
=
0
;
i
<
nCount
;
i
++
)
...
...
@@ -390,8 +396,6 @@ void SvXMLAutoStylePoolP_Impl::exportXML(
);
}
}
delete
[]
aExpStyles
;
}
void
SvXMLAutoStylePoolP_Impl
::
ClearEntries
()
...
...
xmloff/source/style/impastpl.hxx
Dosyayı görüntüle @
ed8c8a71
...
...
@@ -180,12 +180,6 @@ public:
void
ClearEntries
();
};
struct
SvXMLAutoStylePoolPExport_Impl
{
const
OUString
*
mpParent
;
const
XMLAutoStylePoolProperties
*
mpProperties
;
};
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
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