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
3f60a32a
Kaydet (Commit)
3f60a32a
authored
Mar 27, 2014
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
xmloff: sal_Bool->bool
Change-Id: If694d16088ae0dcdc8b99797eed575c90d646fe5
üst
55ee8a75
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
23 additions
and
23 deletions
+23
-23
ProgressBarHelper.hxx
include/xmloff/ProgressBarHelper.hxx
+6
-6
SettingsExportHelper.hxx
include/xmloff/SettingsExportHelper.hxx
+2
-2
SinglePropertySetInfoCache.hxx
include/xmloff/SinglePropertySetInfoCache.hxx
+3
-3
ProgressBarHelper.cxx
xmloff/source/core/ProgressBarHelper.cxx
+4
-4
SettingsExportHelper.cxx
xmloff/source/core/SettingsExportHelper.cxx
+4
-4
xmlexp.cxx
xmloff/source/core/xmlexp.cxx
+1
-1
xmlimp.cxx
xmloff/source/core/xmlimp.cxx
+2
-2
SinglePropertySetInfoCache.cxx
xmloff/source/style/SinglePropertySetInfoCache.cxx
+1
-1
No files found.
include/xmloff/ProgressBarHelper.hxx
Dosyayı görüntüle @
3f60a32a
...
...
@@ -36,23 +36,23 @@ class XMLOFF_DLLPUBLIC ProgressBarHelper
sal_Int32
nRange
;
sal_Int32
nReference
;
sal_Int32
nValue
;
sal_Bool
bStrict
;
bool
bStrict
;
// #96469#; if the value goes over the Range the progressbar starts again
sal_Bool
bRepeat
;
bool
bRepeat
;
#ifdef DBG_UTIL
sal_Bool
bFailure
;
bool
bFailure
;
#endif
public
:
ProgressBarHelper
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
task
::
XStatusIndicator
>&
xStatusIndicator
,
const
sal_B
ool
bStrict
);
const
b
ool
bStrict
);
~
ProgressBarHelper
();
void
SetText
(
OUString
&
rText
)
{
if
(
xStatusIndicator
.
is
())
xStatusIndicator
->
setText
(
rText
);
}
void
SetRange
(
sal_Int32
nVal
)
{
nRange
=
nVal
;
}
void
SetReference
(
sal_Int32
nVal
)
{
nReference
=
nVal
;
}
void
SetValue
(
sal_Int32
nValue
);
void
SetRepeat
(
sal_B
ool
bValue
)
{
bRepeat
=
bValue
;
}
void
SetRepeat
(
b
ool
bValue
)
{
bRepeat
=
bValue
;
}
inline
void
Increment
(
sal_Int32
nInc
=
1
)
{
SetValue
(
nValue
+
nInc
);
}
void
End
()
{
if
(
xStatusIndicator
.
is
())
xStatusIndicator
->
end
();
}
...
...
@@ -62,7 +62,7 @@ public:
sal_Int32
GetReference
()
{
return
nReference
;
}
sal_Int32
GetValue
()
{
return
nValue
;
}
sal_B
ool
GetRepeat
()
{
return
bRepeat
;
}
b
ool
GetRepeat
()
{
return
bRepeat
;
}
};
#endif
...
...
include/xmloff/SettingsExportHelper.hxx
Dosyayı görüntüle @
3f60a32a
...
...
@@ -59,7 +59,7 @@ class XMLOFF_DLLPUBLIC XMLSettingsExportHelper
void
CallTypeFunction
(
const
com
::
sun
::
star
::
uno
::
Any
&
rAny
,
const
OUString
&
rName
)
const
;
void
exportBool
(
const
sal_B
ool
bValue
,
const
OUString
&
rName
)
const
;
void
exportBool
(
const
b
ool
bValue
,
const
OUString
&
rName
)
const
;
void
exportByte
(
const
sal_Int8
nValue
,
const
OUString
&
rName
)
const
;
void
exportShort
(
const
sal_Int16
nValue
,
const
OUString
&
rName
)
const
;
void
exportInt
(
const
sal_Int32
nValue
,
const
OUString
&
rName
)
const
;
...
...
@@ -75,7 +75,7 @@ class XMLOFF_DLLPUBLIC XMLSettingsExportHelper
const
OUString
&
rName
)
const
;
void
exportMapEntry
(
const
com
::
sun
::
star
::
uno
::
Any
&
rAny
,
const
OUString
&
rName
,
const
sal_B
ool
bNameAccess
)
const
;
const
b
ool
bNameAccess
)
const
;
void
exportNameAccess
(
const
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
container
::
XNameAccess
>&
aNamed
,
const
OUString
&
rName
)
const
;
...
...
include/xmloff/SinglePropertySetInfoCache.hxx
Dosyayı görüntüle @
3f60a32a
...
...
@@ -39,13 +39,13 @@ public:
inline
SinglePropertySetInfoCache
(
const
OUString
&
rName
);
~
SinglePropertySetInfoCache
()
{};
sal_B
ool
hasProperty
(
b
ool
hasProperty
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
beans
::
XPropertySet
>&
rPropSet
,
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
beans
::
XPropertySetInfo
>&
rPropSetInfo
);
inline
sal_B
ool
hasProperty
(
inline
b
ool
hasProperty
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
beans
::
XPropertySet
>&
rPropSet
);
};
...
...
@@ -56,7 +56,7 @@ inline SinglePropertySetInfoCache::SinglePropertySetInfoCache(
{
}
inline
sal_B
ool
SinglePropertySetInfoCache
::
hasProperty
(
inline
b
ool
SinglePropertySetInfoCache
::
hasProperty
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
beans
::
XPropertySet
>&
rPropSet
)
{
...
...
xmloff/source/core/ProgressBarHelper.cxx
Dosyayı görüntüle @
3f60a32a
...
...
@@ -28,15 +28,15 @@ using namespace ::com::sun::star;
static
const
sal_Int32
nDefaultProgressBarRange
=
1000000
;
ProgressBarHelper
::
ProgressBarHelper
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
task
::
XStatusIndicator
>&
xTempStatusIndicator
,
const
sal_B
ool
bTempStrict
)
const
b
ool
bTempStrict
)
:
xStatusIndicator
(
xTempStatusIndicator
)
,
nRange
(
nDefaultProgressBarRange
)
,
nReference
(
100
)
,
nValue
(
0
)
,
bStrict
(
bTempStrict
)
,
bRepeat
(
sal_T
rue
)
,
bRepeat
(
t
rue
)
#ifdef DBG_UTIL
,
bFailure
(
sal_F
alse
)
,
bFailure
(
f
alse
)
#endif
{
}
...
...
@@ -101,7 +101,7 @@ void ProgressBarHelper::SetValue(sal_Int32 nTempValue)
else
if
(
!
bFailure
)
{
OSL_FAIL
(
"tried to set a wrong value on the progressbar"
);
bFailure
=
sal_T
rue
;
bFailure
=
t
rue
;
}
#endif
}
...
...
xmloff/source/core/SettingsExportHelper.cxx
Dosyayı görüntüle @
3f60a32a
...
...
@@ -180,7 +180,7 @@ void XMLSettingsExportHelper::CallTypeFunction(const uno::Any& rAny,
}
}
void
XMLSettingsExportHelper
::
exportBool
(
const
sal_B
ool
bValue
,
const
OUString
&
rName
)
const
void
XMLSettingsExportHelper
::
exportBool
(
const
b
ool
bValue
,
const
OUString
&
rName
)
const
{
DBG_ASSERT
(
!
rName
.
isEmpty
(),
"no name"
);
m_rContext
.
AddAttribute
(
XML_NAME
,
rName
);
...
...
@@ -360,7 +360,7 @@ void XMLSettingsExportHelper::exportbase64Binary(
void
XMLSettingsExportHelper
::
exportMapEntry
(
const
uno
::
Any
&
rAny
,
const
OUString
&
rName
,
const
sal_B
ool
bNameAccess
)
const
const
b
ool
bNameAccess
)
const
{
DBG_ASSERT
((
bNameAccess
&&
!
rName
.
isEmpty
())
||
!
bNameAccess
,
"no name"
);
uno
::
Sequence
<
beans
::
PropertyValue
>
aProps
;
...
...
@@ -390,7 +390,7 @@ void XMLSettingsExportHelper::exportNameAccess(
m_rContext
.
StartElement
(
XML_CONFIG_ITEM_MAP_NAMED
,
sal_True
);
uno
::
Sequence
<
OUString
>
aNames
(
aNamed
->
getElementNames
());
for
(
sal_Int32
i
=
0
;
i
<
aNames
.
getLength
();
i
++
)
exportMapEntry
(
aNamed
->
getByName
(
aNames
[
i
]),
aNames
[
i
],
sal_T
rue
);
exportMapEntry
(
aNamed
->
getByName
(
aNames
[
i
]),
aNames
[
i
],
t
rue
);
m_rContext
.
EndElement
(
sal_True
);
}
}
...
...
@@ -410,7 +410,7 @@ void XMLSettingsExportHelper::exportIndexAccess(
sal_Int32
nCount
=
aIndexed
->
getCount
();
for
(
sal_Int32
i
=
0
;
i
<
nCount
;
i
++
)
{
exportMapEntry
(
aIndexed
->
getByIndex
(
i
),
sEmpty
,
sal_F
alse
);
exportMapEntry
(
aIndexed
->
getByIndex
(
i
),
sEmpty
,
f
alse
);
}
m_rContext
.
EndElement
(
sal_True
);
}
...
...
xmloff/source/core/xmlexp.cxx
Dosyayı görüntüle @
3f60a32a
...
...
@@ -2005,7 +2005,7 @@ ProgressBarHelper* SvXMLExport::GetProgressBarHelper()
{
if
(
!
mpProgressBarHelper
)
{
mpProgressBarHelper
=
new
ProgressBarHelper
(
mxStatusIndicator
,
sal_T
rue
);
mpProgressBarHelper
=
new
ProgressBarHelper
(
mxStatusIndicator
,
t
rue
);
if
(
mxExportInfo
.
is
())
{
...
...
xmloff/source/core/xmlimp.cxx
Dosyayı görüntüle @
3f60a32a
...
...
@@ -829,7 +829,7 @@ void SAL_CALL SvXMLImport::unknown( const OUString& )
void
SvXMLImport
::
SetStatistics
(
const
uno
::
Sequence
<
beans
::
NamedValue
>
&
)
{
GetProgressBarHelper
()
->
SetRepeat
(
sal_F
alse
);
GetProgressBarHelper
()
->
SetRepeat
(
f
alse
);
GetProgressBarHelper
()
->
SetReference
(
0
);
}
...
...
@@ -1398,7 +1398,7 @@ ProgressBarHelper* SvXMLImport::GetProgressBarHelper()
{
if
(
!
mpProgressBarHelper
)
{
mpProgressBarHelper
=
new
ProgressBarHelper
(
mxStatusIndicator
,
sal_F
alse
);
mpProgressBarHelper
=
new
ProgressBarHelper
(
mxStatusIndicator
,
f
alse
);
if
(
mxImportInfo
.
is
())
{
...
...
xmloff/source/style/SinglePropertySetInfoCache.cxx
Dosyayı görüntüle @
3f60a32a
...
...
@@ -24,7 +24,7 @@ using namespace ::com::sun::star::uno;
using
::
com
::
sun
::
star
::
beans
::
XPropertySet
;
using
::
com
::
sun
::
star
::
beans
::
XPropertySetInfo
;
sal_B
ool
SinglePropertySetInfoCache
::
hasProperty
(
b
ool
SinglePropertySetInfoCache
::
hasProperty
(
const
Reference
<
XPropertySet
>&
rPropSet
,
Reference
<
XPropertySetInfo
>&
rPropSetInfo
)
{
...
...
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