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
2fea23f1
Kaydet (Commit)
2fea23f1
authored
Mar 12, 2016
tarafından
Bjoern Michaelsen
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
refactor out to limit scope: FN_UNO_DISPLAY_NAME
Change-Id: I0a186de2e013d3b3b876ce61333d2f1736936ce8
üst
5d26fe7e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
unostyle.cxx
sw/source/core/unocore/unostyle.cxx
+8
-3
No files found.
sw/source/core/unocore/unostyle.cxx
Dosyayı görüntüle @
2fea23f1
...
...
@@ -2053,7 +2053,7 @@ uno::Any SwXStyle::GetStyleProperty<RES_PAGEDESC>(const SfxItemPropertySimpleEnt
return
uno
::
makeAny
(
aString
);
}
template
<>
uno
::
Any
SwXStyle
::
GetStyleProperty
<
FN_UNO_IS_AUTO_UPDATE
>
(
const
SfxItemPropertySimpleEntry
&
rEntry
,
const
SfxItemPropertySet
&
,
SwStyleBase_Impl
&
rBase
)
uno
::
Any
SwXStyle
::
GetStyleProperty
<
FN_UNO_IS_AUTO_UPDATE
>
(
const
SfxItemPropertySimpleEntry
&
,
const
SfxItemPropertySet
&
,
SwStyleBase_Impl
&
rBase
)
throw
(
uno
::
RuntimeException
,
std
::
exception
)
{
switch
(
GetFamily
())
...
...
@@ -2063,6 +2063,12 @@ uno::Any SwXStyle::GetStyleProperty<FN_UNO_IS_AUTO_UPDATE>(const SfxItemProperty
default
:
return
uno
::
Any
();
}
}
template
<>
uno
::
Any
SwXStyle
::
GetStyleProperty
<
FN_UNO_DISPLAY_NAME
>
(
const
SfxItemPropertySimpleEntry
&
,
const
SfxItemPropertySet
&
,
SwStyleBase_Impl
&
rBase
)
throw
(
uno
::
RuntimeException
,
std
::
exception
)
{
return
uno
::
makeAny
(
rBase
.
getNewBase
()
->
GetDisplayName
());
}
uno
::
Any
SwXStyle
::
lcl_GetStyleProperty
(
const
SfxItemPropertySimpleEntry
&
rEntry
,
const
SfxItemPropertySet
&
rPropSet
,
SwStyleBase_Impl
&
rBase
)
throw
(
uno
::
RuntimeException
,
std
::
exception
)
...
...
@@ -2129,8 +2135,7 @@ uno::Any SwXStyle::lcl_GetStyleProperty(const SfxItemPropertySimpleEntry& rEntry
}
case
FN_UNO_DISPLAY_NAME
:
{
aRet
<<=
rBase
.
getNewBase
()
->
GetDisplayName
();
break
;
return
GetStyleProperty
<
FN_UNO_DISPLAY_NAME
>
(
rEntry
,
rPropSet
,
rBase
);
}
case
FN_UNO_PARA_STYLE_CONDITIONS
:
{
...
...
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