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
6e69d9b8
Kaydet (Commit)
6e69d9b8
authored
Mar 01, 2015
tarafından
David Tardon
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
make this a bit less cryptic
Change-Id: I800735cf4dd10af8e6cd2e2581b18bcb71eb2872
üst
0821dd79
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
10 deletions
+8
-10
elementexport.cxx
xmloff/source/forms/elementexport.cxx
+8
-10
No files found.
xmloff/source/forms/elementexport.cxx
Dosyayı görüntüle @
6e69d9b8
...
...
@@ -172,8 +172,14 @@ namespace xmloff
else if (sServiceName == SERVICE_PERSISTENT_COMPONENT_##name) \
sToWriteServiceName = SERVICE_##name
if
(
false
)
;
if
(
sServiceName
==
SERVICE_PERSISTENT_COMPONENT_EDIT
)
{
// special handling for the edit field: we have two controls using this as persistence service name
sToWriteServiceName
=
SERVICE_EDIT
;
Reference
<
XServiceInfo
>
xSI
(
m_xProps
,
UNO_QUERY
);
if
(
xSI
.
is
()
&&
xSI
->
supportsService
(
SERVICE_FORMATTEDFIELD
))
sToWriteServiceName
=
SERVICE_FORMATTEDFIELD
;
}
CHECK_N_TRANSLATE
(
FORM
);
CHECK_N_TRANSLATE
(
LISTBOX
);
CHECK_N_TRANSLATE
(
COMBOBOX
);
...
...
@@ -193,14 +199,6 @@ namespace xmloff
CHECK_N_TRANSLATE
(
HIDDENCONTROL
);
CHECK_N_TRANSLATE
(
IMAGECONTROL
);
CHECK_N_TRANSLATE
(
FORMATTEDFIELD
);
else
if
(
sServiceName
==
SERVICE_PERSISTENT_COMPONENT_EDIT
)
{
// special handling for the edit field: we have two controls using this as persistence service name
sToWriteServiceName
=
SERVICE_EDIT
;
Reference
<
XServiceInfo
>
xSI
(
m_xProps
,
UNO_QUERY
);
if
(
xSI
.
is
()
&&
xSI
->
supportsService
(
SERVICE_FORMATTEDFIELD
))
sToWriteServiceName
=
SERVICE_FORMATTEDFIELD
;
}
#if OSL_DEBUG_LEVEL > 0
Reference
<
XServiceInfo
>
xSI
(
m_xProps
,
UNO_QUERY
);
OSL_ENSURE
(
xSI
.
is
()
&&
xSI
->
supportsService
(
sToWriteServiceName
),
...
...
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