Kaydet (Commit) 83d77931 authored tarafından Noel Grandin's avatar Noel Grandin

writerperfect: remove SAL_INFO's that only mark function entry

Change-Id: I551d3d6b44845bb324b4afcef17fdae0e0fc88e2
üst 456352e3
...@@ -29,15 +29,11 @@ using com::sun::star::uno::XInterface; ...@@ -29,15 +29,11 @@ using com::sun::star::uno::XInterface;
bool CDRImportFilter::doImportDocument( WPXInputStream &rInput, libwpg::WPGPaintInterface &rGenerator ) bool CDRImportFilter::doImportDocument( WPXInputStream &rInput, libwpg::WPGPaintInterface &rGenerator )
{ {
SAL_INFO("writerperfect", "CDRImportFilter::doImportDocument");
return libcdr::CDRDocument::parse(&rInput, &rGenerator); return libcdr::CDRDocument::parse(&rInput, &rGenerator);
} }
bool CDRImportFilter::doDetectFormat( WPXInputStream &rInput, OUString &rTypeName ) bool CDRImportFilter::doDetectFormat( WPXInputStream &rInput, OUString &rTypeName )
{ {
SAL_INFO("writerperfect", "CDRImportFilter::doDetectFormat");
if (libcdr::CDRDocument::isSupported(&rInput)) if (libcdr::CDRDocument::isSupported(&rInput))
{ {
rTypeName = "draw_CorelDraw_Document"; rTypeName = "draw_CorelDraw_Document";
...@@ -50,14 +46,12 @@ bool CDRImportFilter::doDetectFormat( WPXInputStream &rInput, OUString &rTypeNam ...@@ -50,14 +46,12 @@ bool CDRImportFilter::doDetectFormat( WPXInputStream &rInput, OUString &rTypeNam
OUString CDRImportFilter_getImplementationName () OUString CDRImportFilter_getImplementationName ()
throw (RuntimeException) throw (RuntimeException)
{ {
SAL_INFO("writerperfect", "CDRImportFilter_getImplementationName");
return OUString ( "com.sun.star.comp.Draw.CDRImportFilter" ); return OUString ( "com.sun.star.comp.Draw.CDRImportFilter" );
} }
Sequence< OUString > SAL_CALL CDRImportFilter_getSupportedServiceNames( ) Sequence< OUString > SAL_CALL CDRImportFilter_getSupportedServiceNames( )
throw (RuntimeException) throw (RuntimeException)
{ {
SAL_INFO("writerperfect", "CDRImportFilter_getSupportedServiceNames");
Sequence < OUString > aRet(2); Sequence < OUString > aRet(2);
OUString *pArray = aRet.getArray(); OUString *pArray = aRet.getArray();
pArray[0] = "com.sun.star.document.ImportFilter"; pArray[0] = "com.sun.star.document.ImportFilter";
...@@ -68,7 +62,6 @@ throw (RuntimeException) ...@@ -68,7 +62,6 @@ throw (RuntimeException)
Reference< XInterface > SAL_CALL CDRImportFilter_createInstance( const Reference< XComponentContext > & rContext) Reference< XInterface > SAL_CALL CDRImportFilter_createInstance( const Reference< XComponentContext > & rContext)
throw( Exception ) throw( Exception )
{ {
SAL_INFO("writerperfect", "CDRImportFilter_createInstance");
return (cppu::OWeakObject *) new CDRImportFilter( rContext ); return (cppu::OWeakObject *) new CDRImportFilter( rContext );
} }
...@@ -76,19 +69,16 @@ throw( Exception ) ...@@ -76,19 +69,16 @@ throw( Exception )
OUString SAL_CALL CDRImportFilter::getImplementationName( ) OUString SAL_CALL CDRImportFilter::getImplementationName( )
throw (RuntimeException, std::exception) throw (RuntimeException, std::exception)
{ {
SAL_INFO("writerperfect", "CDRImportFilter::getImplementationName");
return CDRImportFilter_getImplementationName(); return CDRImportFilter_getImplementationName();
} }
sal_Bool SAL_CALL CDRImportFilter::supportsService( const OUString &rServiceName ) sal_Bool SAL_CALL CDRImportFilter::supportsService( const OUString &rServiceName )
throw (RuntimeException, std::exception) throw (RuntimeException, std::exception)
{ {
SAL_INFO("writerperfect", "CDRImportFilter::supportsService");
return cppu::supportsService( this, rServiceName ); return cppu::supportsService( this, rServiceName );
} }
Sequence< OUString > SAL_CALL CDRImportFilter::getSupportedServiceNames( ) Sequence< OUString > SAL_CALL CDRImportFilter::getSupportedServiceNames( )
throw (RuntimeException, std::exception) throw (RuntimeException, std::exception)
{ {
SAL_INFO("writerperfect", "CDRImportFilter::getSupportedServiceNames");
return CDRImportFilter_getSupportedServiceNames(); return CDRImportFilter_getSupportedServiceNames();
} }
......
...@@ -29,15 +29,11 @@ using com::sun::star::uno::XInterface; ...@@ -29,15 +29,11 @@ using com::sun::star::uno::XInterface;
bool CMXImportFilter::doImportDocument( WPXInputStream &rInput, libwpg::WPGPaintInterface &rGenerator ) bool CMXImportFilter::doImportDocument( WPXInputStream &rInput, libwpg::WPGPaintInterface &rGenerator )
{ {
SAL_INFO("writerperfect", "CMXImportFilter::doImportDocument");
return libcdr::CMXDocument::parse(&rInput, &rGenerator); return libcdr::CMXDocument::parse(&rInput, &rGenerator);
} }
bool CMXImportFilter::doDetectFormat( WPXInputStream &rInput, OUString &rTypeName ) bool CMXImportFilter::doDetectFormat( WPXInputStream &rInput, OUString &rTypeName )
{ {
SAL_INFO("writerperfect", "CMXImportFilter::doDetectFormat");
if (libcdr::CMXDocument::isSupported(&rInput)) if (libcdr::CMXDocument::isSupported(&rInput))
{ {
rTypeName = "draw_Corel_Presentation_Exchange"; rTypeName = "draw_Corel_Presentation_Exchange";
...@@ -50,14 +46,12 @@ bool CMXImportFilter::doDetectFormat( WPXInputStream &rInput, OUString &rTypeNam ...@@ -50,14 +46,12 @@ bool CMXImportFilter::doDetectFormat( WPXInputStream &rInput, OUString &rTypeNam
OUString CMXImportFilter_getImplementationName () OUString CMXImportFilter_getImplementationName ()
throw (RuntimeException) throw (RuntimeException)
{ {
SAL_INFO("writerperfect", "CMXImportFilter_getImplementationName");
return OUString ( "com.sun.star.comp.Draw.CMXImportFilter" ); return OUString ( "com.sun.star.comp.Draw.CMXImportFilter" );
} }
Sequence< OUString > SAL_CALL CMXImportFilter_getSupportedServiceNames( ) Sequence< OUString > SAL_CALL CMXImportFilter_getSupportedServiceNames( )
throw (RuntimeException) throw (RuntimeException)
{ {
SAL_INFO("writerperfect", "CMXImportFilter_getSupportedServiceNames");
Sequence < OUString > aRet(2); Sequence < OUString > aRet(2);
OUString *pArray = aRet.getArray(); OUString *pArray = aRet.getArray();
pArray[0] = "com.sun.star.document.ImportFilter"; pArray[0] = "com.sun.star.document.ImportFilter";
...@@ -68,7 +62,6 @@ throw (RuntimeException) ...@@ -68,7 +62,6 @@ throw (RuntimeException)
Reference< XInterface > SAL_CALL CMXImportFilter_createInstance( const Reference< XComponentContext > & rContext) Reference< XInterface > SAL_CALL CMXImportFilter_createInstance( const Reference< XComponentContext > & rContext)
throw( Exception ) throw( Exception )
{ {
SAL_INFO("writerperfect", "CMXImportFilter_createInstance");
return (cppu::OWeakObject *) new CMXImportFilter( rContext ); return (cppu::OWeakObject *) new CMXImportFilter( rContext );
} }
...@@ -76,19 +69,16 @@ throw( Exception ) ...@@ -76,19 +69,16 @@ throw( Exception )
OUString SAL_CALL CMXImportFilter::getImplementationName( ) OUString SAL_CALL CMXImportFilter::getImplementationName( )
throw (RuntimeException, std::exception) throw (RuntimeException, std::exception)
{ {
SAL_INFO("writerperfect", "CMXImportFilter::getImplementationName");
return CMXImportFilter_getImplementationName(); return CMXImportFilter_getImplementationName();
} }
sal_Bool SAL_CALL CMXImportFilter::supportsService( const OUString &rServiceName ) sal_Bool SAL_CALL CMXImportFilter::supportsService( const OUString &rServiceName )
throw (RuntimeException, std::exception) throw (RuntimeException, std::exception)
{ {
SAL_INFO("writerperfect", "CMXImportFilter::supportsService");
return cppu::supportsService( this, rServiceName ); return cppu::supportsService( this, rServiceName );
} }
Sequence< OUString > SAL_CALL CMXImportFilter::getSupportedServiceNames( ) Sequence< OUString > SAL_CALL CMXImportFilter::getSupportedServiceNames( )
throw (RuntimeException, std::exception) throw (RuntimeException, std::exception)
{ {
SAL_INFO("writerperfect", "CMXImportFilter::getSupportedServiceNames");
return CMXImportFilter_getSupportedServiceNames(); return CMXImportFilter_getSupportedServiceNames();
} }
......
...@@ -25,15 +25,11 @@ using com::sun::star::uno::XInterface; ...@@ -25,15 +25,11 @@ using com::sun::star::uno::XInterface;
bool FreehandImportFilter::doImportDocument( WPXInputStream &rInput, libwpg::WPGPaintInterface &rGenerator ) bool FreehandImportFilter::doImportDocument( WPXInputStream &rInput, libwpg::WPGPaintInterface &rGenerator )
{ {
SAL_INFO("writerperfect", "FreehandImportFilter::doImportDocument");
return libfreehand::FreeHandDocument::parse(&rInput, &rGenerator); return libfreehand::FreeHandDocument::parse(&rInput, &rGenerator);
} }
bool FreehandImportFilter::doDetectFormat( WPXInputStream &rInput, OUString &rTypeName ) bool FreehandImportFilter::doDetectFormat( WPXInputStream &rInput, OUString &rTypeName )
{ {
SAL_INFO("writerperfect", "FreehandImportFilter::doDetectFormat");
if (libfreehand::FreeHandDocument::isSupported(&rInput)) if (libfreehand::FreeHandDocument::isSupported(&rInput))
{ {
rTypeName = "draw_Freehand_Document"; rTypeName = "draw_Freehand_Document";
...@@ -46,14 +42,12 @@ bool FreehandImportFilter::doDetectFormat( WPXInputStream &rInput, OUString &rTy ...@@ -46,14 +42,12 @@ bool FreehandImportFilter::doDetectFormat( WPXInputStream &rInput, OUString &rTy
OUString FreehandImportFilter_getImplementationName () OUString FreehandImportFilter_getImplementationName ()
throw (RuntimeException) throw (RuntimeException)
{ {
SAL_INFO("writerperfect", "FreehandImportFilter_getImplementationName");
return OUString ( "com.sun.star.comp.Draw.FreehandImportFilter" ); return OUString ( "com.sun.star.comp.Draw.FreehandImportFilter" );
} }
Sequence< OUString > SAL_CALL FreehandImportFilter_getSupportedServiceNames( ) Sequence< OUString > SAL_CALL FreehandImportFilter_getSupportedServiceNames( )
throw (RuntimeException) throw (RuntimeException)
{ {
SAL_INFO("writerperfect", "FreehandImportFilter_getSupportedServiceNames");
Sequence < OUString > aRet(2); Sequence < OUString > aRet(2);
OUString *pArray = aRet.getArray(); OUString *pArray = aRet.getArray();
pArray[0] = "com.sun.star.document.ImportFilter"; pArray[0] = "com.sun.star.document.ImportFilter";
...@@ -64,7 +58,6 @@ throw (RuntimeException) ...@@ -64,7 +58,6 @@ throw (RuntimeException)
Reference< XInterface > SAL_CALL FreehandImportFilter_createInstance( const Reference< XComponentContext > & rContext) Reference< XInterface > SAL_CALL FreehandImportFilter_createInstance( const Reference< XComponentContext > & rContext)
throw( Exception ) throw( Exception )
{ {
SAL_INFO("writerperfect", "FreehandImportFilter_createInstance");
return (cppu::OWeakObject *) new FreehandImportFilter( rContext ); return (cppu::OWeakObject *) new FreehandImportFilter( rContext );
} }
...@@ -72,19 +65,16 @@ throw( Exception ) ...@@ -72,19 +65,16 @@ throw( Exception )
OUString SAL_CALL FreehandImportFilter::getImplementationName( ) OUString SAL_CALL FreehandImportFilter::getImplementationName( )
throw (RuntimeException, std::exception) throw (RuntimeException, std::exception)
{ {
SAL_INFO("writerperfect", "FreehandImportFilter::getImplementationName");
return FreehandImportFilter_getImplementationName(); return FreehandImportFilter_getImplementationName();
} }
sal_Bool SAL_CALL FreehandImportFilter::supportsService( const OUString &rServiceName ) sal_Bool SAL_CALL FreehandImportFilter::supportsService( const OUString &rServiceName )
throw (RuntimeException, std::exception) throw (RuntimeException, std::exception)
{ {
SAL_INFO("writerperfect", "FreehandImportFilter::supportsService");
return cppu::supportsService( this, rServiceName ); return cppu::supportsService( this, rServiceName );
} }
Sequence< OUString > SAL_CALL FreehandImportFilter::getSupportedServiceNames( ) Sequence< OUString > SAL_CALL FreehandImportFilter::getSupportedServiceNames( )
throw (RuntimeException, std::exception) throw (RuntimeException, std::exception)
{ {
SAL_INFO("writerperfect", "FreehandImportFilter::getSupportedServiceNames");
return FreehandImportFilter_getSupportedServiceNames(); return FreehandImportFilter_getSupportedServiceNames();
} }
......
...@@ -62,7 +62,6 @@ ImportFilterImpl::~ImportFilterImpl() ...@@ -62,7 +62,6 @@ ImportFilterImpl::~ImportFilterImpl()
sal_Bool SAL_CALL ImportFilterImpl::filter( const Sequence< ::com::sun::star::beans::PropertyValue >& aDescriptor ) sal_Bool SAL_CALL ImportFilterImpl::filter( const Sequence< ::com::sun::star::beans::PropertyValue >& aDescriptor )
throw (RuntimeException, std::exception) throw (RuntimeException, std::exception)
{ {
SAL_INFO("writerperfect", "ImportFilterImpl::filter");
sal_Int32 nLength = aDescriptor.getLength(); sal_Int32 nLength = aDescriptor.getLength();
const PropertyValue *pValue = aDescriptor.getConstArray(); const PropertyValue *pValue = aDescriptor.getConstArray();
Reference < XInputStream > xInputStream; Reference < XInputStream > xInputStream;
...@@ -101,14 +100,12 @@ throw (RuntimeException, std::exception) ...@@ -101,14 +100,12 @@ throw (RuntimeException, std::exception)
void SAL_CALL ImportFilterImpl::cancel( ) void SAL_CALL ImportFilterImpl::cancel( )
throw (RuntimeException, std::exception) throw (RuntimeException, std::exception)
{ {
SAL_INFO("writerperfect", "ImportFilterImpl::cancel");
} }
// XImporter // XImporter
void SAL_CALL ImportFilterImpl::setTargetDocument( const Reference< ::com::sun::star::lang::XComponent >& xDoc ) void SAL_CALL ImportFilterImpl::setTargetDocument( const Reference< ::com::sun::star::lang::XComponent >& xDoc )
throw (::com::sun::star::lang::IllegalArgumentException, RuntimeException, std::exception) throw (::com::sun::star::lang::IllegalArgumentException, RuntimeException, std::exception)
{ {
SAL_INFO("writerperfect", "ImportFilterImpl::setTargetDocument");
mxDoc = xDoc; mxDoc = xDoc;
} }
...@@ -116,7 +113,6 @@ throw (::com::sun::star::lang::IllegalArgumentException, RuntimeException, std:: ...@@ -116,7 +113,6 @@ throw (::com::sun::star::lang::IllegalArgumentException, RuntimeException, std::
OUString SAL_CALL ImportFilterImpl::detect( com::sun::star::uno::Sequence< PropertyValue >& Descriptor ) OUString SAL_CALL ImportFilterImpl::detect( com::sun::star::uno::Sequence< PropertyValue >& Descriptor )
throw( com::sun::star::uno::RuntimeException, std::exception ) throw( com::sun::star::uno::RuntimeException, std::exception )
{ {
SAL_INFO("writerperfect", "ImportFilterImpl::detect");
OUString sTypeName; OUString sTypeName;
sal_Int32 nLength = Descriptor.getLength(); sal_Int32 nLength = Descriptor.getLength();
sal_Int32 location = nLength; sal_Int32 location = nLength;
...@@ -156,7 +152,6 @@ throw( com::sun::star::uno::RuntimeException, std::exception ) ...@@ -156,7 +152,6 @@ throw( com::sun::star::uno::RuntimeException, std::exception )
void SAL_CALL ImportFilterImpl::initialize( const Sequence< Any >& aArguments ) void SAL_CALL ImportFilterImpl::initialize( const Sequence< Any >& aArguments )
throw (Exception, RuntimeException, std::exception) throw (Exception, RuntimeException, std::exception)
{ {
SAL_INFO("writerperfect", "ImportFilterImpl::initialize");
Sequence < PropertyValue > aAnySeq; Sequence < PropertyValue > aAnySeq;
sal_Int32 nLength = aArguments.getLength(); sal_Int32 nLength = aArguments.getLength();
if ( nLength && ( aArguments[0] >>= aAnySeq ) ) if ( nLength && ( aArguments[0] >>= aAnySeq ) )
......
...@@ -27,15 +27,11 @@ using com::sun::star::uno::XInterface; ...@@ -27,15 +27,11 @@ using com::sun::star::uno::XInterface;
bool MSPUBImportFilter::doImportDocument( WPXInputStream &rInput, libwpg::WPGPaintInterface &rGenerator ) bool MSPUBImportFilter::doImportDocument( WPXInputStream &rInput, libwpg::WPGPaintInterface &rGenerator )
{ {
SAL_INFO("writerperfect", "MSPUBImportFilter::doImportDocument");
return libmspub::MSPUBDocument::parse(&rInput, &rGenerator); return libmspub::MSPUBDocument::parse(&rInput, &rGenerator);
} }
bool MSPUBImportFilter::doDetectFormat( WPXInputStream &rInput, OUString &rTypeName ) bool MSPUBImportFilter::doDetectFormat( WPXInputStream &rInput, OUString &rTypeName )
{ {
SAL_INFO("writerperfect", "MSPUBImportFilter::doDetectFormat");
if (libmspub::MSPUBDocument::isSupported(&rInput)) if (libmspub::MSPUBDocument::isSupported(&rInput))
{ {
rTypeName = "draw_Publisher_Document"; rTypeName = "draw_Publisher_Document";
...@@ -48,14 +44,12 @@ bool MSPUBImportFilter::doDetectFormat( WPXInputStream &rInput, OUString &rTypeN ...@@ -48,14 +44,12 @@ bool MSPUBImportFilter::doDetectFormat( WPXInputStream &rInput, OUString &rTypeN
OUString MSPUBImportFilter_getImplementationName () OUString MSPUBImportFilter_getImplementationName ()
throw (RuntimeException) throw (RuntimeException)
{ {
SAL_INFO("writerperfect", "MSPUBImportFilter_getImplementationName");
return OUString ( "com.sun.star.comp.Draw.MSPUBImportFilter" ); return OUString ( "com.sun.star.comp.Draw.MSPUBImportFilter" );
} }
Sequence< OUString > SAL_CALL MSPUBImportFilter_getSupportedServiceNames( ) Sequence< OUString > SAL_CALL MSPUBImportFilter_getSupportedServiceNames( )
throw (RuntimeException) throw (RuntimeException)
{ {
SAL_INFO("writerperfect", "MSPUBImportFilter_getSupportedServiceNames");
Sequence < OUString > aRet(2); Sequence < OUString > aRet(2);
OUString *pArray = aRet.getArray(); OUString *pArray = aRet.getArray();
pArray[0] = "com.sun.star.document.ImportFilter"; pArray[0] = "com.sun.star.document.ImportFilter";
...@@ -66,7 +60,6 @@ throw (RuntimeException) ...@@ -66,7 +60,6 @@ throw (RuntimeException)
Reference< XInterface > SAL_CALL MSPUBImportFilter_createInstance( const Reference< XComponentContext > & rContext) Reference< XInterface > SAL_CALL MSPUBImportFilter_createInstance( const Reference< XComponentContext > & rContext)
throw( Exception ) throw( Exception )
{ {
SAL_INFO("writerperfect", "MSPUBImportFilter_createInstance");
return (cppu::OWeakObject *) new MSPUBImportFilter( rContext ); return (cppu::OWeakObject *) new MSPUBImportFilter( rContext );
} }
...@@ -74,19 +67,16 @@ throw( Exception ) ...@@ -74,19 +67,16 @@ throw( Exception )
OUString SAL_CALL MSPUBImportFilter::getImplementationName( ) OUString SAL_CALL MSPUBImportFilter::getImplementationName( )
throw (RuntimeException, std::exception) throw (RuntimeException, std::exception)
{ {
SAL_INFO("writerperfect", "MSPUBImportFilter::getImplementationName");
return MSPUBImportFilter_getImplementationName(); return MSPUBImportFilter_getImplementationName();
} }
sal_Bool SAL_CALL MSPUBImportFilter::supportsService( const OUString &rServiceName ) sal_Bool SAL_CALL MSPUBImportFilter::supportsService( const OUString &rServiceName )
throw (RuntimeException, std::exception) throw (RuntimeException, std::exception)
{ {
SAL_INFO("writerperfect", "MSPUBImportFilter::supportsService");
return cppu::supportsService( this, rServiceName ); return cppu::supportsService( this, rServiceName );
} }
Sequence< OUString > SAL_CALL MSPUBImportFilter::getSupportedServiceNames( ) Sequence< OUString > SAL_CALL MSPUBImportFilter::getSupportedServiceNames( )
throw (RuntimeException, std::exception) throw (RuntimeException, std::exception)
{ {
SAL_INFO("writerperfect", "MSPUBImportFilter::getSupportedServiceNames");
return MSPUBImportFilter_getSupportedServiceNames(); return MSPUBImportFilter_getSupportedServiceNames();
} }
......
...@@ -25,15 +25,11 @@ using com::sun::star::uno::XInterface; ...@@ -25,15 +25,11 @@ using com::sun::star::uno::XInterface;
bool VisioImportFilter::doImportDocument( WPXInputStream &rInput, libwpg::WPGPaintInterface &rGenerator ) bool VisioImportFilter::doImportDocument( WPXInputStream &rInput, libwpg::WPGPaintInterface &rGenerator )
{ {
SAL_INFO("writerperfect", "VisioImportFilter::doImportDocument");
return libvisio::VisioDocument::parse(&rInput, &rGenerator); return libvisio::VisioDocument::parse(&rInput, &rGenerator);
} }
bool VisioImportFilter::doDetectFormat( WPXInputStream &rInput, OUString &rTypeName ) bool VisioImportFilter::doDetectFormat( WPXInputStream &rInput, OUString &rTypeName )
{ {
SAL_INFO("writerperfect", "VisioImportFilter::doDetectFormat");
if (libvisio::VisioDocument::isSupported(&rInput)) if (libvisio::VisioDocument::isSupported(&rInput))
{ {
rTypeName = "draw_Visio_Document"; rTypeName = "draw_Visio_Document";
...@@ -46,14 +42,12 @@ bool VisioImportFilter::doDetectFormat( WPXInputStream &rInput, OUString &rTypeN ...@@ -46,14 +42,12 @@ bool VisioImportFilter::doDetectFormat( WPXInputStream &rInput, OUString &rTypeN
OUString VisioImportFilter_getImplementationName () OUString VisioImportFilter_getImplementationName ()
throw (RuntimeException) throw (RuntimeException)
{ {
SAL_INFO("writerperfect", "VisioImportFilter_getImplementationName");
return OUString ( "com.sun.star.comp.Draw.VisioImportFilter" ); return OUString ( "com.sun.star.comp.Draw.VisioImportFilter" );
} }
Sequence< OUString > SAL_CALL VisioImportFilter_getSupportedServiceNames( ) Sequence< OUString > SAL_CALL VisioImportFilter_getSupportedServiceNames( )
throw (RuntimeException) throw (RuntimeException)
{ {
SAL_INFO("writerperfect", "VisioImportFilter_getSupportedServiceNames");
Sequence < OUString > aRet(2); Sequence < OUString > aRet(2);
OUString *pArray = aRet.getArray(); OUString *pArray = aRet.getArray();
pArray[0] = "com.sun.star.document.ImportFilter"; pArray[0] = "com.sun.star.document.ImportFilter";
...@@ -64,7 +58,6 @@ throw (RuntimeException) ...@@ -64,7 +58,6 @@ throw (RuntimeException)
Reference< XInterface > SAL_CALL VisioImportFilter_createInstance( const Reference< XComponentContext > & rContext) Reference< XInterface > SAL_CALL VisioImportFilter_createInstance( const Reference< XComponentContext > & rContext)
throw( Exception ) throw( Exception )
{ {
SAL_INFO("writerperfect", "VisioImportFilter_createInstance");
return (cppu::OWeakObject *) new VisioImportFilter( rContext ); return (cppu::OWeakObject *) new VisioImportFilter( rContext );
} }
...@@ -72,19 +65,16 @@ throw( Exception ) ...@@ -72,19 +65,16 @@ throw( Exception )
OUString SAL_CALL VisioImportFilter::getImplementationName( ) OUString SAL_CALL VisioImportFilter::getImplementationName( )
throw (RuntimeException, std::exception) throw (RuntimeException, std::exception)
{ {
SAL_INFO("writerperfect", "VisioImportFilter::getImplementationName");
return VisioImportFilter_getImplementationName(); return VisioImportFilter_getImplementationName();
} }
sal_Bool SAL_CALL VisioImportFilter::supportsService( const OUString &rServiceName ) sal_Bool SAL_CALL VisioImportFilter::supportsService( const OUString &rServiceName )
throw (RuntimeException, std::exception) throw (RuntimeException, std::exception)
{ {
SAL_INFO("writerperfect", "VisioImportFilter::supportsService");
return cppu::supportsService( this, rServiceName ); return cppu::supportsService( this, rServiceName );
} }
Sequence< OUString > SAL_CALL VisioImportFilter::getSupportedServiceNames( ) Sequence< OUString > SAL_CALL VisioImportFilter::getSupportedServiceNames( )
throw (RuntimeException, std::exception) throw (RuntimeException, std::exception)
{ {
SAL_INFO("writerperfect", "VisioImportFilter::getSupportedServiceNames");
return VisioImportFilter_getSupportedServiceNames(); return VisioImportFilter_getSupportedServiceNames();
} }
......
...@@ -30,15 +30,11 @@ using com::sun::star::uno::XInterface; ...@@ -30,15 +30,11 @@ using com::sun::star::uno::XInterface;
bool WPGImportFilter::doImportDocument( WPXInputStream &rInput, libwpg::WPGPaintInterface &rGenerator ) bool WPGImportFilter::doImportDocument( WPXInputStream &rInput, libwpg::WPGPaintInterface &rGenerator )
{ {
SAL_INFO("writerperfect", "WPGImportFilter::doImportDocument");
return libwpg::WPGraphics::parse(&rInput, &rGenerator); return libwpg::WPGraphics::parse(&rInput, &rGenerator);
} }
bool WPGImportFilter::doDetectFormat( WPXInputStream &rInput, OUString &rTypeName ) bool WPGImportFilter::doDetectFormat( WPXInputStream &rInput, OUString &rTypeName )
{ {
SAL_INFO("writerperfect", "WPGImportFilter::doDetectFormat");
if (libwpg::WPGraphics::isSupported(&rInput)) if (libwpg::WPGraphics::isSupported(&rInput))
{ {
rTypeName = "draw_WordPerfect_Graphics"; rTypeName = "draw_WordPerfect_Graphics";
...@@ -51,14 +47,12 @@ bool WPGImportFilter::doDetectFormat( WPXInputStream &rInput, OUString &rTypeNam ...@@ -51,14 +47,12 @@ bool WPGImportFilter::doDetectFormat( WPXInputStream &rInput, OUString &rTypeNam
OUString WPGImportFilter_getImplementationName () OUString WPGImportFilter_getImplementationName ()
throw (RuntimeException) throw (RuntimeException)
{ {
SAL_INFO("writerperfect", "WPGImportFilter_getImplementationName");
return OUString ( "com.sun.star.comp.Draw.WPGImportFilter" ); return OUString ( "com.sun.star.comp.Draw.WPGImportFilter" );
} }
Sequence< OUString > SAL_CALL WPGImportFilter_getSupportedServiceNames( ) Sequence< OUString > SAL_CALL WPGImportFilter_getSupportedServiceNames( )
throw (RuntimeException) throw (RuntimeException)
{ {
SAL_INFO("writerperfect", "WPGImportFilter_getSupportedServiceNames");
Sequence < OUString > aRet(2); Sequence < OUString > aRet(2);
OUString *pArray = aRet.getArray(); OUString *pArray = aRet.getArray();
pArray[0] = "com.sun.star.document.ImportFilter"; pArray[0] = "com.sun.star.document.ImportFilter";
...@@ -69,7 +63,6 @@ throw (RuntimeException) ...@@ -69,7 +63,6 @@ throw (RuntimeException)
Reference< XInterface > SAL_CALL WPGImportFilter_createInstance( const Reference< XComponentContext > & rContext) Reference< XInterface > SAL_CALL WPGImportFilter_createInstance( const Reference< XComponentContext > & rContext)
throw( Exception ) throw( Exception )
{ {
SAL_INFO("writerperfect", "WPGImportFilter_createInstance");
return (cppu::OWeakObject *) new WPGImportFilter( rContext ); return (cppu::OWeakObject *) new WPGImportFilter( rContext );
} }
...@@ -77,19 +70,16 @@ throw( Exception ) ...@@ -77,19 +70,16 @@ throw( Exception )
OUString SAL_CALL WPGImportFilter::getImplementationName( ) OUString SAL_CALL WPGImportFilter::getImplementationName( )
throw (RuntimeException, std::exception) throw (RuntimeException, std::exception)
{ {
SAL_INFO("writerperfect", "WPGImportFilter::getImplementationName");
return WPGImportFilter_getImplementationName(); return WPGImportFilter_getImplementationName();
} }
sal_Bool SAL_CALL WPGImportFilter::supportsService( const OUString &rServiceName ) sal_Bool SAL_CALL WPGImportFilter::supportsService( const OUString &rServiceName )
throw (RuntimeException, std::exception) throw (RuntimeException, std::exception)
{ {
SAL_INFO("writerperfect", "WPGImportFilter::supportsService");
return cppu::supportsService( this, rServiceName ); return cppu::supportsService( this, rServiceName );
} }
Sequence< OUString > SAL_CALL WPGImportFilter::getSupportedServiceNames( ) Sequence< OUString > SAL_CALL WPGImportFilter::getSupportedServiceNames( )
throw (RuntimeException, std::exception) throw (RuntimeException, std::exception)
{ {
SAL_INFO("writerperfect", "WPGImportFilter::getSupportedServiceNames");
return WPGImportFilter_getSupportedServiceNames(); return WPGImportFilter_getSupportedServiceNames();
} }
......
...@@ -104,7 +104,6 @@ bool lcl_isPackage( const Any &rComponentData ) ...@@ -104,7 +104,6 @@ bool lcl_isPackage( const Any &rComponentData )
sal_Bool SAL_CALL KeynoteImportFilter::filter( const Sequence< ::com::sun::star::beans::PropertyValue >& aDescriptor ) sal_Bool SAL_CALL KeynoteImportFilter::filter( const Sequence< ::com::sun::star::beans::PropertyValue >& aDescriptor )
throw (RuntimeException, std::exception) throw (RuntimeException, std::exception)
{ {
SAL_INFO("writerperfect", "KeynoteImportFilter::filter");
sal_Int32 nLength = aDescriptor.getLength(); sal_Int32 nLength = aDescriptor.getLength();
const PropertyValue *pValue = aDescriptor.getConstArray(); const PropertyValue *pValue = aDescriptor.getConstArray();
Reference < XInputStream > xInputStream; Reference < XInputStream > xInputStream;
...@@ -159,14 +158,12 @@ throw (RuntimeException, std::exception) ...@@ -159,14 +158,12 @@ throw (RuntimeException, std::exception)
void SAL_CALL KeynoteImportFilter::cancel( ) void SAL_CALL KeynoteImportFilter::cancel( )
throw (RuntimeException, std::exception) throw (RuntimeException, std::exception)
{ {
SAL_INFO("writerperfect", "KeynoteImportFilter::cancel");
} }
// XImporter // XImporter
void SAL_CALL KeynoteImportFilter::setTargetDocument( const Reference< ::com::sun::star::lang::XComponent >& xDoc ) void SAL_CALL KeynoteImportFilter::setTargetDocument( const Reference< ::com::sun::star::lang::XComponent >& xDoc )
throw (::com::sun::star::lang::IllegalArgumentException, RuntimeException, std::exception) throw (::com::sun::star::lang::IllegalArgumentException, RuntimeException, std::exception)
{ {
SAL_INFO("writerperfect", "KeynoteImportFilter::setTargetDocument");
mxDoc = xDoc; mxDoc = xDoc;
} }
...@@ -174,8 +171,6 @@ throw (::com::sun::star::lang::IllegalArgumentException, RuntimeException, std:: ...@@ -174,8 +171,6 @@ throw (::com::sun::star::lang::IllegalArgumentException, RuntimeException, std::
OUString SAL_CALL KeynoteImportFilter::detect( com::sun::star::uno::Sequence< PropertyValue >& Descriptor ) OUString SAL_CALL KeynoteImportFilter::detect( com::sun::star::uno::Sequence< PropertyValue >& Descriptor )
throw( com::sun::star::uno::RuntimeException, std::exception ) throw( com::sun::star::uno::RuntimeException, std::exception )
{ {
SAL_INFO("writerperfect", "KeynoteImportFilter::detect");
sal_Int32 nLength = Descriptor.getLength(); sal_Int32 nLength = Descriptor.getLength();
sal_Int32 nNewLength = nLength + 2; sal_Int32 nNewLength = nLength + 2;
sal_Int32 nComponentDataLocation = -1; sal_Int32 nComponentDataLocation = -1;
...@@ -338,7 +333,6 @@ throw( com::sun::star::uno::RuntimeException, std::exception ) ...@@ -338,7 +333,6 @@ throw( com::sun::star::uno::RuntimeException, std::exception )
void SAL_CALL KeynoteImportFilter::initialize( const Sequence< Any >& aArguments ) void SAL_CALL KeynoteImportFilter::initialize( const Sequence< Any >& aArguments )
throw (Exception, RuntimeException, std::exception) throw (Exception, RuntimeException, std::exception)
{ {
SAL_INFO("writerperfect", "KeynoteImportFilter::initialize");
Sequence < PropertyValue > aAnySeq; Sequence < PropertyValue > aAnySeq;
sal_Int32 nLength = aArguments.getLength(); sal_Int32 nLength = aArguments.getLength();
if ( nLength && ( aArguments[0] >>= aAnySeq ) ) if ( nLength && ( aArguments[0] >>= aAnySeq ) )
...@@ -359,7 +353,6 @@ throw (Exception, RuntimeException, std::exception) ...@@ -359,7 +353,6 @@ throw (Exception, RuntimeException, std::exception)
OUString KeynoteImportFilter_getImplementationName () OUString KeynoteImportFilter_getImplementationName ()
throw (RuntimeException) throw (RuntimeException)
{ {
SAL_INFO("writerperfect", "KeynoteImportFilter_getImplementationName");
return OUString ( "org.libreoffice.comp.Impress.KeynoteImportFilter" ); return OUString ( "org.libreoffice.comp.Impress.KeynoteImportFilter" );
} }
...@@ -369,7 +362,6 @@ throw (RuntimeException) ...@@ -369,7 +362,6 @@ throw (RuntimeException)
Sequence< OUString > SAL_CALL KeynoteImportFilter_getSupportedServiceNames( ) Sequence< OUString > SAL_CALL KeynoteImportFilter_getSupportedServiceNames( )
throw (RuntimeException) throw (RuntimeException)
{ {
SAL_INFO("writerperfect", "KeynoteImportFilter_getSupportedServiceNames");
Sequence < OUString > aRet(2); Sequence < OUString > aRet(2);
OUString *pArray = aRet.getArray(); OUString *pArray = aRet.getArray();
pArray[0] = OUString ( SERVICE_NAME1 ); pArray[0] = OUString ( SERVICE_NAME1 );
...@@ -383,7 +375,6 @@ throw (RuntimeException) ...@@ -383,7 +375,6 @@ throw (RuntimeException)
Reference< XInterface > SAL_CALL KeynoteImportFilter_createInstance( const Reference< XComponentContext > & rContext) Reference< XInterface > SAL_CALL KeynoteImportFilter_createInstance( const Reference< XComponentContext > & rContext)
throw( Exception ) throw( Exception )
{ {
SAL_INFO("writerperfect", "KeynoteImportFilter_createInstance");
return (cppu::OWeakObject *) new KeynoteImportFilter( rContext ); return (cppu::OWeakObject *) new KeynoteImportFilter( rContext );
} }
...@@ -391,21 +382,18 @@ throw( Exception ) ...@@ -391,21 +382,18 @@ throw( Exception )
OUString SAL_CALL KeynoteImportFilter::getImplementationName( ) OUString SAL_CALL KeynoteImportFilter::getImplementationName( )
throw (RuntimeException, std::exception) throw (RuntimeException, std::exception)
{ {
SAL_INFO("writerperfect", "KeynoteImportFilter::getImplementationName");
return KeynoteImportFilter_getImplementationName(); return KeynoteImportFilter_getImplementationName();
} }
sal_Bool SAL_CALL KeynoteImportFilter::supportsService( const OUString &rServiceName ) sal_Bool SAL_CALL KeynoteImportFilter::supportsService( const OUString &rServiceName )
throw (RuntimeException, std::exception) throw (RuntimeException, std::exception)
{ {
SAL_INFO("writerperfect", "KeynoteImportFilter::supportsService");
return cppu::supportsService(this, rServiceName); return cppu::supportsService(this, rServiceName);
} }
Sequence< OUString > SAL_CALL KeynoteImportFilter::getSupportedServiceNames( ) Sequence< OUString > SAL_CALL KeynoteImportFilter::getSupportedServiceNames( )
throw (RuntimeException, std::exception) throw (RuntimeException, std::exception)
{ {
SAL_INFO("writerperfect", "KeynoteImportFilter::getSupportedServiceNames");
return KeynoteImportFilter_getSupportedServiceNames(); return KeynoteImportFilter_getSupportedServiceNames();
} }
......
...@@ -60,7 +60,6 @@ ImportFilterImpl::~ImportFilterImpl() ...@@ -60,7 +60,6 @@ ImportFilterImpl::~ImportFilterImpl()
sal_Bool SAL_CALL ImportFilterImpl::filter( const Sequence< ::com::sun::star::beans::PropertyValue >& aDescriptor ) sal_Bool SAL_CALL ImportFilterImpl::filter( const Sequence< ::com::sun::star::beans::PropertyValue >& aDescriptor )
throw (RuntimeException, std::exception) throw (RuntimeException, std::exception)
{ {
SAL_INFO("writerperfect", "ImportFilterImpl::filter");
sal_Int32 nLength = aDescriptor.getLength(); sal_Int32 nLength = aDescriptor.getLength();
const PropertyValue *pValue = aDescriptor.getConstArray(); const PropertyValue *pValue = aDescriptor.getConstArray();
Reference < XInputStream > xInputStream; Reference < XInputStream > xInputStream;
...@@ -104,14 +103,12 @@ throw (RuntimeException, std::exception) ...@@ -104,14 +103,12 @@ throw (RuntimeException, std::exception)
void SAL_CALL ImportFilterImpl::cancel( ) void SAL_CALL ImportFilterImpl::cancel( )
throw (RuntimeException, std::exception) throw (RuntimeException, std::exception)
{ {
SAL_INFO("writerperfect", "ImportFilterImpl::cancel");
} }
// XImporter // XImporter
void SAL_CALL ImportFilterImpl::setTargetDocument( const Reference< ::com::sun::star::lang::XComponent >& xDoc ) void SAL_CALL ImportFilterImpl::setTargetDocument( const Reference< ::com::sun::star::lang::XComponent >& xDoc )
throw (::com::sun::star::lang::IllegalArgumentException, RuntimeException, std::exception) throw (::com::sun::star::lang::IllegalArgumentException, RuntimeException, std::exception)
{ {
SAL_INFO("writerperfect", "ImportFilterImpl::setTargetDocument");
mxDoc = xDoc; mxDoc = xDoc;
} }
...@@ -119,7 +116,6 @@ throw (::com::sun::star::lang::IllegalArgumentException, RuntimeException, std:: ...@@ -119,7 +116,6 @@ throw (::com::sun::star::lang::IllegalArgumentException, RuntimeException, std::
OUString SAL_CALL ImportFilterImpl::detect( com::sun::star::uno::Sequence< PropertyValue >& Descriptor ) OUString SAL_CALL ImportFilterImpl::detect( com::sun::star::uno::Sequence< PropertyValue >& Descriptor )
throw( com::sun::star::uno::RuntimeException, std::exception ) throw( com::sun::star::uno::RuntimeException, std::exception )
{ {
SAL_INFO("writerperfect", "ImportFilterImpl::detect");
OUString sTypeName; OUString sTypeName;
sal_Int32 nLength = Descriptor.getLength(); sal_Int32 nLength = Descriptor.getLength();
sal_Int32 location = nLength; sal_Int32 location = nLength;
...@@ -158,7 +154,6 @@ throw( com::sun::star::uno::RuntimeException, std::exception ) ...@@ -158,7 +154,6 @@ throw( com::sun::star::uno::RuntimeException, std::exception )
void SAL_CALL ImportFilterImpl::initialize( const Sequence< Any >& aArguments ) void SAL_CALL ImportFilterImpl::initialize( const Sequence< Any >& aArguments )
throw (Exception, RuntimeException, std::exception) throw (Exception, RuntimeException, std::exception)
{ {
SAL_INFO("writerperfect", "ImportFilterImpl::initialize");
Sequence < PropertyValue > aAnySeq; Sequence < PropertyValue > aAnySeq;
sal_Int32 nLength = aArguments.getLength(); sal_Int32 nLength = aArguments.getLength();
if ( nLength && ( aArguments[0] >>= aAnySeq ) ) if ( nLength && ( aArguments[0] >>= aAnySeq ) )
......
...@@ -88,8 +88,6 @@ static bool handleEmbeddedWPGImage(const WPXBinaryData &input, WPXBinaryData &ou ...@@ -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 ) bool SAL_CALL WordPerfectImportFilter::importImpl( const Sequence< ::com::sun::star::beans::PropertyValue >& aDescriptor )
throw (RuntimeException) throw (RuntimeException)
{ {
SAL_INFO("writerperfect", "WordPerfectImportFilter::importImpl");
sal_Int32 nLength = aDescriptor.getLength(); sal_Int32 nLength = aDescriptor.getLength();
const PropertyValue *pValue = aDescriptor.getConstArray(); const PropertyValue *pValue = aDescriptor.getConstArray();
Reference < XInputStream > xInputStream; Reference < XInputStream > xInputStream;
...@@ -155,20 +153,17 @@ throw (RuntimeException) ...@@ -155,20 +153,17 @@ throw (RuntimeException)
sal_Bool SAL_CALL WordPerfectImportFilter::filter( const Sequence< ::com::sun::star::beans::PropertyValue >& aDescriptor ) sal_Bool SAL_CALL WordPerfectImportFilter::filter( const Sequence< ::com::sun::star::beans::PropertyValue >& aDescriptor )
throw (RuntimeException, std::exception) throw (RuntimeException, std::exception)
{ {
SAL_INFO("writerperfect", "WordPerfectImportFilter::filter");
return importImpl ( aDescriptor ); return importImpl ( aDescriptor );
} }
void SAL_CALL WordPerfectImportFilter::cancel( ) void SAL_CALL WordPerfectImportFilter::cancel( )
throw (RuntimeException, std::exception) throw (RuntimeException, std::exception)
{ {
SAL_INFO("writerperfect", "WordPerfectImportFilter::cancel");
} }
// XImporter // XImporter
void SAL_CALL WordPerfectImportFilter::setTargetDocument( const Reference< ::com::sun::star::lang::XComponent >& xDoc ) void SAL_CALL WordPerfectImportFilter::setTargetDocument( const Reference< ::com::sun::star::lang::XComponent >& xDoc )
throw (::com::sun::star::lang::IllegalArgumentException, RuntimeException, std::exception) throw (::com::sun::star::lang::IllegalArgumentException, RuntimeException, std::exception)
{ {
SAL_INFO("writerperfect", "WordPerfectImportFilter::getTargetDocument");
mxDoc = xDoc; mxDoc = xDoc;
} }
...@@ -176,8 +171,6 @@ throw (::com::sun::star::lang::IllegalArgumentException, RuntimeException, std:: ...@@ -176,8 +171,6 @@ throw (::com::sun::star::lang::IllegalArgumentException, RuntimeException, std::
OUString SAL_CALL WordPerfectImportFilter::detect( Sequence< PropertyValue >& Descriptor ) OUString SAL_CALL WordPerfectImportFilter::detect( Sequence< PropertyValue >& Descriptor )
throw( RuntimeException, std::exception ) throw( RuntimeException, std::exception )
{ {
SAL_INFO("writerperfect", "WordPerfectImportFilter::detect");
WPDConfidence confidence = WPD_CONFIDENCE_NONE; WPDConfidence confidence = WPD_CONFIDENCE_NONE;
OUString sTypeName; OUString sTypeName;
sal_Int32 nLength = Descriptor.getLength(); sal_Int32 nLength = Descriptor.getLength();
...@@ -221,7 +214,6 @@ throw( RuntimeException, std::exception ) ...@@ -221,7 +214,6 @@ throw( RuntimeException, std::exception )
void SAL_CALL WordPerfectImportFilter::initialize( const Sequence< Any >& aArguments ) void SAL_CALL WordPerfectImportFilter::initialize( const Sequence< Any >& aArguments )
throw (Exception, RuntimeException, std::exception) throw (Exception, RuntimeException, std::exception)
{ {
SAL_INFO("writerperfect", "WordPerfectImportFilter::initialize");
Sequence < PropertyValue > aAnySeq; Sequence < PropertyValue > aAnySeq;
sal_Int32 nLength = aArguments.getLength(); sal_Int32 nLength = aArguments.getLength();
if ( nLength && ( aArguments[0] >>= aAnySeq ) ) if ( nLength && ( aArguments[0] >>= aAnySeq ) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment