summaryrefslogtreecommitdiff
path: root/sd/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-07-21 09:05:31 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-07-21 09:05:41 +0000
commit3d2f43438d4fe6947965a98262b0db42c8d5e680 (patch)
treee245fa05276d3b30b9537924cb06f7ebe266ac3b /sd/inc
parent190f91c71905ca18d6174393ad1b54be74259754 (diff)
loplugin:unusedmethods sd
Change-Id: I9b5399ace50db3259df2e619f28ae547a38e6c6d Reviewed-on: https://gerrit.libreoffice.org/17254 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sd/inc')
-rw-r--r--sd/inc/CustomAnimationEffect.hxx12
-rw-r--r--sd/inc/CustomAnimationPreset.hxx2
-rw-r--r--sd/inc/EffectMigration.hxx5
-rw-r--r--sd/inc/Outliner.hxx5
-rw-r--r--sd/inc/drawdoc.hxx1
-rw-r--r--sd/inc/sdabstdlg.hxx7
-rw-r--r--sd/inc/sdattr.hxx5
-rw-r--r--sd/inc/sddll.hxx4
-rw-r--r--sd/inc/sdfilter.hxx2
-rw-r--r--sd/inc/sdiocmpt.hxx1
-rw-r--r--sd/inc/sdobjfac.hxx4
-rw-r--r--sd/inc/sdpage.hxx5
12 files changed, 0 insertions, 53 deletions
diff --git a/sd/inc/CustomAnimationEffect.hxx b/sd/inc/CustomAnimationEffect.hxx
index 1250238f1999..ceb7333d08c8 100644
--- a/sd/inc/CustomAnimationEffect.hxx
+++ b/sd/inc/CustomAnimationEffect.hxx
@@ -95,9 +95,6 @@ public:
SAL_DLLPRIVATE double getAbsoluteDuration() const { return mfAbsoluteDuration; }
- SAL_DLLPRIVATE const OUString& getName() const { return maName; }
- SAL_DLLPRIVATE void setName( const OUString& rName ) { maName = rName; }
-
SAL_DLLPRIVATE sal_Int16 getIterateType() const { return mnIterateType; }
void setIterateType( sal_Int16 nIterateType );
@@ -140,9 +137,6 @@ public:
SAL_DLLPRIVATE ::com::sun::star::uno::Any getColor( sal_Int32 nIndex );
SAL_DLLPRIVATE void setColor( sal_Int32 nIndex, const ::com::sun::star::uno::Any& rColor );
- SAL_DLLPRIVATE ::com::sun::star::uno::Any getRotation();
- SAL_DLLPRIVATE void setRotation( const ::com::sun::star::uno::Any& rRotation );
-
SAL_DLLPRIVATE sal_Int32 getGroupId() const { return mnGroupId; }
SAL_DLLPRIVATE void setGroupId( sal_Int32 nGroupId );
@@ -243,7 +237,6 @@ public:
void reset();
void addEffect( CustomAnimationEffectPtr& pEffect );
- const ::com::sun::star::uno::Reference< com::sun::star::drawing::XShape >& getTarget() const { return maTarget; }
const EffectSequence& getEffects() const { return maEffects; }
/* -1: as single object, 0: all at once, n > 0: by n Th paragraph */
@@ -285,7 +278,6 @@ public:
SAL_DLLPRIVATE CustomAnimationEffectPtr append( const CustomAnimationPresetPtr& pDescriptor, const ::com::sun::star::uno::Any& rTarget, double fDuration = -1.0 );
SAL_DLLPRIVATE CustomAnimationEffectPtr append( const SdrPathObj& rPathObj, const ::com::sun::star::uno::Any& rTarget, double fDuration = -1.0 );
void append( const CustomAnimationEffectPtr& pEffect );
- SAL_DLLPRIVATE void insert( EffectSequence::iterator& rPos, const CustomAnimationEffectPtr& pEffect );
SAL_DLLPRIVATE void replace( const CustomAnimationEffectPtr& pEffect, const CustomAnimationPresetPtr& pDescriptor, double fDuration = -1.0 );
SAL_DLLPRIVATE void replace( const CustomAnimationEffectPtr& pEffect, const CustomAnimationPresetPtr& pDescriptor, const OUString& rPresetSubType, double fDuration = -1.0 );
SAL_DLLPRIVATE void remove( const CustomAnimationEffectPtr& pEffect );
@@ -305,10 +297,6 @@ public:
SAL_DLLPRIVATE virtual bool hasEffect( const com::sun::star::uno::Reference< com::sun::star::drawing::XShape >& xShape );
SAL_DLLPRIVATE virtual void onTextChanged( const com::sun::star::uno::Reference< com::sun::star::drawing::XShape >& xShape );
- /** this must be called if effects from this sequence are changed.
- the method will call the registered listeners */
- SAL_DLLPRIVATE void update( const CustomAnimationEffectPtr& pEffect );
-
/** this method rebuilds the animation nodes */
SAL_DLLPRIVATE virtual void rebuild();
diff --git a/sd/inc/CustomAnimationPreset.hxx b/sd/inc/CustomAnimationPreset.hxx
index d92fc05ec3b3..1c447f0b4870 100644
--- a/sd/inc/CustomAnimationPreset.hxx
+++ b/sd/inc/CustomAnimationPreset.hxx
@@ -50,9 +50,7 @@ public:
SD_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::animations::XAnimationNode > create( const OUString& rstrSubType );
const OUString& getPresetId() const { return maPresetId; }
- const OUString& getProperty() const { return maProperty; }
const OUString& getLabel() const { return maLabel; }
- sal_Int16 getPresetClass() const { return mnPresetClass; }
double getDuration() const { return mfDuration; }
UStringList getSubTypes();
diff --git a/sd/inc/EffectMigration.hxx b/sd/inc/EffectMigration.hxx
index f12290167ca7..62103d03ceda 100644
--- a/sd/inc/EffectMigration.hxx
+++ b/sd/inc/EffectMigration.hxx
@@ -45,14 +45,9 @@ public:
static bool ConvertPreset( const OUString& rPresetId, const OUString* pPresetSubType, ::com::sun::star::presentation::AnimationEffect& rEffect );
static bool ConvertAnimationEffect( const ::com::sun::star::presentation::AnimationEffect& rEffect, OUString& rPresetId, OUString& rPresetSubType );
-public:
- void AddEffectFromAnimationInfo( SdrObject* pObject, SdAnimationInfo* pInfo );
-
-public:
static void SetFadeEffect( SdPage* pPage, ::com::sun::star::presentation::FadeEffect eNewEffect);
static ::com::sun::star::presentation::FadeEffect GetFadeEffect( const SdPage* pPage );
-public:
static void SetAnimationEffect( SvxShape* pShape, ::com::sun::star::presentation::AnimationEffect eValue );
static ::com::sun::star::presentation::AnimationEffect GetAnimationEffect( SvxShape* pShape );
static void SetTextAnimationEffect( SvxShape* pShape, ::com::sun::star::presentation::AnimationEffect eValue );
diff --git a/sd/inc/Outliner.hxx b/sd/inc/Outliner.hxx
index 26ad3495357a..a97d2092ecc5 100644
--- a/sd/inc/Outliner.hxx
+++ b/sd/inc/Outliner.hxx
@@ -127,9 +127,6 @@ public:
*/
void StartSpelling();
- /** Proxy for method from base class to avoid compiler warning */
- void StartSpelling(EditView&, unsigned char);
-
/** Initiate a find and/or replace on the next relevant text object.
@return
Returns </sal_True> when the search/replace is finished (as
@@ -166,8 +163,6 @@ public:
/** Release all resources that have been created during the conversion */
void EndConversion();
- DECL_LINK( SpellError, void * );
-
enum ChangeHint { CH_VIEW_SHELL_INVALID, CH_VIEW_SHELL_VALID };
int GetIgnoreCurrentPageChangesLevel() const { return mnIgnoreCurrentPageChangesLevel; };
diff --git a/sd/inc/drawdoc.hxx b/sd/inc/drawdoc.hxx
index 1a3e359b3f4c..df9597191b83 100644
--- a/sd/inc/drawdoc.hxx
+++ b/sd/inc/drawdoc.hxx
@@ -144,7 +144,6 @@ public:
private:
bool bReadOnly;
public:
- SAL_DLLPRIVATE virtual void setDocReadOnly( bool b){ bReadOnly = b; }
SAL_DLLPRIVATE virtual bool getDocReadOnly() const { return bReadOnly; }
private:
::sd::Outliner* mpOutliner; ///< local outliner for outline mode
diff --git a/sd/inc/sdabstdlg.hxx b/sd/inc/sdabstdlg.hxx
index a2391f78603e..51a4b660e253 100644
--- a/sd/inc/sdabstdlg.hxx
+++ b/sd/inc/sdabstdlg.hxx
@@ -113,8 +113,6 @@ public:
class AbstractSdInsertPasteDlg : public VclAbstractDialog
{
-public:
- virtual bool IsInsertBefore() const = 0;
};
class AbstractSdInsertPagesObjsDlg : public VclAbstractDialog
@@ -161,10 +159,6 @@ public:
class AbstractHeaderFooterDialog : public VclAbstractDialog
{
-public:
- virtual void ApplyToAll() = 0;
- virtual void Apply() = 0;
- virtual void Cancel() = 0;
};
class SdAbstractDialogFactory
@@ -181,7 +175,6 @@ public:
virtual AbstractSdModifyFieldDlg* CreateSdModifyFieldDlg( vcl::Window* pWindow, const SvxFieldData* pInField, const SfxItemSet& rSet ) = 0;
virtual AbstractSdSnapLineDlg* CreateSdSnapLineDlg( vcl::Window* pWindow, const SfxItemSet& rInAttrs, ::sd::View* pView) = 0;
virtual AbstractSdInsertLayerDlg* CreateSdInsertLayerDlg( vcl::Window* pWindow, const SfxItemSet& rInAttrs, bool bDeletable, const OUString& aStr ) = 0;
- virtual AbstractSdInsertPasteDlg* CreateSdInsertPasteDlg( vcl::Window* pWindow ) = 0;
virtual AbstractSdInsertPagesObjsDlg* CreateSdInsertPagesObjsDlg( vcl::Window* pParent, const SdDrawDocument* pDoc, SfxMedium* pSfxMedium, const OUString& rFileName ) = 0;
virtual AbstractMorphDlg* CreateMorphDlg( vcl::Window* pParent, const SdrObject* pObj1, const SdrObject* pObj2) = 0;
virtual SfxAbstractTabDialog* CreateSdOutlineBulletTabDlg ( vcl::Window* pParent, const SfxItemSet* pAttr, ::sd::View* pView = NULL ) = 0;
diff --git a/sd/inc/sdattr.hxx b/sd/inc/sdattr.hxx
index 1fcafb138e6a..570ef7d9bde8 100644
--- a/sd/inc/sdattr.hxx
+++ b/sd/inc/sdattr.hxx
@@ -93,8 +93,6 @@ public:
virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const SAL_OVERRIDE;
virtual SfxPoolItem* Create( SvStream& rIn, sal_uInt16 nVer ) const SAL_OVERRIDE;
sal_uInt16 GetValueCount() const SAL_OVERRIDE { return FADE_EFFECT_COUNT; }
- ::com::sun::star::presentation::FadeEffect GetValue() const
- { return (::com::sun::star::presentation::FadeEffect) SfxEnumItem::GetValue(); }
};
class DiaSpeedItem : public SfxEnumItem
@@ -107,8 +105,6 @@ public:
virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const SAL_OVERRIDE;
virtual SfxPoolItem* Create( SvStream& rIn, sal_uInt16 nVer ) const SAL_OVERRIDE;
sal_uInt16 GetValueCount() const SAL_OVERRIDE { return FADE_SPEED_COUNT; }
- FadeSpeed GetValue() const
- { return (FadeSpeed) SfxEnumItem::GetValue(); }
};
class DiaAutoItem : public SfxEnumItem
@@ -121,7 +117,6 @@ public:
virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const SAL_OVERRIDE;
virtual SfxPoolItem* Create( SvStream& rIn, sal_uInt16 nVer ) const SAL_OVERRIDE;
sal_uInt16 GetValueCount() const SAL_OVERRIDE { return PRESCHANGE_COUNT; }
- PresChange GetValue() const { return (PresChange) SfxEnumItem::GetValue(); }
};
class DiaTimeItem : public SfxUInt32Item
diff --git a/sd/inc/sddll.hxx b/sd/inc/sddll.hxx
index 36c9c0e1bfed..22e8e61fbe1b 100644
--- a/sd/inc/sddll.hxx
+++ b/sd/inc/sddll.hxx
@@ -47,10 +47,6 @@ public:
SdDLL();
~SdDLL();
- // static-init/exit-code must be linked to the application
- static void LibInit(); // called from SfxApplication-subclass::Init()
- static void LibExit(); // called from SfxApplication-subclass::Exit()
-
// DLL-init/exit-code must be linked to the DLL only
static void Init(); // called directly after loading the DLL
};
diff --git a/sd/inc/sdfilter.hxx b/sd/inc/sdfilter.hxx
index 15cf1a632b06..6b9293509c3a 100644
--- a/sd/inc/sdfilter.hxx
+++ b/sd/inc/sdfilter.hxx
@@ -40,9 +40,7 @@ public:
SdFilter( SfxMedium& rMedium, ::sd::DrawDocShell& rDocShell, bool bShowProgress );
virtual ~SdFilter();
- bool IsProgress() const { return mbShowProgress; }
bool IsDraw() const { return mbIsDraw; }
- bool IsImpress() const { return !mbIsDraw; }
virtual bool Export() = 0;
protected:
diff --git a/sd/inc/sdiocmpt.hxx b/sd/inc/sdiocmpt.hxx
index cc18b4a0265f..f1a3f7bdbf11 100644
--- a/sd/inc/sdiocmpt.hxx
+++ b/sd/inc/sdiocmpt.hxx
@@ -57,7 +57,6 @@ public:
SdIOCompat(SvStream& rNewStream, StreamMode nNewMode,
sal_uInt16 nVer = SDIOCOMPAT_VERSIONDONTKNOW);
~SdIOCompat();
- sal_uInt16 GetVersion() const { return nVersion; }
};
#endif // INCLUDED_SD_INC_SDIOCMPT_HXX
diff --git a/sd/inc/sdobjfac.hxx b/sd/inc/sdobjfac.hxx
index 5e42f93ee0f3..cfca8b089f59 100644
--- a/sd/inc/sdobjfac.hxx
+++ b/sd/inc/sdobjfac.hxx
@@ -34,10 +34,6 @@ protected:
public:
SdObjectFactory() {}
- void SetOldMakeUserDataHdl( const Link<>& rLink )
- { aOldMakeUserDataLink = rLink; }
- Link<> GetOldMakeUserDataHdl() const { return aOldMakeUserDataLink; }
-
DECL_LINK( MakeUserData, SdrObjFactory * );
};
diff --git a/sd/inc/sdpage.hxx b/sd/inc/sdpage.hxx
index 6e6a354408b1..08d49afaab01 100644
--- a/sd/inc/sdpage.hxx
+++ b/sd/inc/sdpage.hxx
@@ -235,7 +235,6 @@ public:
void SetExcluded(bool bNewExcluded) { mbExcluded = bNewExcluded; }
bool IsExcluded() const { return mbExcluded; }
- void SetScaleObjects(bool bScale) { mbScaleObjects = bScale; }
bool IsScaleObjects() const { return mbScaleObjects; }
void SetSoundFile(const OUString& rStr) { maSoundFile = rStr; }
@@ -272,7 +271,6 @@ public:
OUString GetFileName() const { return maFileName; }
void SetBookmarkName(const OUString& aName) { maBookmarkName = aName; }
OUString GetBookmarkName() const { return maBookmarkName; }
- SdPageLink* GetLink() { return mpPageLink; }
void ConnectLink();
void DisconnectLink();
@@ -292,8 +290,6 @@ public:
void SetBackgroundFullSize( bool bIn );
bool IsBackgroundFullSize() const { return mbBackgroundFullSize; }
- rtl_TextEncoding GetCharSet() { return meCharSet; }
-
void SetPaperBin(sal_uInt16 nBin) { mnPaperBin = nBin; }
sal_uInt16 GetPaperBin() const { return mnPaperBin; }
virtual void SetOrientation(Orientation eOrient) SAL_OVERRIDE;
@@ -382,7 +378,6 @@ public:
void addAnnotation( const ::com::sun::star::uno::Reference< ::com::sun::star::office::XAnnotation >& xAnnotation, int nIndex = -1 );
void removeAnnotation( const ::com::sun::star::uno::Reference< ::com::sun::star::office::XAnnotation >& xAnnotation );
const sd::AnnotationVector& getAnnotations() const { return maAnnotations; }
- bool hasAnnotations() const { return !maAnnotations.empty(); }
sal_Int32 getHash() const;
OString stringify() const;