diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-07-22 23:38:52 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-07-25 15:12:21 +0200 |
commit | f6b2ace597e23fcdec27c8d2560cb407e0b8dea5 (patch) | |
tree | b00d4301536235b557534fce578073be191210ee /xmloff | |
parent | callcatcher: remove unused methods (diff) | |
download | core-f6b2ace597e23fcdec27c8d2560cb407e0b8dea5.tar.gz core-f6b2ace597e23fcdec27c8d2560cb407e0b8dea5.zip |
callcatcher: remove unused methods
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/inc/xexptran.hxx | 9 | ||||
-rw-r--r-- | xmloff/source/draw/sdxmlimp.cxx | 17 | ||||
-rw-r--r-- | xmloff/source/draw/sdxmlimp_impl.hxx | 6 | ||||
-rw-r--r-- | xmloff/source/draw/viewcontext.cxx | 5 | ||||
-rw-r--r-- | xmloff/source/draw/viewcontext.hxx | 3 | ||||
-rw-r--r-- | xmloff/source/draw/xexptran.cxx | 55 |
6 files changed, 0 insertions, 95 deletions
diff --git a/xmloff/inc/xexptran.hxx b/xmloff/inc/xexptran.hxx index 5fbd83500be6..814ad2aebce4 100644 --- a/xmloff/inc/xexptran.hxx +++ b/xmloff/inc/xexptran.hxx @@ -70,15 +70,11 @@ class SdXMLImExTransform2D public: SdXMLImExTransform2D() {} - SdXMLImExTransform2D(const rtl::OUString& rNew, const SvXMLUnitConverter& rConv); ~SdXMLImExTransform2D() { EmptyList(); } void AddRotate(double fNew); - void AddScale(const ::basegfx::B2DTuple& rNew); void AddTranslate(const ::basegfx::B2DTuple& rNew); void AddSkewX(double fNew); - void AddSkewY(double fNew); - void AddMatrix(const ::basegfx::B2DHomMatrix& rNew); bool NeedsAction() const { return !maList.empty(); } void GetFullTransform(::basegfx::B2DHomMatrix& rFullTrans); @@ -100,11 +96,6 @@ public: SdXMLImExTransform3D(const rtl::OUString& rNew, const SvXMLUnitConverter& rConv); ~SdXMLImExTransform3D() { EmptyList(); } - void AddRotateX(double fNew); - void AddRotateY(double fNew); - void AddRotateZ(double fNew); - void AddScale(const ::basegfx::B3DTuple& rNew); - void AddTranslate(const ::basegfx::B3DTuple& rNew); void AddMatrix(const ::basegfx::B3DHomMatrix& rNew); void AddHomogenMatrix(const com::sun::star::drawing::HomogenMatrix& xHomMat); diff --git a/xmloff/source/draw/sdxmlimp.cxx b/xmloff/source/draw/sdxmlimp.cxx index 53f16c9a2efa..c8bcf741b198 100644 --- a/xmloff/source/draw/sdxmlimp.cxx +++ b/xmloff/source/draw/sdxmlimp.cxx @@ -491,15 +491,6 @@ SdXMLImport::~SdXMLImport() throw () ////////////////////////////////////////////////////////////////////////////// -void SdXMLImport::SetProgress(sal_Int32 nProg) -{ - // set progress view - if(mxStatusIndicator.is()) - mxStatusIndicator->setValue(nProg); -} - -////////////////////////////////////////////////////////////////////////////// - const SvXMLTokenMap& SdXMLImport::GetDocElemTokenMap() { if(!mpDocElemTokenMap) @@ -854,14 +845,6 @@ SvXMLImportContext *SdXMLImport::CreateFontDeclsContext(const OUString& rLocalNa } ////////////////////////////////////////////////////////////////////////////// -// import pool defaults. Parameter contains pool defaults read -// from input data. These data needs to be set at the model. -// -void SdXMLImport::ImportPoolDefaults(const XMLPropStyleContext*) -{ -} - -////////////////////////////////////////////////////////////////////////////// SvXMLImportContext *SdXMLImport::CreateScriptContext( const OUString& rLocalName ) diff --git a/xmloff/source/draw/sdxmlimp_impl.hxx b/xmloff/source/draw/sdxmlimp_impl.hxx index 17cabd288616..d6bd917f31bc 100644 --- a/xmloff/source/draw/sdxmlimp_impl.hxx +++ b/xmloff/source/draw/sdxmlimp_impl.hxx @@ -255,8 +255,6 @@ public: // XInitialization virtual void SAL_CALL initialize( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& aArguments ) throw(::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException); - void SetProgress(sal_Int32 nProg); - virtual void SetViewSettings(const com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue>& aViewProps); virtual void SetConfigurationSettings(const com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue>& aConfigProps); @@ -312,10 +310,6 @@ public: sal_Bool IsDraw() const { return mbIsDraw; } sal_Bool IsImpress() const { return !mbIsDraw; } - // import pool defaults. Parameter contains pool defaults read - // from input data. These data needs to be set at the model. - void ImportPoolDefaults(const XMLPropStyleContext* pPool); - // #80365# virtual void SetStatistics( const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::NamedValue> & i_rStats); diff --git a/xmloff/source/draw/viewcontext.cxx b/xmloff/source/draw/viewcontext.cxx index 0670e971afad..3309635c549f 100644 --- a/xmloff/source/draw/viewcontext.cxx +++ b/xmloff/source/draw/viewcontext.cxx @@ -44,11 +44,6 @@ using ::rtl::OUString; //------------------------------------------------------------------ -SdXMLViewSettingsContext::SdXMLViewSettingsContext( SdXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLName, const uno::Reference<xml::sax::XAttributeList>& ) : - SvXMLImportContext( rImport, nPrfx, rLName ) -{ -} - SdXMLViewSettingsContext::~SdXMLViewSettingsContext() { } diff --git a/xmloff/source/draw/viewcontext.hxx b/xmloff/source/draw/viewcontext.hxx index fbc88b5d2115..8fc86f62006a 100644 --- a/xmloff/source/draw/viewcontext.hxx +++ b/xmloff/source/draw/viewcontext.hxx @@ -40,9 +40,6 @@ class SdXMLViewSettingsContext : public SvXMLImportContext ::com::sun::star::awt::Rectangle maVisArea; public: - SdXMLViewSettingsContext( SdXMLImport& rImport, sal_uInt16 nPrfx, const rtl::OUString& rLName, - const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList>& xAttrList); virtual ~SdXMLViewSettingsContext(); virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, diff --git a/xmloff/source/draw/xexptran.cxx b/xmloff/source/draw/xexptran.cxx index d0c7bc393214..75d0ff1a654a 100644 --- a/xmloff/source/draw/xexptran.cxx +++ b/xmloff/source/draw/xexptran.cxx @@ -386,12 +386,6 @@ void SdXMLImExTransform2D::AddRotate(double fNew) maList.push_back(new ImpSdXMLExpTransObj2DRotate(fNew)); } -void SdXMLImExTransform2D::AddScale(const ::basegfx::B2DTuple& rNew) -{ - if(1.0 != rNew.getX() || 1.0 != rNew.getY()) - maList.push_back(new ImpSdXMLExpTransObj2DScale(rNew)); -} - void SdXMLImExTransform2D::AddTranslate(const ::basegfx::B2DTuple& rNew) { if(!rNew.equalZero()) @@ -404,18 +398,6 @@ void SdXMLImExTransform2D::AddSkewX(double fNew) maList.push_back(new ImpSdXMLExpTransObj2DSkewX(fNew)); } -void SdXMLImExTransform2D::AddSkewY(double fNew) -{ - if(fNew != 0.0) - maList.push_back(new ImpSdXMLExpTransObj2DSkewY(fNew)); -} - -void SdXMLImExTransform2D::AddMatrix(const ::basegfx::B2DHomMatrix& rNew) -{ - if(!rNew.isIdentity()) - maList.push_back(new ImpSdXMLExpTransObj2DMatrix(rNew)); -} - ////////////////////////////////////////////////////////////////////////////// // gen string for export const OUString& SdXMLImExTransform2D::GetExportString(const SvXMLUnitConverter& rConv) @@ -520,13 +502,6 @@ const OUString& SdXMLImExTransform2D::GetExportString(const SvXMLUnitConverter& } ////////////////////////////////////////////////////////////////////////////// -// for Import: constructor with string, parses it and generates entries -SdXMLImExTransform2D::SdXMLImExTransform2D(const OUString& rNew, const SvXMLUnitConverter& rConv) -{ - SetString(rNew, rConv); -} - -////////////////////////////////////////////////////////////////////////////// // sets new string, parses it and generates entries void SdXMLImExTransform2D::SetString(const OUString& rNew, const SvXMLUnitConverter& rConv) { @@ -836,36 +811,6 @@ void SdXMLImExTransform3D::EmptyList() ////////////////////////////////////////////////////////////////////////////// // add members -void SdXMLImExTransform3D::AddRotateX(double fNew) -{ - if(fNew != 0.0) - maList.push_back(new ImpSdXMLExpTransObj3DRotateX(fNew)); -} - -void SdXMLImExTransform3D::AddRotateY(double fNew) -{ - if(fNew != 0.0) - maList.push_back(new ImpSdXMLExpTransObj3DRotateY(fNew)); -} - -void SdXMLImExTransform3D::AddRotateZ(double fNew) -{ - if(fNew != 0.0) - maList.push_back(new ImpSdXMLExpTransObj3DRotateZ(fNew)); -} - -void SdXMLImExTransform3D::AddScale(const ::basegfx::B3DTuple& rNew) -{ - if(1.0 != rNew.getX() || 1.0 != rNew.getY() || 1.0 != rNew.getZ()) - maList.push_back(new ImpSdXMLExpTransObj3DScale(rNew)); -} - -void SdXMLImExTransform3D::AddTranslate(const ::basegfx::B3DTuple& rNew) -{ - if(!rNew.equalZero()) - maList.push_back(new ImpSdXMLExpTransObj3DTranslate(rNew)); -} - void SdXMLImExTransform3D::AddMatrix(const ::basegfx::B3DHomMatrix& rNew) { if(!rNew.isIdentity()) |