diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-11-03 09:06:35 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-11-03 12:18:17 +0000 |
commit | 56d5a48099165dabb72eb3a2655c2eb503684f1c (patch) | |
tree | a492fbaff7c7f7253ad59a535e73479fdd641dfa /xmloff | |
parent | eaefa688bfff0f73992c84496d4ce89e16ac3550 (diff) |
callcatcher: drop unused methods
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/inc/xmloff/xmlimp.hxx | 20 | ||||
-rw-r--r-- | xmloff/inc/xmloff/xmluconv.hxx | 3 | ||||
-rw-r--r-- | xmloff/source/core/xmlimp.cxx | 76 | ||||
-rw-r--r-- | xmloff/source/core/xmluconv.cxx | 3 |
4 files changed, 0 insertions, 102 deletions
diff --git a/xmloff/inc/xmloff/xmlimp.hxx b/xmloff/inc/xmloff/xmlimp.hxx index 498aed4e52ae..eb8b950ee867 100644 --- a/xmloff/inc/xmloff/xmlimp.hxx +++ b/xmloff/inc/xmloff/xmlimp.hxx @@ -197,26 +197,9 @@ public: const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& xServiceFactory, sal_uInt16 nImportFlags = IMPORT_ALL ) throw(); - // #110680# - //SvXMLImport( const ::com::sun::star::uno::Reference< - // ::com::sun::star::frame::XModel > & ) throw(); - SvXMLImport( - const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& xServiceFactory, - const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel > & ) throw(); - - // #110680# - //SvXMLImport( const ::com::sun::star::uno::Reference< - // ::com::sun::star::frame::XModel > &, - // const ::com::sun::star::uno::Reference< ::com::sun::star::document::XGraphicObjectResolver > & ) throw(); - SvXMLImport( - const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& xServiceFactory, - const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel > &, - const ::com::sun::star::uno::Reference< ::com::sun::star::document::XGraphicObjectResolver > & ) throw(); - virtual ~SvXMLImport() throw(); static const ::com::sun::star::uno::Sequence< sal_Int8 > & getUnoTunnelId() throw(); - static SvXMLImport* getImplementation( ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > ) throw(); // ::com::sun::star::xml::sax::XDocumentHandler virtual void SAL_CALL startDocument(void) @@ -396,9 +379,6 @@ public: const rtl::OUString& rMsg3, const rtl::OUString& rMsg4 ); - /** return list of errors */ - XMLErrors* GetErrors(); - /** return current error flags */ sal_uInt16 GetErrorFlags() { return mnErrorFlags; } diff --git a/xmloff/inc/xmloff/xmluconv.hxx b/xmloff/inc/xmloff/xmluconv.hxx index 2f822def8342..003fe8c8e021 100644 --- a/xmloff/inc/xmloff/xmluconv.hxx +++ b/xmloff/inc/xmloff/xmluconv.hxx @@ -189,9 +189,6 @@ public: sal_Bool setNullDate ( const com::sun::star::uno::Reference <com::sun::star::frame::XModel>& xModel); - /** Set the Null Date of the UnitConverter */ - void setNullDate ( const com::sun::star::util::Date& aTempNullDate ); - /** convert double to ISO Date Time String */ void convertDateTime( ::rtl::OUStringBuffer& rBuffer, const double& fDateTime, diff --git a/xmloff/source/core/xmlimp.cxx b/xmloff/source/core/xmlimp.cxx index 1fe7a1e6db55..aa2b46c5793f 100644 --- a/xmloff/source/core/xmlimp.cxx +++ b/xmloff/source/core/xmlimp.cxx @@ -374,63 +374,6 @@ SvXMLImport::SvXMLImport( _InitCtor(); } -// #110680# -SvXMLImport::SvXMLImport( - const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& xServiceFactory, - const Reference< XModel > & rModel ) throw () -: mxModel( rModel ), - mxNumberFormatsSupplier (rModel, uno::UNO_QUERY), - mpImpl( new SvXMLImport_Impl() ), - mpNamespaceMap( new SvXMLNamespaceMap ), - mpUnitConv( new SvXMLUnitConverter(xServiceFactory, - util::MeasureUnit::MM_100TH, util::MeasureUnit::MM_100TH) ), - mpContexts( new SvXMLImportContexts_Impl ), - mpNumImport( NULL ), - mpProgressBarHelper( NULL ), - mpEventImportHelper( NULL ), - mpXMLErrors( NULL ), - mpStyleMap(0), - mnImportFlags( IMPORT_ALL ), - mnErrorFlags(0), - // #110680# - mxServiceFactory(xServiceFactory), - mbIsFormsSupported( sal_True ), - mbIsTableShapeSupported( false ), - mbIsGraphicLoadOnDemandSupported( true ) -{ - DBG_ASSERT( mxServiceFactory.is(), "got no service manager" ); - _InitCtor(); -} - -// #110680# -SvXMLImport::SvXMLImport( - const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& xServiceFactory, - const Reference< XModel > & rModel, - const ::com::sun::star::uno::Reference< ::com::sun::star::document::XGraphicObjectResolver > & rGraphicObjects ) throw () -: mxModel( rModel ), - mxNumberFormatsSupplier (rModel, uno::UNO_QUERY), - mxGraphicResolver( rGraphicObjects ), - mpImpl( new SvXMLImport_Impl() ), - mpNamespaceMap( new SvXMLNamespaceMap ), - mpUnitConv( new SvXMLUnitConverter(xServiceFactory, - util::MeasureUnit::MM_100TH, util::MeasureUnit::MM_100TH) ), - mpContexts( new SvXMLImportContexts_Impl ), - mpNumImport( NULL ), - mpProgressBarHelper( NULL ), - mpEventImportHelper( NULL ), - mpXMLErrors( NULL ), - mpStyleMap(0), - mnImportFlags( IMPORT_ALL ), - mnErrorFlags(0), - // #110680# - mxServiceFactory(xServiceFactory), - mbIsFormsSupported( sal_True ), - mbIsGraphicLoadOnDemandSupported( true ) -{ - DBG_ASSERT( mxServiceFactory.is(), "got no service manager" ); - _InitCtor(); -} - SvXMLImport::~SvXMLImport() throw () { delete mpXMLErrors; @@ -478,20 +421,6 @@ const uno::Sequence< sal_Int8 > & SvXMLImport::getUnoTunnelId() throw() return theSvXMLImportUnoTunnelId::get().getSeq(); } -SvXMLImport* SvXMLImport::getImplementation( uno::Reference< uno::XInterface > xInt ) throw() -{ - uno::Reference< lang::XUnoTunnel > xUT( xInt, uno::UNO_QUERY ); - if( xUT.is() ) - { - return - reinterpret_cast<SvXMLImport*>( - sal::static_int_cast<sal_IntPtr>( - xUT->getSomething( SvXMLImport::getUnoTunnelId()))); - } - else - return NULL; -} - // XUnoTunnel sal_Int64 SAL_CALL SvXMLImport::getSomething( const uno::Sequence< sal_Int8 >& rId ) throw( uno::RuntimeException ) @@ -1820,11 +1749,6 @@ void SvXMLImport::SetError( SetError( nId, aSeq ); } -XMLErrors* SvXMLImport::GetErrors() -{ - return mpXMLErrors; -} - void SvXMLImport::DisposingModel() { if( mxFontDecls.Is() ) diff --git a/xmloff/source/core/xmluconv.cxx b/xmloff/source/core/xmluconv.cxx index 97c8c9bf016d..cb68a06acf76 100644 --- a/xmloff/source/core/xmluconv.cxx +++ b/xmloff/source/core/xmluconv.cxx @@ -362,9 +362,6 @@ sal_Bool SvXMLUnitConverter::setNullDate(const com::sun::star::uno::Reference <c return sal_False; } -void SvXMLUnitConverter::setNullDate(const util::Date& aTempNullDate) - { m_pImpl->m_aNullDate = aTempNullDate; } - /** convert double to ISO Date Time String */ void SvXMLUnitConverter::convertDateTime(::rtl::OUStringBuffer& rBuffer, const double& fDateTime, bool const bAddTimeIf0AM) |