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
62a4722a
Kaydet (Commit)
62a4722a
authored
Nis 04, 2014
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
xmlscript: sal_Bool->bool
Change-Id: Ib784d23aa613dce80b786ecadb98cc2c3c278e33
üst
6ed14fd8
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
10 deletions
+10
-10
exp_share.hxx
xmlscript/source/xmldlg_imexp/exp_share.hxx
+2
-2
xmldlg_expmodels.cxx
xmlscript/source/xmldlg_imexp/xmldlg_expmodels.cxx
+1
-1
xmldlg_export.cxx
xmlscript/source/xmldlg_imexp/xmldlg_export.cxx
+2
-2
xmlbas_export.cxx
xmlscript/source/xmlflat_imexp/xmlbas_export.cxx
+5
-5
No files found.
xmlscript/source/xmldlg_imexp/exp_share.hxx
Dosyayı görüntüle @
62a4722a
...
...
@@ -163,7 +163,7 @@ public:
void
readDataAwareAttr
(
OUString
const
&
rAttrName
);
inline
void
addBoolAttr
(
OUString
const
&
rAttrName
,
sal_B
ool
bValue
)
OUString
const
&
rAttrName
,
b
ool
bValue
)
{
addAttribute
(
rAttrName
,
OUString
::
boolean
(
bValue
)
);
}
void
addNumberFormatAttr
(
css
::
uno
::
Reference
<
css
::
beans
::
XPropertySet
>
...
...
@@ -254,7 +254,7 @@ inline void ElementDescriptor::read<sal_Bool>(
_xPropState
->
getPropertyState
(
propName
))
{
css
::
uno
::
Any
a
(
_xProps
->
getPropertyValue
(
propName
)
);
sal_Bool
v
=
sal_Bool
()
;
bool
v
;
if
(
a
>>=
v
)
addAttribute
(
attrName
,
OUString
::
boolean
(
v
)
);
else
...
...
xmlscript/source/xmldlg_imexp/xmldlg_expmodels.cxx
Dosyayı görüntüle @
62a4722a
...
...
@@ -255,7 +255,7 @@ void ElementDescriptor::readCheckBoxModel( StyleBag * all_styles )
readImagePositionAttr
(
"ImagePosition"
,
XMLNS_DIALOGS_PREFIX
":image-position"
);
readBoolAttr
(
"MultiLine"
,
XMLNS_DIALOGS_PREFIX
":multiline"
);
sal_Bool
bTriState
=
sal_F
alse
;
bool
bTriState
=
f
alse
;
if
((
readProp
(
"TriState"
)
>>=
bTriState
)
&&
bTriState
)
{
addAttribute
(
XMLNS_DIALOGS_PREFIX
":tristate"
,
"true"
);
...
...
xmlscript/source/xmldlg_imexp/xmldlg_export.cxx
Dosyayı görüntüle @
62a4722a
...
...
@@ -1037,7 +1037,7 @@ void ElementDescriptor::readDefaults( bool supportPrintable, bool supportVisible
addAttribute
(
XMLNS_DIALOGS_PREFIX
":id"
,
*
reinterpret_cast
<
const
OUString
*
>
(
a
.
getValue
()
)
);
readShortAttr
(
"TabIndex"
,
XMLNS_DIALOGS_PREFIX
":tab-index"
);
sal_Bool
bEnabled
=
sal_F
alse
;
bool
bEnabled
=
f
alse
;
if
(
_xProps
->
getPropertyValue
(
"Enabled"
)
>>=
bEnabled
)
{
if
(
!
bEnabled
)
...
...
@@ -1050,7 +1050,7 @@ void ElementDescriptor::readDefaults( bool supportPrintable, bool supportVisible
SAL_WARN
(
"xmlscript.xmldlg"
,
"unexpected property type for
\"
Enabled
\"
: not bool!"
);
}
sal_Bool
bVisible
=
sal_T
rue
;
bool
bVisible
=
t
rue
;
if
(
supportVisible
)
try
{
if
(
_xProps
->
getPropertyValue
(
"EnableVisible"
)
>>=
bVisible
)
...
...
xmlscript/source/xmlflat_imexp/xmlbas_export.cxx
Dosyayı görüntüle @
62a4722a
...
...
@@ -160,7 +160,7 @@ sal_Bool XMLBasicExporterBase::filter( const Sequence< beans::PropertyValue >& /
{
::
osl
::
MutexGuard
aGuard
(
m_aMutex
);
sal_Bool
bReturn
=
sal_T
rue
;
bool
bReturn
=
t
rue
;
try
{
...
...
@@ -369,22 +369,22 @@ sal_Bool XMLBasicExporterBase::filter( const Sequence< beans::PropertyValue >& /
catch
(
const
container
::
NoSuchElementException
&
e
)
{
SAL_INFO
(
"xmlscript.xmlflat"
,
"XMLBasicExporterBase::filter: caught NoSuchElementException reason "
<<
e
.
Message
);
bReturn
=
sal_F
alse
;
bReturn
=
f
alse
;
}
catch
(
const
lang
::
IllegalArgumentException
&
e
)
{
SAL_INFO
(
"xmlscript.xmlflat"
,
"XMLBasicExporterBase::filter: caught IllegalArgumentException reason "
<<
e
.
Message
);
bReturn
=
sal_F
alse
;
bReturn
=
f
alse
;
}
catch
(
const
lang
::
WrappedTargetException
&
e
)
{
SAL_INFO
(
"xmlscript.xmlflat"
,
"XMLBasicExporterBase::filter: caught WrappedTargetException reason "
<<
e
.
Message
);
bReturn
=
sal_F
alse
;
bReturn
=
f
alse
;
}
catch
(
const
xml
::
sax
::
SAXException
&
e
)
{
SAL_INFO
(
"xmlscript.xmlflat"
,
"XMLBasicExporterBase::filter: caught SAXException reason "
<<
e
.
Message
);
bReturn
=
sal_F
alse
;
bReturn
=
f
alse
;
}
return
bReturn
;
...
...
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