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
83d77931
Kaydet (Commit)
83d77931
authored
May 14, 2014
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
writerperfect: remove SAL_INFO's that only mark function entry
Change-Id: I551d3d6b44845bb324b4afcef17fdae0e0fc88e2
üst
456352e3
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
0 additions
and
90 deletions
+0
-90
CDRImportFilter.cxx
writerperfect/source/draw/CDRImportFilter.cxx
+0
-10
CMXImportFilter.cxx
writerperfect/source/draw/CMXImportFilter.cxx
+0
-10
FreehandImportFilter.cxx
writerperfect/source/draw/FreehandImportFilter.cxx
+0
-10
ImportFilterBase.cxx
writerperfect/source/draw/ImportFilterBase.cxx
+0
-5
MSPUBImportFilter.cxx
writerperfect/source/draw/MSPUBImportFilter.cxx
+0
-10
VisioImportFilter.cxx
writerperfect/source/draw/VisioImportFilter.cxx
+0
-10
WPGImportFilter.cxx
writerperfect/source/draw/WPGImportFilter.cxx
+0
-10
KeynoteImportFilter.cxx
writerperfect/source/impress/KeynoteImportFilter.cxx
+0
-12
ImportFilterBase.cxx
writerperfect/source/writer/ImportFilterBase.cxx
+0
-5
WordPerfectImportFilter.cxx
writerperfect/source/writer/WordPerfectImportFilter.cxx
+0
-8
No files found.
writerperfect/source/draw/CDRImportFilter.cxx
Dosyayı görüntüle @
83d77931
...
...
@@ -29,15 +29,11 @@ using com::sun::star::uno::XInterface;
bool
CDRImportFilter
::
doImportDocument
(
WPXInputStream
&
rInput
,
libwpg
::
WPGPaintInterface
&
rGenerator
)
{
SAL_INFO
(
"writerperfect"
,
"CDRImportFilter::doImportDocument"
);
return
libcdr
::
CDRDocument
::
parse
(
&
rInput
,
&
rGenerator
);
}
bool
CDRImportFilter
::
doDetectFormat
(
WPXInputStream
&
rInput
,
OUString
&
rTypeName
)
{
SAL_INFO
(
"writerperfect"
,
"CDRImportFilter::doDetectFormat"
);
if
(
libcdr
::
CDRDocument
::
isSupported
(
&
rInput
))
{
rTypeName
=
"draw_CorelDraw_Document"
;
...
...
@@ -50,14 +46,12 @@ bool CDRImportFilter::doDetectFormat( WPXInputStream &rInput, OUString &rTypeNam
OUString
CDRImportFilter_getImplementationName
()
throw
(
RuntimeException
)
{
SAL_INFO
(
"writerperfect"
,
"CDRImportFilter_getImplementationName"
);
return
OUString
(
"com.sun.star.comp.Draw.CDRImportFilter"
);
}
Sequence
<
OUString
>
SAL_CALL
CDRImportFilter_getSupportedServiceNames
(
)
throw
(
RuntimeException
)
{
SAL_INFO
(
"writerperfect"
,
"CDRImportFilter_getSupportedServiceNames"
);
Sequence
<
OUString
>
aRet
(
2
);
OUString
*
pArray
=
aRet
.
getArray
();
pArray
[
0
]
=
"com.sun.star.document.ImportFilter"
;
...
...
@@ -68,7 +62,6 @@ throw (RuntimeException)
Reference
<
XInterface
>
SAL_CALL
CDRImportFilter_createInstance
(
const
Reference
<
XComponentContext
>
&
rContext
)
throw
(
Exception
)
{
SAL_INFO
(
"writerperfect"
,
"CDRImportFilter_createInstance"
);
return
(
cppu
::
OWeakObject
*
)
new
CDRImportFilter
(
rContext
);
}
...
...
@@ -76,19 +69,16 @@ throw( Exception )
OUString
SAL_CALL
CDRImportFilter
::
getImplementationName
(
)
throw
(
RuntimeException
,
std
::
exception
)
{
SAL_INFO
(
"writerperfect"
,
"CDRImportFilter::getImplementationName"
);
return
CDRImportFilter_getImplementationName
();
}
sal_Bool
SAL_CALL
CDRImportFilter
::
supportsService
(
const
OUString
&
rServiceName
)
throw
(
RuntimeException
,
std
::
exception
)
{
SAL_INFO
(
"writerperfect"
,
"CDRImportFilter::supportsService"
);
return
cppu
::
supportsService
(
this
,
rServiceName
);
}
Sequence
<
OUString
>
SAL_CALL
CDRImportFilter
::
getSupportedServiceNames
(
)
throw
(
RuntimeException
,
std
::
exception
)
{
SAL_INFO
(
"writerperfect"
,
"CDRImportFilter::getSupportedServiceNames"
);
return
CDRImportFilter_getSupportedServiceNames
();
}
...
...
writerperfect/source/draw/CMXImportFilter.cxx
Dosyayı görüntüle @
83d77931
...
...
@@ -29,15 +29,11 @@ using com::sun::star::uno::XInterface;
bool
CMXImportFilter
::
doImportDocument
(
WPXInputStream
&
rInput
,
libwpg
::
WPGPaintInterface
&
rGenerator
)
{
SAL_INFO
(
"writerperfect"
,
"CMXImportFilter::doImportDocument"
);
return
libcdr
::
CMXDocument
::
parse
(
&
rInput
,
&
rGenerator
);
}
bool
CMXImportFilter
::
doDetectFormat
(
WPXInputStream
&
rInput
,
OUString
&
rTypeName
)
{
SAL_INFO
(
"writerperfect"
,
"CMXImportFilter::doDetectFormat"
);
if
(
libcdr
::
CMXDocument
::
isSupported
(
&
rInput
))
{
rTypeName
=
"draw_Corel_Presentation_Exchange"
;
...
...
@@ -50,14 +46,12 @@ bool CMXImportFilter::doDetectFormat( WPXInputStream &rInput, OUString &rTypeNam
OUString
CMXImportFilter_getImplementationName
()
throw
(
RuntimeException
)
{
SAL_INFO
(
"writerperfect"
,
"CMXImportFilter_getImplementationName"
);
return
OUString
(
"com.sun.star.comp.Draw.CMXImportFilter"
);
}
Sequence
<
OUString
>
SAL_CALL
CMXImportFilter_getSupportedServiceNames
(
)
throw
(
RuntimeException
)
{
SAL_INFO
(
"writerperfect"
,
"CMXImportFilter_getSupportedServiceNames"
);
Sequence
<
OUString
>
aRet
(
2
);
OUString
*
pArray
=
aRet
.
getArray
();
pArray
[
0
]
=
"com.sun.star.document.ImportFilter"
;
...
...
@@ -68,7 +62,6 @@ throw (RuntimeException)
Reference
<
XInterface
>
SAL_CALL
CMXImportFilter_createInstance
(
const
Reference
<
XComponentContext
>
&
rContext
)
throw
(
Exception
)
{
SAL_INFO
(
"writerperfect"
,
"CMXImportFilter_createInstance"
);
return
(
cppu
::
OWeakObject
*
)
new
CMXImportFilter
(
rContext
);
}
...
...
@@ -76,19 +69,16 @@ throw( Exception )
OUString
SAL_CALL
CMXImportFilter
::
getImplementationName
(
)
throw
(
RuntimeException
,
std
::
exception
)
{
SAL_INFO
(
"writerperfect"
,
"CMXImportFilter::getImplementationName"
);
return
CMXImportFilter_getImplementationName
();
}
sal_Bool
SAL_CALL
CMXImportFilter
::
supportsService
(
const
OUString
&
rServiceName
)
throw
(
RuntimeException
,
std
::
exception
)
{
SAL_INFO
(
"writerperfect"
,
"CMXImportFilter::supportsService"
);
return
cppu
::
supportsService
(
this
,
rServiceName
);
}
Sequence
<
OUString
>
SAL_CALL
CMXImportFilter
::
getSupportedServiceNames
(
)
throw
(
RuntimeException
,
std
::
exception
)
{
SAL_INFO
(
"writerperfect"
,
"CMXImportFilter::getSupportedServiceNames"
);
return
CMXImportFilter_getSupportedServiceNames
();
}
...
...
writerperfect/source/draw/FreehandImportFilter.cxx
Dosyayı görüntüle @
83d77931
...
...
@@ -25,15 +25,11 @@ using com::sun::star::uno::XInterface;
bool
FreehandImportFilter
::
doImportDocument
(
WPXInputStream
&
rInput
,
libwpg
::
WPGPaintInterface
&
rGenerator
)
{
SAL_INFO
(
"writerperfect"
,
"FreehandImportFilter::doImportDocument"
);
return
libfreehand
::
FreeHandDocument
::
parse
(
&
rInput
,
&
rGenerator
);
}
bool
FreehandImportFilter
::
doDetectFormat
(
WPXInputStream
&
rInput
,
OUString
&
rTypeName
)
{
SAL_INFO
(
"writerperfect"
,
"FreehandImportFilter::doDetectFormat"
);
if
(
libfreehand
::
FreeHandDocument
::
isSupported
(
&
rInput
))
{
rTypeName
=
"draw_Freehand_Document"
;
...
...
@@ -46,14 +42,12 @@ bool FreehandImportFilter::doDetectFormat( WPXInputStream &rInput, OUString &rTy
OUString
FreehandImportFilter_getImplementationName
()
throw
(
RuntimeException
)
{
SAL_INFO
(
"writerperfect"
,
"FreehandImportFilter_getImplementationName"
);
return
OUString
(
"com.sun.star.comp.Draw.FreehandImportFilter"
);
}
Sequence
<
OUString
>
SAL_CALL
FreehandImportFilter_getSupportedServiceNames
(
)
throw
(
RuntimeException
)
{
SAL_INFO
(
"writerperfect"
,
"FreehandImportFilter_getSupportedServiceNames"
);
Sequence
<
OUString
>
aRet
(
2
);
OUString
*
pArray
=
aRet
.
getArray
();
pArray
[
0
]
=
"com.sun.star.document.ImportFilter"
;
...
...
@@ -64,7 +58,6 @@ throw (RuntimeException)
Reference
<
XInterface
>
SAL_CALL
FreehandImportFilter_createInstance
(
const
Reference
<
XComponentContext
>
&
rContext
)
throw
(
Exception
)
{
SAL_INFO
(
"writerperfect"
,
"FreehandImportFilter_createInstance"
);
return
(
cppu
::
OWeakObject
*
)
new
FreehandImportFilter
(
rContext
);
}
...
...
@@ -72,19 +65,16 @@ throw( Exception )
OUString
SAL_CALL
FreehandImportFilter
::
getImplementationName
(
)
throw
(
RuntimeException
,
std
::
exception
)
{
SAL_INFO
(
"writerperfect"
,
"FreehandImportFilter::getImplementationName"
);
return
FreehandImportFilter_getImplementationName
();
}
sal_Bool
SAL_CALL
FreehandImportFilter
::
supportsService
(
const
OUString
&
rServiceName
)
throw
(
RuntimeException
,
std
::
exception
)
{
SAL_INFO
(
"writerperfect"
,
"FreehandImportFilter::supportsService"
);
return
cppu
::
supportsService
(
this
,
rServiceName
);
}
Sequence
<
OUString
>
SAL_CALL
FreehandImportFilter
::
getSupportedServiceNames
(
)
throw
(
RuntimeException
,
std
::
exception
)
{
SAL_INFO
(
"writerperfect"
,
"FreehandImportFilter::getSupportedServiceNames"
);
return
FreehandImportFilter_getSupportedServiceNames
();
}
...
...
writerperfect/source/draw/ImportFilterBase.cxx
Dosyayı görüntüle @
83d77931
...
...
@@ -62,7 +62,6 @@ ImportFilterImpl::~ImportFilterImpl()
sal_Bool
SAL_CALL
ImportFilterImpl
::
filter
(
const
Sequence
<
::
com
::
sun
::
star
::
beans
::
PropertyValue
>&
aDescriptor
)
throw
(
RuntimeException
,
std
::
exception
)
{
SAL_INFO
(
"writerperfect"
,
"ImportFilterImpl::filter"
);
sal_Int32
nLength
=
aDescriptor
.
getLength
();
const
PropertyValue
*
pValue
=
aDescriptor
.
getConstArray
();
Reference
<
XInputStream
>
xInputStream
;
...
...
@@ -101,14 +100,12 @@ throw (RuntimeException, std::exception)
void
SAL_CALL
ImportFilterImpl
::
cancel
(
)
throw
(
RuntimeException
,
std
::
exception
)
{
SAL_INFO
(
"writerperfect"
,
"ImportFilterImpl::cancel"
);
}
// XImporter
void
SAL_CALL
ImportFilterImpl
::
setTargetDocument
(
const
Reference
<
::
com
::
sun
::
star
::
lang
::
XComponent
>&
xDoc
)
throw
(
::
com
::
sun
::
star
::
lang
::
IllegalArgumentException
,
RuntimeException
,
std
::
exception
)
{
SAL_INFO
(
"writerperfect"
,
"ImportFilterImpl::setTargetDocument"
);
mxDoc
=
xDoc
;
}
...
...
@@ -116,7 +113,6 @@ throw (::com::sun::star::lang::IllegalArgumentException, RuntimeException, std::
OUString
SAL_CALL
ImportFilterImpl
::
detect
(
com
::
sun
::
star
::
uno
::
Sequence
<
PropertyValue
>&
Descriptor
)
throw
(
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
{
SAL_INFO
(
"writerperfect"
,
"ImportFilterImpl::detect"
);
OUString
sTypeName
;
sal_Int32
nLength
=
Descriptor
.
getLength
();
sal_Int32
location
=
nLength
;
...
...
@@ -156,7 +152,6 @@ throw( com::sun::star::uno::RuntimeException, std::exception )
void
SAL_CALL
ImportFilterImpl
::
initialize
(
const
Sequence
<
Any
>&
aArguments
)
throw
(
Exception
,
RuntimeException
,
std
::
exception
)
{
SAL_INFO
(
"writerperfect"
,
"ImportFilterImpl::initialize"
);
Sequence
<
PropertyValue
>
aAnySeq
;
sal_Int32
nLength
=
aArguments
.
getLength
();
if
(
nLength
&&
(
aArguments
[
0
]
>>=
aAnySeq
)
)
...
...
writerperfect/source/draw/MSPUBImportFilter.cxx
Dosyayı görüntüle @
83d77931
...
...
@@ -27,15 +27,11 @@ using com::sun::star::uno::XInterface;
bool
MSPUBImportFilter
::
doImportDocument
(
WPXInputStream
&
rInput
,
libwpg
::
WPGPaintInterface
&
rGenerator
)
{
SAL_INFO
(
"writerperfect"
,
"MSPUBImportFilter::doImportDocument"
);
return
libmspub
::
MSPUBDocument
::
parse
(
&
rInput
,
&
rGenerator
);
}
bool
MSPUBImportFilter
::
doDetectFormat
(
WPXInputStream
&
rInput
,
OUString
&
rTypeName
)
{
SAL_INFO
(
"writerperfect"
,
"MSPUBImportFilter::doDetectFormat"
);
if
(
libmspub
::
MSPUBDocument
::
isSupported
(
&
rInput
))
{
rTypeName
=
"draw_Publisher_Document"
;
...
...
@@ -48,14 +44,12 @@ bool MSPUBImportFilter::doDetectFormat( WPXInputStream &rInput, OUString &rTypeN
OUString
MSPUBImportFilter_getImplementationName
()
throw
(
RuntimeException
)
{
SAL_INFO
(
"writerperfect"
,
"MSPUBImportFilter_getImplementationName"
);
return
OUString
(
"com.sun.star.comp.Draw.MSPUBImportFilter"
);
}
Sequence
<
OUString
>
SAL_CALL
MSPUBImportFilter_getSupportedServiceNames
(
)
throw
(
RuntimeException
)
{
SAL_INFO
(
"writerperfect"
,
"MSPUBImportFilter_getSupportedServiceNames"
);
Sequence
<
OUString
>
aRet
(
2
);
OUString
*
pArray
=
aRet
.
getArray
();
pArray
[
0
]
=
"com.sun.star.document.ImportFilter"
;
...
...
@@ -66,7 +60,6 @@ throw (RuntimeException)
Reference
<
XInterface
>
SAL_CALL
MSPUBImportFilter_createInstance
(
const
Reference
<
XComponentContext
>
&
rContext
)
throw
(
Exception
)
{
SAL_INFO
(
"writerperfect"
,
"MSPUBImportFilter_createInstance"
);
return
(
cppu
::
OWeakObject
*
)
new
MSPUBImportFilter
(
rContext
);
}
...
...
@@ -74,19 +67,16 @@ throw( Exception )
OUString
SAL_CALL
MSPUBImportFilter
::
getImplementationName
(
)
throw
(
RuntimeException
,
std
::
exception
)
{
SAL_INFO
(
"writerperfect"
,
"MSPUBImportFilter::getImplementationName"
);
return
MSPUBImportFilter_getImplementationName
();
}
sal_Bool
SAL_CALL
MSPUBImportFilter
::
supportsService
(
const
OUString
&
rServiceName
)
throw
(
RuntimeException
,
std
::
exception
)
{
SAL_INFO
(
"writerperfect"
,
"MSPUBImportFilter::supportsService"
);
return
cppu
::
supportsService
(
this
,
rServiceName
);
}
Sequence
<
OUString
>
SAL_CALL
MSPUBImportFilter
::
getSupportedServiceNames
(
)
throw
(
RuntimeException
,
std
::
exception
)
{
SAL_INFO
(
"writerperfect"
,
"MSPUBImportFilter::getSupportedServiceNames"
);
return
MSPUBImportFilter_getSupportedServiceNames
();
}
...
...
writerperfect/source/draw/VisioImportFilter.cxx
Dosyayı görüntüle @
83d77931
...
...
@@ -25,15 +25,11 @@ using com::sun::star::uno::XInterface;
bool
VisioImportFilter
::
doImportDocument
(
WPXInputStream
&
rInput
,
libwpg
::
WPGPaintInterface
&
rGenerator
)
{
SAL_INFO
(
"writerperfect"
,
"VisioImportFilter::doImportDocument"
);
return
libvisio
::
VisioDocument
::
parse
(
&
rInput
,
&
rGenerator
);
}
bool
VisioImportFilter
::
doDetectFormat
(
WPXInputStream
&
rInput
,
OUString
&
rTypeName
)
{
SAL_INFO
(
"writerperfect"
,
"VisioImportFilter::doDetectFormat"
);
if
(
libvisio
::
VisioDocument
::
isSupported
(
&
rInput
))
{
rTypeName
=
"draw_Visio_Document"
;
...
...
@@ -46,14 +42,12 @@ bool VisioImportFilter::doDetectFormat( WPXInputStream &rInput, OUString &rTypeN
OUString
VisioImportFilter_getImplementationName
()
throw
(
RuntimeException
)
{
SAL_INFO
(
"writerperfect"
,
"VisioImportFilter_getImplementationName"
);
return
OUString
(
"com.sun.star.comp.Draw.VisioImportFilter"
);
}
Sequence
<
OUString
>
SAL_CALL
VisioImportFilter_getSupportedServiceNames
(
)
throw
(
RuntimeException
)
{
SAL_INFO
(
"writerperfect"
,
"VisioImportFilter_getSupportedServiceNames"
);
Sequence
<
OUString
>
aRet
(
2
);
OUString
*
pArray
=
aRet
.
getArray
();
pArray
[
0
]
=
"com.sun.star.document.ImportFilter"
;
...
...
@@ -64,7 +58,6 @@ throw (RuntimeException)
Reference
<
XInterface
>
SAL_CALL
VisioImportFilter_createInstance
(
const
Reference
<
XComponentContext
>
&
rContext
)
throw
(
Exception
)
{
SAL_INFO
(
"writerperfect"
,
"VisioImportFilter_createInstance"
);
return
(
cppu
::
OWeakObject
*
)
new
VisioImportFilter
(
rContext
);
}
...
...
@@ -72,19 +65,16 @@ throw( Exception )
OUString
SAL_CALL
VisioImportFilter
::
getImplementationName
(
)
throw
(
RuntimeException
,
std
::
exception
)
{
SAL_INFO
(
"writerperfect"
,
"VisioImportFilter::getImplementationName"
);
return
VisioImportFilter_getImplementationName
();
}
sal_Bool
SAL_CALL
VisioImportFilter
::
supportsService
(
const
OUString
&
rServiceName
)
throw
(
RuntimeException
,
std
::
exception
)
{
SAL_INFO
(
"writerperfect"
,
"VisioImportFilter::supportsService"
);
return
cppu
::
supportsService
(
this
,
rServiceName
);
}
Sequence
<
OUString
>
SAL_CALL
VisioImportFilter
::
getSupportedServiceNames
(
)
throw
(
RuntimeException
,
std
::
exception
)
{
SAL_INFO
(
"writerperfect"
,
"VisioImportFilter::getSupportedServiceNames"
);
return
VisioImportFilter_getSupportedServiceNames
();
}
...
...
writerperfect/source/draw/WPGImportFilter.cxx
Dosyayı görüntüle @
83d77931
...
...
@@ -30,15 +30,11 @@ using com::sun::star::uno::XInterface;
bool
WPGImportFilter
::
doImportDocument
(
WPXInputStream
&
rInput
,
libwpg
::
WPGPaintInterface
&
rGenerator
)
{
SAL_INFO
(
"writerperfect"
,
"WPGImportFilter::doImportDocument"
);
return
libwpg
::
WPGraphics
::
parse
(
&
rInput
,
&
rGenerator
);
}
bool
WPGImportFilter
::
doDetectFormat
(
WPXInputStream
&
rInput
,
OUString
&
rTypeName
)
{
SAL_INFO
(
"writerperfect"
,
"WPGImportFilter::doDetectFormat"
);
if
(
libwpg
::
WPGraphics
::
isSupported
(
&
rInput
))
{
rTypeName
=
"draw_WordPerfect_Graphics"
;
...
...
@@ -51,14 +47,12 @@ bool WPGImportFilter::doDetectFormat( WPXInputStream &rInput, OUString &rTypeNam
OUString
WPGImportFilter_getImplementationName
()
throw
(
RuntimeException
)
{
SAL_INFO
(
"writerperfect"
,
"WPGImportFilter_getImplementationName"
);
return
OUString
(
"com.sun.star.comp.Draw.WPGImportFilter"
);
}
Sequence
<
OUString
>
SAL_CALL
WPGImportFilter_getSupportedServiceNames
(
)
throw
(
RuntimeException
)
{
SAL_INFO
(
"writerperfect"
,
"WPGImportFilter_getSupportedServiceNames"
);
Sequence
<
OUString
>
aRet
(
2
);
OUString
*
pArray
=
aRet
.
getArray
();
pArray
[
0
]
=
"com.sun.star.document.ImportFilter"
;
...
...
@@ -69,7 +63,6 @@ throw (RuntimeException)
Reference
<
XInterface
>
SAL_CALL
WPGImportFilter_createInstance
(
const
Reference
<
XComponentContext
>
&
rContext
)
throw
(
Exception
)
{
SAL_INFO
(
"writerperfect"
,
"WPGImportFilter_createInstance"
);
return
(
cppu
::
OWeakObject
*
)
new
WPGImportFilter
(
rContext
);
}
...
...
@@ -77,19 +70,16 @@ throw( Exception )
OUString
SAL_CALL
WPGImportFilter
::
getImplementationName
(
)
throw
(
RuntimeException
,
std
::
exception
)
{
SAL_INFO
(
"writerperfect"
,
"WPGImportFilter::getImplementationName"
);
return
WPGImportFilter_getImplementationName
();
}
sal_Bool
SAL_CALL
WPGImportFilter
::
supportsService
(
const
OUString
&
rServiceName
)
throw
(
RuntimeException
,
std
::
exception
)
{
SAL_INFO
(
"writerperfect"
,
"WPGImportFilter::supportsService"
);
return
cppu
::
supportsService
(
this
,
rServiceName
);
}
Sequence
<
OUString
>
SAL_CALL
WPGImportFilter
::
getSupportedServiceNames
(
)
throw
(
RuntimeException
,
std
::
exception
)
{
SAL_INFO
(
"writerperfect"
,
"WPGImportFilter::getSupportedServiceNames"
);
return
WPGImportFilter_getSupportedServiceNames
();
}
...
...
writerperfect/source/impress/KeynoteImportFilter.cxx
Dosyayı görüntüle @
83d77931
...
...
@@ -104,7 +104,6 @@ bool lcl_isPackage( const Any &rComponentData )
sal_Bool
SAL_CALL
KeynoteImportFilter
::
filter
(
const
Sequence
<
::
com
::
sun
::
star
::
beans
::
PropertyValue
>&
aDescriptor
)
throw
(
RuntimeException
,
std
::
exception
)
{
SAL_INFO
(
"writerperfect"
,
"KeynoteImportFilter::filter"
);
sal_Int32
nLength
=
aDescriptor
.
getLength
();
const
PropertyValue
*
pValue
=
aDescriptor
.
getConstArray
();
Reference
<
XInputStream
>
xInputStream
;
...
...
@@ -159,14 +158,12 @@ throw (RuntimeException, std::exception)
void
SAL_CALL
KeynoteImportFilter
::
cancel
(
)
throw
(
RuntimeException
,
std
::
exception
)
{
SAL_INFO
(
"writerperfect"
,
"KeynoteImportFilter::cancel"
);
}
// XImporter
void
SAL_CALL
KeynoteImportFilter
::
setTargetDocument
(
const
Reference
<
::
com
::
sun
::
star
::
lang
::
XComponent
>&
xDoc
)
throw
(
::
com
::
sun
::
star
::
lang
::
IllegalArgumentException
,
RuntimeException
,
std
::
exception
)
{
SAL_INFO
(
"writerperfect"
,
"KeynoteImportFilter::setTargetDocument"
);
mxDoc
=
xDoc
;
}
...
...
@@ -174,8 +171,6 @@ throw (::com::sun::star::lang::IllegalArgumentException, RuntimeException, std::
OUString
SAL_CALL
KeynoteImportFilter
::
detect
(
com
::
sun
::
star
::
uno
::
Sequence
<
PropertyValue
>&
Descriptor
)
throw
(
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
{
SAL_INFO
(
"writerperfect"
,
"KeynoteImportFilter::detect"
);
sal_Int32
nLength
=
Descriptor
.
getLength
();
sal_Int32
nNewLength
=
nLength
+
2
;
sal_Int32
nComponentDataLocation
=
-
1
;
...
...
@@ -338,7 +333,6 @@ throw( com::sun::star::uno::RuntimeException, std::exception )
void
SAL_CALL
KeynoteImportFilter
::
initialize
(
const
Sequence
<
Any
>&
aArguments
)
throw
(
Exception
,
RuntimeException
,
std
::
exception
)
{
SAL_INFO
(
"writerperfect"
,
"KeynoteImportFilter::initialize"
);
Sequence
<
PropertyValue
>
aAnySeq
;
sal_Int32
nLength
=
aArguments
.
getLength
();
if
(
nLength
&&
(
aArguments
[
0
]
>>=
aAnySeq
)
)
...
...
@@ -359,7 +353,6 @@ throw (Exception, RuntimeException, std::exception)
OUString
KeynoteImportFilter_getImplementationName
()
throw
(
RuntimeException
)
{
SAL_INFO
(
"writerperfect"
,
"KeynoteImportFilter_getImplementationName"
);
return
OUString
(
"org.libreoffice.comp.Impress.KeynoteImportFilter"
);
}
...
...
@@ -369,7 +362,6 @@ throw (RuntimeException)
Sequence
<
OUString
>
SAL_CALL
KeynoteImportFilter_getSupportedServiceNames
(
)
throw
(
RuntimeException
)
{
SAL_INFO
(
"writerperfect"
,
"KeynoteImportFilter_getSupportedServiceNames"
);
Sequence
<
OUString
>
aRet
(
2
);
OUString
*
pArray
=
aRet
.
getArray
();
pArray
[
0
]
=
OUString
(
SERVICE_NAME1
);
...
...
@@ -383,7 +375,6 @@ throw (RuntimeException)
Reference
<
XInterface
>
SAL_CALL
KeynoteImportFilter_createInstance
(
const
Reference
<
XComponentContext
>
&
rContext
)
throw
(
Exception
)
{
SAL_INFO
(
"writerperfect"
,
"KeynoteImportFilter_createInstance"
);
return
(
cppu
::
OWeakObject
*
)
new
KeynoteImportFilter
(
rContext
);
}
...
...
@@ -391,21 +382,18 @@ throw( Exception )
OUString
SAL_CALL
KeynoteImportFilter
::
getImplementationName
(
)
throw
(
RuntimeException
,
std
::
exception
)
{
SAL_INFO
(
"writerperfect"
,
"KeynoteImportFilter::getImplementationName"
);
return
KeynoteImportFilter_getImplementationName
();
}
sal_Bool
SAL_CALL
KeynoteImportFilter
::
supportsService
(
const
OUString
&
rServiceName
)
throw
(
RuntimeException
,
std
::
exception
)
{
SAL_INFO
(
"writerperfect"
,
"KeynoteImportFilter::supportsService"
);
return
cppu
::
supportsService
(
this
,
rServiceName
);
}
Sequence
<
OUString
>
SAL_CALL
KeynoteImportFilter
::
getSupportedServiceNames
(
)
throw
(
RuntimeException
,
std
::
exception
)
{
SAL_INFO
(
"writerperfect"
,
"KeynoteImportFilter::getSupportedServiceNames"
);
return
KeynoteImportFilter_getSupportedServiceNames
();
}
...
...
writerperfect/source/writer/ImportFilterBase.cxx
Dosyayı görüntüle @
83d77931
...
...
@@ -60,7 +60,6 @@ ImportFilterImpl::~ImportFilterImpl()
sal_Bool
SAL_CALL
ImportFilterImpl
::
filter
(
const
Sequence
<
::
com
::
sun
::
star
::
beans
::
PropertyValue
>&
aDescriptor
)
throw
(
RuntimeException
,
std
::
exception
)
{
SAL_INFO
(
"writerperfect"
,
"ImportFilterImpl::filter"
);
sal_Int32
nLength
=
aDescriptor
.
getLength
();
const
PropertyValue
*
pValue
=
aDescriptor
.
getConstArray
();
Reference
<
XInputStream
>
xInputStream
;
...
...
@@ -104,14 +103,12 @@ throw (RuntimeException, std::exception)
void
SAL_CALL
ImportFilterImpl
::
cancel
(
)
throw
(
RuntimeException
,
std
::
exception
)
{
SAL_INFO
(
"writerperfect"
,
"ImportFilterImpl::cancel"
);
}
// XImporter
void
SAL_CALL
ImportFilterImpl
::
setTargetDocument
(
const
Reference
<
::
com
::
sun
::
star
::
lang
::
XComponent
>&
xDoc
)
throw
(
::
com
::
sun
::
star
::
lang
::
IllegalArgumentException
,
RuntimeException
,
std
::
exception
)
{
SAL_INFO
(
"writerperfect"
,
"ImportFilterImpl::setTargetDocument"
);
mxDoc
=
xDoc
;
}
...
...
@@ -119,7 +116,6 @@ throw (::com::sun::star::lang::IllegalArgumentException, RuntimeException, std::
OUString
SAL_CALL
ImportFilterImpl
::
detect
(
com
::
sun
::
star
::
uno
::
Sequence
<
PropertyValue
>&
Descriptor
)
throw
(
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
{
SAL_INFO
(
"writerperfect"
,
"ImportFilterImpl::detect"
);
OUString
sTypeName
;
sal_Int32
nLength
=
Descriptor
.
getLength
();
sal_Int32
location
=
nLength
;
...
...
@@ -158,7 +154,6 @@ throw( com::sun::star::uno::RuntimeException, std::exception )
void
SAL_CALL
ImportFilterImpl
::
initialize
(
const
Sequence
<
Any
>&
aArguments
)
throw
(
Exception
,
RuntimeException
,
std
::
exception
)
{
SAL_INFO
(
"writerperfect"
,
"ImportFilterImpl::initialize"
);
Sequence
<
PropertyValue
>
aAnySeq
;
sal_Int32
nLength
=
aArguments
.
getLength
();
if
(
nLength
&&
(
aArguments
[
0
]
>>=
aAnySeq
)
)
...
...
writerperfect/source/writer/WordPerfectImportFilter.cxx
Dosyayı görüntüle @
83d77931
...
...
@@ -88,8 +88,6 @@ static bool handleEmbeddedWPGImage(const WPXBinaryData &input, WPXBinaryData &ou
bool
SAL_CALL
WordPerfectImportFilter
::
importImpl
(
const
Sequence
<
::
com
::
sun
::
star
::
beans
::
PropertyValue
>&
aDescriptor
)
throw
(
RuntimeException
)
{
SAL_INFO
(
"writerperfect"
,
"WordPerfectImportFilter::importImpl"
);
sal_Int32
nLength
=
aDescriptor
.
getLength
();
const
PropertyValue
*
pValue
=
aDescriptor
.
getConstArray
();
Reference
<
XInputStream
>
xInputStream
;
...
...
@@ -155,20 +153,17 @@ throw (RuntimeException)
sal_Bool
SAL_CALL
WordPerfectImportFilter
::
filter
(
const
Sequence
<
::
com
::
sun
::
star
::
beans
::
PropertyValue
>&
aDescriptor
)
throw
(
RuntimeException
,
std
::
exception
)
{
SAL_INFO
(
"writerperfect"
,
"WordPerfectImportFilter::filter"
);
return
importImpl
(
aDescriptor
);
}
void
SAL_CALL
WordPerfectImportFilter
::
cancel
(
)
throw
(
RuntimeException
,
std
::
exception
)
{
SAL_INFO
(
"writerperfect"
,
"WordPerfectImportFilter::cancel"
);
}
// XImporter
void
SAL_CALL
WordPerfectImportFilter
::
setTargetDocument
(
const
Reference
<
::
com
::
sun
::
star
::
lang
::
XComponent
>&
xDoc
)
throw
(
::
com
::
sun
::
star
::
lang
::
IllegalArgumentException
,
RuntimeException
,
std
::
exception
)
{
SAL_INFO
(
"writerperfect"
,
"WordPerfectImportFilter::getTargetDocument"
);
mxDoc
=
xDoc
;
}
...
...
@@ -176,8 +171,6 @@ throw (::com::sun::star::lang::IllegalArgumentException, RuntimeException, std::
OUString
SAL_CALL
WordPerfectImportFilter
::
detect
(
Sequence
<
PropertyValue
>&
Descriptor
)
throw
(
RuntimeException
,
std
::
exception
)
{
SAL_INFO
(
"writerperfect"
,
"WordPerfectImportFilter::detect"
);
WPDConfidence
confidence
=
WPD_CONFIDENCE_NONE
;
OUString
sTypeName
;
sal_Int32
nLength
=
Descriptor
.
getLength
();
...
...
@@ -221,7 +214,6 @@ throw( RuntimeException, std::exception )
void
SAL_CALL
WordPerfectImportFilter
::
initialize
(
const
Sequence
<
Any
>&
aArguments
)
throw
(
Exception
,
RuntimeException
,
std
::
exception
)
{
SAL_INFO
(
"writerperfect"
,
"WordPerfectImportFilter::initialize"
);
Sequence
<
PropertyValue
>
aAnySeq
;
sal_Int32
nLength
=
aArguments
.
getLength
();
if
(
nLength
&&
(
aArguments
[
0
]
>>=
aAnySeq
)
)
...
...
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