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
9f030d08
Kaydet (Commit)
9f030d08
authored
Kas 28, 2015
tarafından
Bjoern Michaelsen
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
use Families instead of the generic 'Container'
Change-Id: I009002621a5481b91e14a215237278d56d742579
üst
2056e312
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
unostyle.hxx
sw/inc/unostyle.hxx
+1
-1
unostyle.cxx
sw/source/core/unocore/unostyle.cxx
+4
-4
No files found.
sw/inc/unostyle.hxx
Dosyayı görüntüle @
9f030d08
...
...
@@ -66,7 +66,7 @@ class SwXStyleFamilies : public cppu::WeakImplHelper
{
SwDocShell
*
m_pDocShell
;
std
::
map
<
SfxStyleFamily
,
css
::
uno
::
Reference
<
css
::
container
::
XNameContainer
>>
m_v
Container
s
;
std
::
map
<
SfxStyleFamily
,
css
::
uno
::
Reference
<
css
::
container
::
XNameContainer
>>
m_v
Familie
s
;
protected
:
virtual
~
SwXStyleFamilies
();
public
:
...
...
sw/source/core/unocore/unostyle.cxx
Dosyayı görüntüle @
9f030d08
...
...
@@ -303,10 +303,10 @@ uno::Any SwXStyleFamilies::getByIndex(sal_Int32 nIndex)
throw
uno
::
RuntimeException
();
auto
eFamily
=
our_vStyleFamilyEntries
[
nIndex
].
m_eFamily
;
assert
(
eFamily
!=
SFX_STYLE_FAMILY_ALL
);
auto
&
rx
Container
=
m_vContainer
s
[
eFamily
];
if
(
!
rx
Container
.
is
())
rx
Container
=
new
XStyleFamily
(
m_pDocShell
,
eFamily
);
return
uno
::
makeAny
(
rx
Container
);
auto
&
rx
Family
=
m_vFamilie
s
[
eFamily
];
if
(
!
rx
Family
.
is
())
rx
Family
=
new
XStyleFamily
(
m_pDocShell
,
eFamily
);
return
uno
::
makeAny
(
rx
Family
);
}
uno
::
Type
SwXStyleFamilies
::
getElementType
()
...
...
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