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
ebf98688
Kaydet (Commit)
ebf98688
authored
Şub 05, 2015
tarafından
Lionel Elie Mamane
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Revert "xmloff: dead code gives MSVC fits"
This reverts commit
29e1b2f1
in preparation for reverting
2d4b87f0
üst
f1ffba89
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
0 deletions
+30
-0
elementexport.cxx
xmloff/source/forms/elementexport.cxx
+30
-0
No files found.
xmloff/source/forms/elementexport.cxx
Dosyayı görüntüle @
ebf98688
...
@@ -1155,6 +1155,36 @@ namespace xmloff
...
@@ -1155,6 +1155,36 @@ namespace xmloff
}
}
}
}
// the string properties
{
static
const
sal_Int32
nStringPropertyAttributeIds
[]
=
{
// attribute flags
};
static
const
OUString
pStringPropertyNames
[]
=
{
// property names
};
static
const
sal_Int32
nIdCount
=
sizeof
(
nStringPropertyAttributeIds
)
/
sizeof
(
nStringPropertyAttributeIds
[
0
]
);
#if OSL_DEBUG_LEVEL > 0
static
const
sal_Int32
nNameCount
=
sizeof
(
pStringPropertyNames
)
/
sizeof
(
pStringPropertyNames
[
0
]
);
OSL_ENSURE
(
(
nIdCount
==
nNameCount
),
"OControlExport::exportSpecialAttributes: somebody tampered with the maps (2)!"
);
#endif
for
(
i
=
0
;
i
<
nIdCount
;
++
i
)
if
(
nStringPropertyAttributeIds
[
i
]
&
m_nIncludeSpecial
)
{
exportStringPropertyAttribute
(
OAttributeMetaData
::
getSpecialAttributeNamespace
(
nStringPropertyAttributeIds
[
i
]
),
OAttributeMetaData
::
getSpecialAttributeName
(
nStringPropertyAttributeIds
[
i
]
),
pStringPropertyNames
[
i
]
);
#if OSL_DEBUG_LEVEL > 0
// reset the bit for later checking
m_nIncludeSpecial
=
m_nIncludeSpecial
&
~
nStringPropertyAttributeIds
[
i
];
#endif
}
}
if
((
SCA_MIN_VALUE
|
SCA_MAX_VALUE
)
&
m_nIncludeSpecial
)
if
((
SCA_MIN_VALUE
|
SCA_MAX_VALUE
)
&
m_nIncludeSpecial
)
{
{
// need to export the min value and the max value as attributes
// need to export the min value and the max value as attributes
...
...
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