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
5944eba6
Kaydet (Commit)
5944eba6
authored
Eki 27, 2012
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
writerfilter: make it easy to debug the old RTF filter
Change-Id: Ifc1d6b78f55e7f202f5cc391f1401de5b65ed395
üst
4a570118
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
RtfFilter.cxx
writerfilter/source/filter/RtfFilter.cxx
+13
-0
No files found.
writerfilter/source/filter/RtfFilter.cxx
Dosyayı görüntüle @
5944eba6
...
...
@@ -103,6 +103,18 @@ sal_Bool RtfFilter::filter( const uno::Sequence< beans::PropertyValue >& aDescri
uno
::
Reference
<
frame
::
XFrame
>
xFrame
=
aMediaDesc
.
getUnpackedValueOrDefault
(
MediaDescriptor
::
PROP_FRAME
(),
uno
::
Reference
<
frame
::
XFrame
>
());
#ifdef DBG_OLDFILTER
uno
::
Reference
<
lang
::
XMultiServiceFactory
>
xMSF
(
m_xContext
->
getServiceManager
(),
uno
::
UNO_QUERY_THROW
);
uno
::
Reference
<
uno
::
XInterface
>
xIfc
(
xMSF
->
createInstance
(
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.comp.Writer.RtfImport"
))),
uno
::
UNO_QUERY_THROW
);
if
(
!
xIfc
.
is
())
return
sal_False
;
uno
::
Reference
<
document
::
XImporter
>
xImprtr
(
xIfc
,
uno
::
UNO_QUERY_THROW
);
uno
::
Reference
<
document
::
XFilter
>
xFltr
(
xIfc
,
uno
::
UNO_QUERY_THROW
);
if
(
!
xImprtr
.
is
()
||
!
xFltr
.
is
())
return
sal_False
;
xImprtr
->
setTargetDocument
(
m_xDstDoc
);
bResult
=
xFltr
->
filter
(
aDescriptor
);
#else
xStatusIndicator
=
aMediaDesc
.
getUnpackedValueOrDefault
(
MediaDescriptor
::
PROP_STATUSINDICATOR
(),
uno
::
Reference
<
task
::
XStatusIndicator
>
());
...
...
@@ -114,6 +126,7 @@ sal_Bool RtfFilter::filter( const uno::Sequence< beans::PropertyValue >& aDescri
bResult
=
sal_True
;
#ifdef DEBUG_IMPORT
dmapperLogger
->
endDocument
();
#endif
#endif
sal_uInt32
nEndTime
=
osl_getGlobalTimer
();
SAL_INFO
(
"writerfilter.profile"
,
OSL_THIS_FUNC
<<
" finished in "
<<
nEndTime
-
nStartTime
<<
" ms"
);
...
...
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