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
06a68d19
Kaydet (Commit)
06a68d19
authored
13 years ago
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
use rtl::OStringBuffer::getStr()
üst
06ae0240
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
11 deletions
+11
-11
LibXSLTTransformer.cxx
filter/source/xsltfilter/LibXSLTTransformer.cxx
+5
-5
XSLTFilter.cxx
filter/source/xsltfilter/XSLTFilter.cxx
+6
-6
No files found.
filter/source/xsltfilter/LibXSLTTransformer.cxx
Dosyayı görüntüle @
06a68d19
...
...
@@ -305,16 +305,16 @@ namespace XSLT
OSL_ASSERT
(
m_transformer
!=
NULL
);
OSL_ASSERT
(
m_transformer
->
getInputStream
().
is
());
OSL_ASSERT
(
m_transformer
->
getOutputStream
().
is
());
OSL_ASSERT
(
m_transformer
->
getStyleSheetURL
());
OSL_ASSERT
(
!
m_transformer
->
getStyleSheetURL
().
isEmpty
());
::
std
::
map
<
const
char
*
,
OString
>::
iterator
pit
;
::
std
::
map
<
const
char
*
,
OString
>
pmap
=
m_transformer
->
getParameters
();
::
std
::
vector
<
const
char
*
>
params
(
pmap
.
size
()
*
2
+
1
);
// build parameters
int
paramIndex
=
0
;
for
(
pit
=
pmap
.
begin
();
pit
!=
pmap
.
end
();
++
pit
)
{
params
[
paramIndex
++
]
=
(
*
pit
).
first
;
params
[
paramIndex
++
]
=
(
*
pit
).
second
.
getStr
();
}
{
params
[
paramIndex
++
]
=
(
*
pit
).
first
;
params
[
paramIndex
++
]
=
(
*
pit
).
second
.
getStr
();
}
params
[
paramIndex
]
=
NULL
;
xmlDocPtr
doc
=
xmlReadIO
(
&
ParserInputBufferCallback
::
on_read
,
&
ParserInputBufferCallback
::
on_close
,
...
...
This diff is collapsed.
Click to expand it.
filter/source/xsltfilter/XSLTFilter.cxx
Dosyayı görüntüle @
06a68d19
...
...
@@ -40,6 +40,7 @@
#include <osl/time.h>
#include <osl/conditn.h>
#include <rtl/strbuf.hxx>
#include <tools/urlobj.hxx>
#include <comphelper/interaction.hxx>
...
...
@@ -220,12 +221,11 @@ m_rServiceFactory(r), m_bTerminated(sal_False), m_bError(sal_False)
{
Exception
e
;
if
(
a
>>=
e
)
{
OString
aMessage
(
"XSLTFilter::error was called: "
);
aMessage
+=
OUStringToOString
(
e
.
Message
,
RTL_TEXTENCODING_ASCII_US
);
OSL_FAIL
(
aMessage
);
}
{
rtl
::
OStringBuffer
aMessage
(
RTL_CONSTASCII_STRINGPARAM
(
"XSLTFilter::error was called: "
));
aMessage
.
append
(
rtl
::
OUStringToOString
(
e
.
Message
,
RTL_TEXTENCODING_ASCII_US
));
OSL_FAIL
(
aMessage
.
getStr
());
}
m_bError
=
sal_True
;
osl_setCondition
(
m_cTransformed
);
}
...
...
This diff is collapsed.
Click to expand it.
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