summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-07-22 23:38:52 +0200
committerThomas Arnhold <thomas@arnhold.org>2011-07-25 15:12:21 +0200
commitc4c2b2f23f954084feab5b3c07c3197f911cd8e2 (patch)
treeb53615e82cc4085a65f10ea35234df7f51e9e548 /xmloff
parentcfd9e25671347b0d110c978c5b769ba4dd679965 (diff)
callcatcher: remove unused methods
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/inc/xexptran.hxx9
-rw-r--r--xmloff/source/draw/sdxmlimp.cxx17
-rw-r--r--xmloff/source/draw/sdxmlimp_impl.hxx6
-rw-r--r--xmloff/source/draw/viewcontext.cxx5
-rw-r--r--xmloff/source/draw/viewcontext.hxx3
-rw-r--r--xmloff/source/draw/xexptran.cxx55
6 files changed, 0 insertions, 95 deletions
diff --git a/xmloff/inc/xexptran.hxx b/xmloff/inc/xexptran.hxx
index 14f27abd30..7a5fcfad20 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 8d9b93d0a7..12b84e6b8f 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 f0c10ae38b..06cf8eded3 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 7f0fbac05b..00907429cc 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 c7faa2f5a8..2d8ffe5d07 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 9f18076299..21983eb5d9 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())