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
d2231e7f
Kaydet (Commit)
d2231e7f
authored
Agu 07, 2003
tarafından
Jens-Heiner Rechtien
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
INTEGRATION: CWS filtertracer01 (1.2.64); FILE MERGED
2003/07/11 13:53:00 sj 1.2.64.1: supporting DocumentHandler
üst
2df842d1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
filtertracer.cxx
filter/source/filtertracer/filtertracer.cxx
+10
-5
No files found.
filter/source/filtertracer/filtertracer.cxx
Dosyayı görüntüle @
d2231e7f
...
...
@@ -2,9 +2,9 @@
*
* $RCSfile: filtertracer.cxx,v $
*
* $Revision: 1.
2
$
* $Revision: 1.
3
$
*
* last change: $Author: hr $ $Date: 2003-0
3-25 17:57:44
$
* last change: $Author: hr $ $Date: 2003-0
8-07 15:22:38
$
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
...
...
@@ -62,10 +62,10 @@
#ifndef _FILTERTRACER_HXX
#include "filtertracer.hxx"
#endif
#include <uno/mapping.hxx>
#ifndef _UTL_STREAM_WRAPPER_HXX_
#include <unotools/streamwrap.hxx>
#endif
#include <uno/mapping.hxx>
#ifndef _UNTOOLS_UCBSTREAMHELPER_HXX
#include <unotools/ucbstreamhelper.hxx>
#endif
...
...
@@ -167,6 +167,8 @@ void SAL_CALL FilterTracer::initialize( const SEQ( NMSP_UNO::Any )& aArguments )
rProp
.
Value
>>=
mxOutputStream
;
else
if
(
rProp
.
Name
.
equalsAscii
(
"URL"
)
)
rProp
.
Value
>>=
msURL
;
else
if
(
rProp
.
Name
.
equalsAscii
(
"DocumentHandler"
)
)
rProp
.
Value
>>=
mxDocumentHandler
;
}
// check if we have to create the XOutputStream
...
...
@@ -227,7 +229,7 @@ void SAL_CALL FilterTracer::logp( sal_Int32 nLevel, const rtl::OUString& rSource
const
rtl
::
OUString
&
rSourceMethod
,
const
rtl
::
OUString
&
rMessage
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
{
if
(
mxOutputStream
.
is
()
)
if
(
mxOutputStream
.
is
()
||
mxDocumentHandler
.
is
()
)
{
if
(
!
(
ImplFilter
(
msClassFilter
,
rSourceClass
)
||
ImplFilter
(
msMethodFilter
,
rSourceMethod
)
||
ImplFilter
(
msMessageFilter
,
rMessage
)
)
)
...
...
@@ -245,7 +247,10 @@ void SAL_CALL FilterTracer::logp( sal_Int32 nLevel, const rtl::OUString& rSource
pPtr
+=
sMethod
.
getLength
();
memcpy
(
pPtr
,
sMessage
.
getStr
(),
sMessage
.
getLength
()
);
pPtr
+=
sMessage
.
getLength
();
mxOutputStream
->
writeBytes
(
aData
);
if
(
mxOutputStream
.
is
()
)
mxOutputStream
->
writeBytes
(
aData
);
if
(
mxDocumentHandler
.
is
()
)
mxDocumentHandler
->
characters
(
::
rtl
::
OUString
(
(
sal_Char
*
)
aData
.
getArray
(),
aData
.
getLength
(),
RTL_TEXTENCODING_UTF8
)
);
}
catch
(
...
)
{
...
...
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