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
be48e04b
Kaydet (Commit)
be48e04b
authored
Nis 17, 2016
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Elide const vars
Change-Id: I1b2a7b071f9740e8c848f543e32fd47f054c8318
üst
29840e67
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
17 deletions
+8
-17
xpathlib.cxx
forms/source/xforms/xpathlib/xpathlib.cxx
+2
-4
xmlfilter.cxx
reportdesign/source/filter/xml/xmlfilter.cxx
+2
-6
SwXMLSectionList.cxx
sw/source/core/swg/SwXMLSectionList.cxx
+4
-7
No files found.
forms/source/xforms/xpathlib/xpathlib.cxx
Dosyayı görüntüle @
be48e04b
...
...
@@ -213,8 +213,6 @@ void xforms_indexFunction(xmlXPathParserContextPtr /*ctxt*/, int /*nargs*/)
}
// String Functions
static
const
char
*
_version
=
"1.0"
;
static
const
char
*
_conformance
=
"conformance"
;
void
xforms_propertyFunction
(
xmlXPathParserContextPtr
ctxt
,
int
nargs
)
{
if
(
nargs
!=
1
)
XP_ERROR
(
XPATH_INVALID_ARITY
);
...
...
@@ -222,9 +220,9 @@ void xforms_propertyFunction(xmlXPathParserContextPtr ctxt, int nargs)
if
(
xmlXPathCheckError
(
ctxt
))
XP_ERROR
(
XPATH_INVALID_TYPE
);
OUString
aString
(
reinterpret_cast
<
char
*>
(
pString
),
strlen
(
reinterpret_cast
<
char
*>
(
pString
)),
RTL_TEXTENCODING_UTF8
);
if
(
aString
.
equalsIgnoreAsciiCase
(
"version"
))
xmlXPathReturnString
(
ctxt
,
reinterpret_cast
<
xmlChar
*>
(
const_cast
<
char
*>
(
_version
)));
xmlXPathReturnString
(
ctxt
,
reinterpret_cast
<
xmlChar
*>
(
const_cast
<
char
*>
(
"1.0"
)));
else
if
(
aString
.
equalsIgnoreAsciiCase
(
"conformance-level"
))
xmlXPathReturnString
(
ctxt
,
reinterpret_cast
<
xmlChar
*>
(
const_cast
<
char
*>
(
_conformance
)));
xmlXPathReturnString
(
ctxt
,
reinterpret_cast
<
xmlChar
*>
(
const_cast
<
char
*>
(
"conformance"
)));
else
xmlXPathReturnEmptyString
(
ctxt
);
}
...
...
reportdesign/source/filter/xml/xmlfilter.cxx
Dosyayı görüntüle @
be48e04b
...
...
@@ -77,10 +77,6 @@ using namespace ::com::sun::star::xml::sax;
using
namespace
xmloff
;
using
namespace
::
com
::
sun
::
star
::
util
;
sal_Char
const
sXML_np__rpt
[]
=
"_report"
;
sal_Char
const
sXML_np___rpt
[]
=
"__report"
;
class
RptMLMasterStylesContext_Impl
:
public
XMLTextMasterStylesContext
{
...
...
@@ -357,11 +353,11 @@ ORptFilter::ORptFilter( const uno::Reference< XComponentContext >& _rxContext, S
{
GetMM100UnitConverter
().
SetCoreMeasureUnit
(
util
::
MeasureUnit
::
MM_100TH
);
GetMM100UnitConverter
().
SetXMLMeasureUnit
(
util
::
MeasureUnit
::
CM
);
GetNamespaceMap
().
Add
(
sXML_np__rpt
,
GetNamespaceMap
().
Add
(
"_report"
,
GetXMLToken
(
XML_N_RPT
),
XML_NAMESPACE_REPORT
);
GetNamespaceMap
().
Add
(
sXML_np___rpt
,
GetNamespaceMap
().
Add
(
"__report"
,
GetXMLToken
(
XML_N_RPT_OASIS
),
XML_NAMESPACE_REPORT
);
...
...
sw/source/core/swg/SwXMLSectionList.cxx
Dosyayı görüntüle @
be48e04b
...
...
@@ -25,21 +25,18 @@
using
namespace
::
com
::
sun
::
star
;
using
namespace
::
xmloff
::
token
;
// TODO: verify if these should match the same-name constants
// in xmloff/source/core/xmlimp.cxx ("_office" and "_office")
sal_Char
const
sXML_np__office
[]
=
"_ooffice"
;
sal_Char
const
sXML_np__text
[]
=
"_otext"
;
SwXMLSectionList
::
SwXMLSectionList
(
const
uno
::
Reference
<
uno
::
XComponentContext
>&
rContext
,
std
::
vector
<
OUString
*>
&
rNewSectionList
)
:
SvXMLImport
(
rContext
,
""
),
rSectionList
(
rNewSectionList
)
{
GetNamespaceMap
().
Add
(
sXML_np__office
,
// TODO: verify if these should match the same-name constants
// in xmloff/source/core/xmlimp.cxx ("_office" and "_office")
GetNamespaceMap
().
Add
(
"_ooffice"
,
GetXMLToken
(
XML_N_OFFICE_OOO
),
XML_NAMESPACE_OFFICE
);
GetNamespaceMap
().
Add
(
sXML_np__text
,
GetNamespaceMap
().
Add
(
"_otext"
,
GetXMLToken
(
XML_N_TEXT_OOO
),
XML_NAMESPACE_TEXT
);
}
...
...
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