diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-12-21 20:33:57 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-12-29 18:02:26 +0000 |
commit | 5aa0ac02a0cb9b7a387366f841bc603cbe396eaa (patch) | |
tree | 01b2f9529a5807c131f1582abbd7c25b93ab4017 /sfx2/inc | |
parent | d906615e35c1a255c58c3f2085c8e2f110eb522a (diff) |
callcatcher: update unused code list
Change-Id: I47467b53705f8059a829126a598e29a1105df13c
Diffstat (limited to 'sfx2/inc')
-rw-r--r-- | sfx2/inc/sfx2/app.hxx | 5 | ||||
-rw-r--r-- | sfx2/inc/sfx2/basedlgs.hxx | 12 | ||||
-rw-r--r-- | sfx2/inc/sfx2/doctempl.hxx | 11 | ||||
-rw-r--r-- | sfx2/inc/sfx2/objsh.hxx | 6 | ||||
-rw-r--r-- | sfx2/inc/sfx2/sfx.hrc | 2 |
5 files changed, 0 insertions, 36 deletions
diff --git a/sfx2/inc/sfx2/app.hxx b/sfx2/inc/sfx2/app.hxx index 5ff15f277b2e..6fe8bc071809 100644 --- a/sfx2/inc/sfx2/app.hxx +++ b/sfx2/inc/sfx2/app.hxx @@ -200,11 +200,6 @@ public: void NotifyEvent(const SfxEventHint& rEvent, bool bSynchron = true ); sal_Bool IsDowning() const; sal_Bool IsSecureURL( const INetURLObject &rURL, const String *pReferer ) const; - static SfxObjectShellRef DocAlreadyLoaded( const String &rName, - sal_Bool bSilent, - sal_Bool bActivate, - sal_Bool bForbidVisible = sal_False, - const String* pPostStr = 0); void ResetLastDir(); SAL_DLLPRIVATE static SfxApplication* Get() { return pApp;} diff --git a/sfx2/inc/sfx2/basedlgs.hxx b/sfx2/inc/sfx2/basedlgs.hxx index 2251eaf01226..2d3abba9ab1d 100644 --- a/sfx2/inc/sfx2/basedlgs.hxx +++ b/sfx2/inc/sfx2/basedlgs.hxx @@ -40,18 +40,6 @@ class HelpButton; class Button; class FixedLine; -// class SfxModalDefParentHelper ----------------------------------------- - -class SfxModalDefParentHelper -{ -private: - Window *pOld; - -public: - SfxModalDefParentHelper(Window* pWindow); - ~SfxModalDefParentHelper(); -}; - // class SfxModalDialog -------------------------------------------------- class SFX2_DLLPUBLIC SfxModalDialog: public ModalDialog diff --git a/sfx2/inc/sfx2/doctempl.hxx b/sfx2/inc/sfx2/doctempl.hxx index 507117ce8538..01d398f1aa7c 100644 --- a/sfx2/inc/sfx2/doctempl.hxx +++ b/sfx2/inc/sfx2/doctempl.hxx @@ -60,17 +60,14 @@ public: const SfxDocumentTemplates &operator=(const SfxDocumentTemplates &); - sal_Bool Rescan( ); void ReInitFromComponent(); - sal_Bool IsRegionLoaded( sal_uInt16 nIdx ) const; sal_uInt16 GetRegionCount() const; const String& GetRegionName(sal_uInt16 nIdx) const; //dv! String GetFullRegionName(sal_uInt16 nIdx) const; sal_uInt16 GetCount(sal_uInt16 nRegion) const; const String& GetName(sal_uInt16 nRegion, sal_uInt16 nIdx) const; //dv! - String GetFileName(sal_uInt16 nRegion, sal_uInt16 nIdx) const; String GetPath(sal_uInt16 nRegion, sal_uInt16 nIdx) const; // Allows to retrieve the target template URL from the UCB @@ -94,14 +91,10 @@ public: sal_uInt16 nSourceIdx); sal_Bool Delete(sal_uInt16 nRegion, sal_uInt16 nIdx); sal_Bool InsertDir(const String &rText, sal_uInt16 nRegion); - sal_Bool SetName(const String &rName, sal_uInt16 nRegion, sal_uInt16 nIdx); sal_Bool CopyTo(sal_uInt16 nRegion, sal_uInt16 nIdx, const String &rName) const; sal_Bool CopyFrom(sal_uInt16 nRegion, sal_uInt16 nIdx, String &rName); - SfxObjectShellRef CreateObjectShell(sal_uInt16 nRegion, sal_uInt16 nIdx); - sal_Bool DeleteObjectShell(sal_uInt16, sal_uInt16); - sal_Bool GetFull( const String& rRegion, const String& rName, String& rPath ); sal_Bool GetLogicNames( const String& rPath, String& rRegion, String& rName ) const; @@ -121,10 +114,6 @@ public: So set <arg>_bSmart</arg> to <TRUE/> to do a check for necessity first. */ void Update( sal_Bool _bSmart = sal_True ); - - // allows to detect whether it is allowed to delete ( at least partially ) - // a group or a template, or to edit a template - sal_Bool HasUserContents( sal_uInt16 nRegion, sal_uInt16 nIdx ) const; }; #endif // #ifndef _SFXDOCTEMPL_HXX diff --git a/sfx2/inc/sfx2/objsh.hxx b/sfx2/inc/sfx2/objsh.hxx index d2a3b3d76440..8e1e2f6e0246 100644 --- a/sfx2/inc/sfx2/objsh.hxx +++ b/sfx2/inc/sfx2/objsh.hxx @@ -526,12 +526,6 @@ public: sal_uInt16 nIdx2 = INDEX_IGNORE, sal_uInt16 nIdx3 = INDEX_IGNORE); - sal_Bool Print( Printer &rPrt, - sal_uInt16 nIdx1, - sal_uInt16 nIdx2 = INDEX_IGNORE, - sal_uInt16 nIdx3 = INDEX_IGNORE, - const String *pObjectName = 0 ); - virtual void LoadStyles( SfxObjectShell &rSource ); void ReadNote( INote * ); void UpdateNote( INote * ); diff --git a/sfx2/inc/sfx2/sfx.hrc b/sfx2/inc/sfx2/sfx.hrc index c2103d32c9ac..500063c7575d 100644 --- a/sfx2/inc/sfx2/sfx.hrc +++ b/sfx2/inc/sfx2/sfx.hrc @@ -129,8 +129,6 @@ #define RID_APPTITLE (RID_SFX_START+4) -#define RID_DOCALREADYLOADED_DLG (RID_SFX_START+1) - #define DLG_DOCINFO_EDT (RID_SFX_START+6) #define TP_MANAGE_STYLES (RID_SFX_START+7) #define DLG_STYLE_DESIGNER (RID_SFX_START+8) |