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
b5ed99e5
Kaydet (Commit)
b5ed99e5
authored
Ock 15, 2018
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
More loplugin:cstylecast: xmlscript
Change-Id: I0dcb16ad325665ac435c2434648ea087ecb5c79f
üst
c1f9d1a4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
xmldlg_export.cxx
xmlscript/source/xmldlg_imexp/xmldlg_export.cxx
+1
-1
xmldlg_import.cxx
xmlscript/source/xmldlg_imexp/xmldlg_import.cxx
+1
-1
No files found.
xmlscript/source/xmldlg_imexp/xmldlg_export.cxx
Dosyayı görüntüle @
b5ed99e5
...
...
@@ -833,7 +833,7 @@ void ElementDescriptor::readButtonTypeAttr( OUString const & rPropName, OUString
Any
a
(
_xProps
->
getPropertyValue
(
rPropName
)
);
if
(
auto
n
=
o3tl
::
tryAccess
<
sal_Int16
>
(
a
))
{
switch
(
(
awt
::
PushButtonType
)
*
n
)
switch
(
static_cast
<
awt
::
PushButtonType
>
(
*
n
)
)
{
case
awt
:
:
PushButtonType_STANDARD
:
addAttribute
(
rAttrName
,
"standard"
);
...
...
xmlscript/source/xmldlg_imexp/xmldlg_import.cxx
Dosyayı görüntüle @
b5ed99e5
...
...
@@ -1090,7 +1090,7 @@ bool ImportContext::importButtonTypeProperty(
throw
xml
::
sax
::
SAXException
(
"invalid button-type value!"
,
Reference
<
XInterface
>
(),
Any
()
);
}
_xControlModel
->
setPropertyValue
(
rPropName
,
makeAny
(
(
sal_Int16
)
nButtonType
)
);
_xControlModel
->
setPropertyValue
(
rPropName
,
makeAny
(
static_cast
<
sal_Int16
>
(
nButtonType
)
)
);
return
true
;
}
return
false
;
...
...
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