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
c5c4ab6c
Kaydet (Commit)
c5c4ab6c
authored
Eyl 24, 2013
tarafından
Takeshi Abe
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sal_Bool to bool
Change-Id: I390b6b0d8e1c143a0d2e8f4f0a1ec80c2924942c
üst
982f75e2
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
26 additions
and
26 deletions
+26
-26
DashStyle.cxx
xmloff/source/style/DashStyle.cxx
+5
-5
PageMasterExportPropMapper.cxx
xmloff/source/style/PageMasterExportPropMapper.cxx
+2
-2
PageMasterImportContext.cxx
xmloff/source/style/PageMasterImportContext.cxx
+6
-6
xmlbas_export.cxx
xmlscript/source/xmlflat_imexp/xmlbas_export.cxx
+3
-3
xmlbas_export.hxx
xmlscript/source/xmlflat_imexp/xmlbas_export.hxx
+2
-2
xmlbas_import.cxx
xmlscript/source/xmlflat_imexp/xmlbas_import.cxx
+4
-4
xmlbas_import.hxx
xmlscript/source/xmlflat_imexp/xmlbas_import.hxx
+4
-4
No files found.
xmloff/source/style/DashStyle.cxx
Dosyayı görüntüle @
c5c4ab6c
...
...
@@ -99,7 +99,7 @@ sal_Bool XMLDashStyleImport::importXML(
aLineDash
.
Distance
=
20
;
OUString
aDisplayName
;
sal_Bool
bIsRel
=
sal_F
alse
;
bool
bIsRel
=
f
alse
;
SvXMLNamespaceMap
&
rNamespaceMap
=
rImport
.
GetNamespaceMap
();
SvXMLUnitConverter
&
rUnitConverter
=
rImport
.
GetMM100UnitConverter
();
...
...
@@ -143,7 +143,7 @@ sal_Bool XMLDashStyleImport::importXML(
{
if
(
rStrValue
.
indexOf
(
sal_Unicode
(
'%'
)
)
!=
-
1
)
// its a percentage
{
bIsRel
=
sal_T
rue
;
bIsRel
=
t
rue
;
::
sax
::
Converter
::
convertPercent
(
aLineDash
.
DotLen
,
rStrValue
);
}
else
...
...
@@ -162,7 +162,7 @@ sal_Bool XMLDashStyleImport::importXML(
{
if
(
rStrValue
.
indexOf
(
sal_Unicode
(
'%'
)
)
!=
-
1
)
// its a percentage
{
bIsRel
=
sal_T
rue
;
bIsRel
=
t
rue
;
::
sax
::
Converter
::
convertPercent
(
aLineDash
.
DashLen
,
rStrValue
);
}
else
...
...
@@ -177,7 +177,7 @@ sal_Bool XMLDashStyleImport::importXML(
{
if
(
rStrValue
.
indexOf
(
sal_Unicode
(
'%'
)
)
!=
-
1
)
// its a percentage
{
bIsRel
=
sal_T
rue
;
bIsRel
=
t
rue
;
::
sax
::
Converter
::
convertPercent
(
aLineDash
.
Distance
,
rStrValue
);
}
else
...
...
@@ -232,7 +232,7 @@ sal_Bool XMLDashStyleExport::exportXML(
{
if
(
rValue
>>=
aLineDash
)
{
sal_B
ool
bIsRel
=
aLineDash
.
Style
==
drawing
::
DashStyle_RECTRELATIVE
||
aLineDash
.
Style
==
drawing
::
DashStyle_ROUNDRELATIVE
;
b
ool
bIsRel
=
aLineDash
.
Style
==
drawing
::
DashStyle_RECTRELATIVE
||
aLineDash
.
Style
==
drawing
::
DashStyle_ROUNDRELATIVE
;
OUString
aStrValue
;
OUStringBuffer
aOut
;
...
...
xmloff/source/style/PageMasterExportPropMapper.cxx
Dosyayı görüntüle @
c5c4ab6c
...
...
@@ -32,7 +32,7 @@ using namespace ::com::sun::star::beans;
using
namespace
::
comphelper
;
using
namespace
::
xmloff
::
token
;
static
inline
sal_B
ool
lcl_HasSameLineWidth
(
const
table
::
BorderLine2
&
rLine1
,
const
table
::
BorderLine2
&
rLine2
)
static
inline
b
ool
lcl_HasSameLineWidth
(
const
table
::
BorderLine2
&
rLine1
,
const
table
::
BorderLine2
&
rLine2
)
{
return
(
rLine1
.
InnerLineWidth
==
rLine2
.
InnerLineWidth
)
&&
(
rLine1
.
OuterLineWidth
==
rLine2
.
OuterLineWidth
)
&&
...
...
@@ -40,7 +40,7 @@ static inline sal_Bool lcl_HasSameLineWidth( const table::BorderLine2& rLine1, c
(
rLine1
.
LineWidth
==
rLine2
.
LineWidth
);
}
inline
sal_B
ool
operator
==
(
const
table
::
BorderLine2
&
rLine1
,
const
table
::
BorderLine2
&
rLine2
)
inline
b
ool
operator
==
(
const
table
::
BorderLine2
&
rLine1
,
const
table
::
BorderLine2
&
rLine2
)
{
return
(
rLine1
.
Color
==
rLine2
.
Color
)
&&
lcl_HasSameLineWidth
(
rLine1
,
rLine2
)
&&
...
...
xmloff/source/style/PageMasterImportContext.cxx
Dosyayı görüntüle @
c5c4ab6c
...
...
@@ -88,8 +88,8 @@ SvXMLImportContext *PageStyleContext::CreateChildContext(
nFlag
=
CTF_PM_FOOTERFLAG
;
sal_Int32
nStartIndex
(
-
1
);
sal_Int32
nEndIndex
(
-
1
);
sal_Bool
bFirst
(
sal_F
alse
);
sal_Bool
bEnd
(
sal_F
alse
);
bool
bFirst
(
f
alse
);
bool
bEnd
(
f
alse
);
sal_Int32
nIndex
=
0
;
while
(
nIndex
<
rMapper
->
GetEntryCount
()
&&
!
bEnd
)
{
...
...
@@ -97,13 +97,13 @@ SvXMLImportContext *PageStyleContext::CreateChildContext(
{
if
(
!
bFirst
)
{
bFirst
=
sal_T
rue
;
bFirst
=
t
rue
;
nStartIndex
=
nIndex
;
}
}
else
if
(
bFirst
)
{
bEnd
=
sal_T
rue
;
bEnd
=
t
rue
;
nEndIndex
=
nIndex
;
}
nIndex
++
;
...
...
@@ -123,7 +123,7 @@ SvXMLImportContext *PageStyleContext::CreateChildContext(
{
const
UniReference
<
XMLPropertySetMapper
>&
rMapper
=
xImpPrMap
->
getPropertySetMapper
();
sal_Int32
nEndIndex
(
-
1
);
sal_Bool
bEnd
(
sal_F
alse
);
bool
bEnd
(
f
alse
);
sal_Int32
nIndex
=
0
;
sal_Int16
nContextID
;
while
(
nIndex
<
rMapper
->
GetEntryCount
()
&&
!
bEnd
)
...
...
@@ -132,7 +132,7 @@ SvXMLImportContext *PageStyleContext::CreateChildContext(
if
(
nContextID
&&
((
nContextID
&
CTF_PM_FLAGMASK
)
!=
XML_PM_CTF_START
))
{
nEndIndex
=
nIndex
;
bEnd
=
sal_T
rue
;
bEnd
=
t
rue
;
}
nIndex
++
;
}
...
...
xmlscript/source/xmlflat_imexp/xmlbas_export.cxx
Dosyayı görüntüle @
c5c4ab6c
...
...
@@ -100,7 +100,7 @@ namespace xmlscript
// XMLBasicExporterBase
XMLBasicExporterBase
::
XMLBasicExporterBase
(
const
Reference
<
XComponentContext
>&
rxContext
,
sal_B
ool
bOasis
)
XMLBasicExporterBase
::
XMLBasicExporterBase
(
const
Reference
<
XComponentContext
>&
rxContext
,
b
ool
bOasis
)
:
m_xContext
(
rxContext
)
,
m_bOasis
(
bOasis
)
{
...
...
@@ -407,7 +407,7 @@ sal_Bool XMLBasicExporterBase::filter( const Sequence< beans::PropertyValue >& /
// XMLBasicExporter
XMLBasicExporter
::
XMLBasicExporter
(
const
Reference
<
XComponentContext
>&
rxContext
)
:
XMLBasicExporterBase
(
rxContext
,
sal_F
alse
)
:
XMLBasicExporterBase
(
rxContext
,
f
alse
)
{
}
...
...
@@ -430,7 +430,7 @@ sal_Bool XMLBasicExporterBase::filter( const Sequence< beans::PropertyValue >& /
// XMLOasisBasicExporter
XMLOasisBasicExporter
::
XMLOasisBasicExporter
(
const
Reference
<
XComponentContext
>&
rxContext
)
:
XMLBasicExporterBase
(
rxContext
,
sal_T
rue
)
:
XMLBasicExporterBase
(
rxContext
,
t
rue
)
{
}
...
...
xmlscript/source/xmlflat_imexp/xmlbas_export.hxx
Dosyayı görüntüle @
c5c4ab6c
...
...
@@ -46,11 +46,11 @@ namespace xmlscript
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
uno
::
XComponentContext
>
m_xContext
;
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
xml
::
sax
::
XDocumentHandler
>
m_xHandler
;
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
frame
::
XModel
>
m_xModel
;
sal_Bool
m_bOasis
;
bool
m_bOasis
;
public
:
XMLBasicExporterBase
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
uno
::
XComponentContext
>&
rxContext
,
sal_B
ool
bOasis
);
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
uno
::
XComponentContext
>&
rxContext
,
b
ool
bOasis
);
virtual
~
XMLBasicExporterBase
();
// XServiceInfo
...
...
xmlscript/source/xmlflat_imexp/xmlbas_import.cxx
Dosyayı görüntüle @
c5c4ab6c
...
...
@@ -406,7 +406,7 @@ void BasicElementBase::processingInstruction( const OUString& /*rTarget*/, const
// BasicImport
BasicImport
::
BasicImport
(
const
Reference
<
frame
::
XModel
>&
rxModel
,
sal_B
ool
bOasis
)
BasicImport
::
BasicImport
(
const
Reference
<
frame
::
XModel
>&
rxModel
,
b
ool
bOasis
)
:
m_xModel
(
rxModel
)
,
m_bOasis
(
bOasis
)
{
...
...
@@ -556,7 +556,7 @@ void BasicImport::setDocumentLocator( const Reference< xml::sax::XLocator >& /*x
// XMLBasicImporterBase
XMLBasicImporterBase
::
XMLBasicImporterBase
(
const
Reference
<
XComponentContext
>&
rxContext
,
sal_B
ool
bOasis
)
XMLBasicImporterBase
::
XMLBasicImporterBase
(
const
Reference
<
XComponentContext
>&
rxContext
,
b
ool
bOasis
)
:
m_xContext
(
rxContext
)
,
m_bOasis
(
bOasis
)
{
...
...
@@ -685,7 +685,7 @@ void BasicImport::setDocumentLocator( const Reference< xml::sax::XLocator >& /*x
// XMLBasicImporter
XMLBasicImporter
::
XMLBasicImporter
(
const
Reference
<
XComponentContext
>&
rxContext
)
:
XMLBasicImporterBase
(
rxContext
,
sal_F
alse
)
:
XMLBasicImporterBase
(
rxContext
,
f
alse
)
{
}
...
...
@@ -708,7 +708,7 @@ void BasicImport::setDocumentLocator( const Reference< xml::sax::XLocator >& /*x
// XMLOasisBasicImporter
XMLOasisBasicImporter
::
XMLOasisBasicImporter
(
const
Reference
<
XComponentContext
>&
rxContext
)
:
XMLBasicImporterBase
(
rxContext
,
sal_T
rue
)
:
XMLBasicImporterBase
(
rxContext
,
t
rue
)
{
}
...
...
xmlscript/source/xmlflat_imexp/xmlbas_import.hxx
Dosyayı görüntüle @
c5c4ab6c
...
...
@@ -195,10 +195,10 @@ namespace xmlscript
sal_Int32
XMLNS_UID
;
sal_Int32
XMLNS_XLINK_UID
;
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
frame
::
XModel
>
m_xModel
;
sal_B
ool
m_bOasis
;
b
ool
m_bOasis
;
public
:
BasicImport
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
frame
::
XModel
>&
rxModel
,
sal_B
ool
bOasis
);
BasicImport
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
frame
::
XModel
>&
rxModel
,
b
ool
bOasis
);
virtual
~
BasicImport
();
// XRoot
...
...
@@ -232,11 +232,11 @@ namespace xmlscript
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
uno
::
XComponentContext
>
m_xContext
;
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
xml
::
sax
::
XDocumentHandler
>
m_xHandler
;
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
frame
::
XModel
>
m_xModel
;
sal_Bool
m_bOasis
;
bool
m_bOasis
;
public
:
XMLBasicImporterBase
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
uno
::
XComponentContext
>&
rxContext
,
sal_B
ool
bOasis
);
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
uno
::
XComponentContext
>&
rxContext
,
b
ool
bOasis
);
virtual
~
XMLBasicImporterBase
();
// XServiceInfo
...
...
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