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
2056e312
Kaydet (Commit)
2056e312
authored
Kas 28, 2015
tarafından
Bjoern Michaelsen
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
typo: m_nRedId => m_nResId
Change-Id: I0659155b19870117e97f691aa4fdceee8f2d4c08
üst
bdb6e648
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
unostyle.cxx
sw/source/core/unocore/unostyle.cxx
+4
-4
No files found.
sw/source/core/unocore/unostyle.cxx
Dosyayı görüntüle @
2056e312
...
@@ -97,12 +97,12 @@ namespace
...
@@ -97,12 +97,12 @@ namespace
SfxStyleFamily
m_eFamily
;
SfxStyleFamily
m_eFamily
;
SwGetPoolIdFromName
m_aPoolId
;
SwGetPoolIdFromName
m_aPoolId
;
OUString
m_sName
;
OUString
m_sName
;
sal_uInt32
m_nRe
d
Id
;
sal_uInt32
m_nRe
s
Id
;
StyleFamilyEntry
(
SfxStyleFamily
eFamily
,
SwGetPoolIdFromName
aPoolId
,
OUString
const
&
sName
,
sal_uInt32
nResId
)
StyleFamilyEntry
(
SfxStyleFamily
eFamily
,
SwGetPoolIdFromName
aPoolId
,
OUString
const
&
sName
,
sal_uInt32
nResId
)
:
m_eFamily
(
eFamily
)
:
m_eFamily
(
eFamily
)
,
m_aPoolId
(
aPoolId
)
,
m_aPoolId
(
aPoolId
)
,
m_sName
(
sName
)
,
m_sName
(
sName
)
,
m_nRe
d
Id
(
nResId
)
,
m_nRe
s
Id
(
nResId
)
{}
{}
};
};
static
const
std
::
vector
<
StyleFamilyEntry
>
our_vStyleFamilyEntries
{
static
const
std
::
vector
<
StyleFamilyEntry
>
our_vStyleFamilyEntries
{
...
@@ -762,7 +762,7 @@ uno::Any SAL_CALL XStyleFamily::getPropertyValue( const OUString& sPropertyName
...
@@ -762,7 +762,7 @@ uno::Any SAL_CALL XStyleFamily::getPropertyValue( const OUString& sPropertyName
const
auto
pEntry
=
std
::
find_if
(
our_vStyleFamilyEntries
.
begin
(),
our_vStyleFamilyEntries
.
end
(),
const
auto
pEntry
=
std
::
find_if
(
our_vStyleFamilyEntries
.
begin
(),
our_vStyleFamilyEntries
.
end
(),
[
this
]
(
const
StyleFamilyEntry
&
e
)
{
return
m_eFamily
==
e
.
m_eFamily
;
});
[
this
]
(
const
StyleFamilyEntry
&
e
)
{
return
m_eFamily
==
e
.
m_eFamily
;
});
assert
(
pEntry
!=
our_vStyleFamilyEntries
.
end
());
// invalid family
assert
(
pEntry
!=
our_vStyleFamilyEntries
.
end
());
// invalid family
return
uno
::
makeAny
(
SW_RESSTR
(
pEntry
->
m_nRe
d
Id
));
return
uno
::
makeAny
(
SW_RESSTR
(
pEntry
->
m_nRe
s
Id
));
}
}
...
...
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