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
21dcef53
Kaydet (Commit)
21dcef53
authored
Mar 25, 2014
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
xmlscript: sal_Bool->bool
Change-Id: I5d0041283637dddeac86c50917d77c7e3d005b20
üst
65c3e11e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
xmllib_imexp.hxx
include/xmlscript/xmllib_imexp.hxx
+4
-4
imp_share.hxx
xmlscript/source/xmllib_imexp/imp_share.hxx
+3
-3
xmllib_import.cxx
xmlscript/source/xmllib_imexp/xmllib_import.cxx
+2
-2
No files found.
include/xmlscript/xmllib_imexp.hxx
Dosyayı görüntüle @
21dcef53
...
...
@@ -37,11 +37,11 @@ struct XMLSCRIPT_DLLPUBLIC LibDescriptor
{
OUString
aName
;
OUString
aStorageURL
;
sal_B
ool
bLink
;
sal_B
ool
bReadOnly
;
sal_B
ool
bPasswordProtected
;
b
ool
bLink
;
b
ool
bReadOnly
;
b
ool
bPasswordProtected
;
::
com
::
sun
::
star
::
uno
::
Sequence
<
OUString
>
aElementNames
;
sal_B
ool
bPreload
;
b
ool
bPreload
;
};
struct
XMLSCRIPT_DLLPUBLIC
LibDescriptorArray
...
...
xmlscript/source/xmllib_imexp/imp_share.hxx
Dosyayı görüntüle @
21dcef53
...
...
@@ -53,7 +53,7 @@ inline sal_Int32 toInt32( OUString const & rStr ) SAL_THROW(())
return
nVal
;
}
inline
bool
getBoolAttr
(
sal_B
ool
*
pRet
,
OUString
const
&
rAttrName
,
b
ool
*
pRet
,
OUString
const
&
rAttrName
,
Reference
<
xml
::
input
::
XAttributes
>
const
&
xAttributes
,
sal_Int32
uid
)
{
OUString
aValue
(
...
...
@@ -62,12 +62,12 @@ inline bool getBoolAttr(
{
if
(
aValue
==
"true"
)
{
*
pRet
=
sal_T
rue
;
*
pRet
=
t
rue
;
return
true
;
}
else
if
(
aValue
==
"false"
)
{
*
pRet
=
sal_F
alse
;
*
pRet
=
f
alse
;
return
true
;
}
else
...
...
xmlscript/source/xmllib_imexp/xmllib_import.cxx
Dosyayı görüntüle @
21dcef53
...
...
@@ -154,7 +154,7 @@ Reference< xml::input::XElement > LibraryImport::startRootElement(
else
if
(
mpLibDesc
&&
rLocalName
==
"library"
)
{
LibDescriptor
&
aDesc
=
*
mpLibDesc
;
aDesc
.
bLink
=
aDesc
.
bReadOnly
=
aDesc
.
bPasswordProtected
=
aDesc
.
bPreload
=
sal_F
alse
;
aDesc
.
bLink
=
aDesc
.
bReadOnly
=
aDesc
.
bPasswordProtected
=
aDesc
.
bPreload
=
f
alse
;
aDesc
.
aName
=
xAttributes
->
getValueByUidName
(
XMLNS_LIBRARY_UID
,
"name"
);
getBoolAttr
(
&
aDesc
.
bReadOnly
,
"readonly"
,
xAttributes
,
XMLNS_LIBRARY_UID
);
...
...
@@ -191,7 +191,7 @@ Reference< xml::input::XElement > LibrariesElement::startChildElement(
else
if
(
rLocalName
==
"library"
)
{
LibDescriptor
aDesc
;
aDesc
.
bLink
=
aDesc
.
bReadOnly
=
aDesc
.
bPasswordProtected
=
aDesc
.
bPreload
=
sal_F
alse
;
aDesc
.
bLink
=
aDesc
.
bReadOnly
=
aDesc
.
bPasswordProtected
=
aDesc
.
bPreload
=
f
alse
;
aDesc
.
aName
=
xAttributes
->
getValueByUidName
(
_pImport
->
XMLNS_LIBRARY_UID
,
"name"
);
aDesc
.
aStorageURL
=
xAttributes
->
getValueByUidName
(
_pImport
->
XMLNS_XLINK_UID
,
"href"
);
...
...
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