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
f39d69f6
Kaydet (Commit)
f39d69f6
authored
Eki 03, 2014
tarafından
Matúš Kukan
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Remove few pointless OUString::number() and one method
Change-Id: I3e9a302a7513eebfeff07402f71fc3dde22e4cc2
üst
c0c45cad
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
14 deletions
+9
-14
fshelper.hxx
include/sax/fshelper.hxx
+0
-1
xmlfilterbase.cxx
oox/source/core/xmlfilterbase.cxx
+3
-4
fshelper.cxx
sax/source/tools/fshelper.cxx
+6
-9
No files found.
include/sax/fshelper.hxx
Dosyayı görüntüle @
f39d69f6
...
...
@@ -124,7 +124,6 @@ public:
FastSerializerHelper
*
write
(
const
char
*
value
);
FastSerializerHelper
*
write
(
const
OUString
&
value
);
FastSerializerHelper
*
write
(
const
OString
&
value
);
FastSerializerHelper
*
write
(
sal_Int32
value
);
FastSerializerHelper
*
write
(
sal_Int64
value
);
FastSerializerHelper
*
write
(
double
value
);
...
...
oox/source/core/xmlfilterbase.cxx
Dosyayı görüntüle @
f39d69f6
...
...
@@ -524,7 +524,7 @@ static void
writeElement
(
FSHelperPtr
pDoc
,
sal_Int32
nXmlElement
,
const
sal_Int32
nValue
)
{
pDoc
->
startElement
(
nXmlElement
,
FSEND
);
pDoc
->
write
(
OUString
::
number
(
nValue
)
);
pDoc
->
write
(
nValue
);
pDoc
->
endElement
(
nXmlElement
);
}
...
...
@@ -677,7 +677,7 @@ writeAppProperties( XmlFilterBase& rSelf, Reference< XDocumentProperties > xProp
{
sal_Int32
nValue
=
0
;
if
(
it
->
second
>>=
nValue
)
writeElement
(
pAppProps
,
XML_Paragraphs
,
OUString
::
number
(
nValue
)
);
writeElement
(
pAppProps
,
XML_Paragraphs
,
nValue
);
}
uno
::
Reference
<
beans
::
XPropertyAccess
>
xUserDefinedProperties
(
xProperties
->
getUserDefinedProperties
(),
uno
::
UNO_QUERY
);
...
...
@@ -719,10 +719,9 @@ writeCustomProperties( XmlFilterBase& rSelf, Reference< XDocumentProperties > xP
OString
aName
=
OUStringToOString
(
aprop
[
n
].
Name
,
RTL_TEXTENCODING_ASCII_US
);
// pid starts from 2 not from 1 as MS supports pid from 2
OString
pid
=
OUStringToOString
(
OUString
::
number
(
n
+
2
),
RTL_TEXTENCODING_ASCII_US
);
pAppProps
->
startElement
(
XML_property
,
XML_fmtid
,
"{D5CDD505-2E9C-101B-9397-08002B2CF9AE}"
,
XML_pid
,
pid
,
XML_pid
,
OString
::
number
(
n
+
2
)
,
XML_name
,
aName
,
FSEND
);
...
...
sax/source/tools/fshelper.cxx
Dosyayı görüntüle @
f39d69f6
...
...
@@ -112,25 +112,22 @@ FastSerializerHelper* FastSerializerHelper::write(const OUString& value)
return
this
;
}
FastSerializerHelper
*
FastSerializerHelper
::
write
(
const
OString
&
value
)
{
mpSerializer
->
write
(
value
);
return
this
;
}
FastSerializerHelper
*
FastSerializerHelper
::
write
(
sal_Int32
value
)
{
return
write
(
OString
::
number
(
value
));
mpSerializer
->
write
(
OString
::
number
(
value
));
return
this
;
}
FastSerializerHelper
*
FastSerializerHelper
::
write
(
sal_Int64
value
)
{
return
write
(
OString
::
number
(
value
));
mpSerializer
->
write
(
OString
::
number
(
value
));
return
this
;
}
FastSerializerHelper
*
FastSerializerHelper
::
write
(
double
value
)
{
return
write
(
OString
::
number
(
value
));
mpSerializer
->
write
(
OString
::
number
(
value
));
return
this
;
}
FastSerializerHelper
*
FastSerializerHelper
::
writeEscaped
(
const
char
*
value
)
...
...
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