diff options
author | Xisco Fauli <anistenis@gmail.com> | 2011-03-28 12:38:06 +0200 |
---|---|---|
committer | Christina Rossmanith <ChrRossmanith@web.de> | 2011-03-28 12:38:32 +0200 |
commit | 0652fe22d215bce179ef387be29ab64b25ab8f2c (patch) | |
tree | 77dc0245e5d015dd27d83e8df044f2b469f78476 /sfx2/inc | |
parent | 95ca90267c184213b9af8e7e68c2fcbb904a3d42 (diff) |
Remove commented code in libs-core/sfx2
Diffstat (limited to 'sfx2/inc')
-rwxr-xr-x | sfx2/inc/sfx2/app.hxx | 22 | ||||
-rwxr-xr-x | sfx2/inc/sfx2/basedlgs.hxx | 2 | ||||
-rwxr-xr-x | sfx2/inc/sfx2/childwin.hxx | 1 | ||||
-rwxr-xr-x | sfx2/inc/sfx2/fcontnr.hxx | 2 | ||||
-rwxr-xr-x | sfx2/inc/sfx2/frmdescr.hxx | 3 | ||||
-rwxr-xr-x | sfx2/inc/sfx2/ipclient.hxx | 3 | ||||
-rwxr-xr-x | sfx2/inc/sfx2/itemconnect.hxx | 2 | ||||
-rwxr-xr-x | sfx2/inc/sfx2/prnmon.hxx | 1 | ||||
-rwxr-xr-x | sfx2/inc/sfx2/securitypage.hxx | 2 | ||||
-rwxr-xr-x | sfx2/inc/sfx2/sfxdlg.hxx | 2 | ||||
-rwxr-xr-x | sfx2/inc/sfx2/tbxctrl.hxx | 1 | ||||
-rwxr-xr-x | sfx2/inc/sfx2/viewfrm.hxx | 1 |
12 files changed, 0 insertions, 42 deletions
diff --git a/sfx2/inc/sfx2/app.hxx b/sfx2/inc/sfx2/app.hxx index 750bbeed3e..e2db8af940 100755 --- a/sfx2/inc/sfx2/app.hxx +++ b/sfx2/inc/sfx2/app.hxx @@ -129,28 +129,6 @@ public: //is apparently used only in SfxPickList/SfxFrameLoader DECL_OBJHINT( SfxStringHint, String ); -/* -typedef SfxPoolItem* (*SfxItemCreateFunc)(); -class SfxItemFactory_Impl; -class SfxItemFactoryList -{ - List aList; -public: - ~SfxItemFactoryList(); - - SfxItemFactory_Impl* GetFactory_Impl( const SvGlobalName& rName ) const; - SfxItemFactory_Impl* GetFactory_Impl( TypeId ) const; - const SvGlobalName* GetGlobalName( const SfxPoolItem* pItem ) const; - SfxPoolItem* Create( - const SvGlobalName& rName, sal_uInt16 nId, SvStream* pStrm = 0) const; - void RegisterItemFactory( - const SvGlobalName& rName, SfxItemCreateFunc ); -}; - -#define REGISTER_ITEM( ItemClass, aGlobName ) \ -RegisterItemFactory( aGlobName, ( SfxItemCreateFunc) ItemClass::StaticType() ); -*/ - #ifndef SFX_DECL_OBJECTSHELL_DEFINED #define SFX_DECL_OBJECTSHELL_DEFINED SV_DECL_REF(SfxObjectShell) diff --git a/sfx2/inc/sfx2/basedlgs.hxx b/sfx2/inc/sfx2/basedlgs.hxx index 44fa49d2d5..5646175efa 100755 --- a/sfx2/inc/sfx2/basedlgs.hxx +++ b/sfx2/inc/sfx2/basedlgs.hxx @@ -214,8 +214,6 @@ private: HelpButton* pHelpBtn; SingleTabDlgImpl* pImpl; -// const SfxItemSet* pOptions; -// SfxItemSet* pOutSet; DECL_DLLPRIVATE_LINK( OKHdl_Impl, Button * ); }; diff --git a/sfx2/inc/sfx2/childwin.hxx b/sfx2/inc/sfx2/childwin.hxx index 8fda445b56..9d6d93df85 100755 --- a/sfx2/inc/sfx2/childwin.hxx +++ b/sfx2/inc/sfx2/childwin.hxx @@ -230,7 +230,6 @@ public: SAL_DLLPRIVATE static void InitializeChildWinFactory_Impl(sal_uInt16, SfxChildWinInfo&); SAL_DLLPRIVATE void SetVisible_Impl( sal_Bool bVis ); SAL_DLLPRIVATE void SetWorkWindow_Impl( SfxWorkWindow* ); - //SfxWorkWindow* GetWorkWindow_Impl() const; SAL_DLLPRIVATE void Activate_Impl(); SAL_DLLPRIVATE void Deactivate_Impl(); diff --git a/sfx2/inc/sfx2/fcontnr.hxx b/sfx2/inc/sfx2/fcontnr.hxx index 70a820e4f8..246bfe4a6b 100755 --- a/sfx2/inc/sfx2/fcontnr.hxx +++ b/sfx2/inc/sfx2/fcontnr.hxx @@ -103,8 +103,6 @@ public: SfxFilterContainer( const String& rName ); ~SfxFilterContainer(); -// SfxFilterContainerFlags GetFlags() const; -// void SetFlags( SfxFilterContainerFlags eFlags ); const String GetName() const; diff --git a/sfx2/inc/sfx2/frmdescr.hxx b/sfx2/inc/sfx2/frmdescr.hxx index 2268464c97..ef539543fc 100755 --- a/sfx2/inc/sfx2/frmdescr.hxx +++ b/sfx2/inc/sfx2/frmdescr.hxx @@ -281,9 +281,6 @@ public: UniString &rText, const IntlWrapper * = 0 ) const; virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const; - //virtual SfxPoolItem* Create(SvStream &, sal_uInt16) const; - //virtual SvStream& Store(SvStream &, sal_uInt16 nItemVersion ) const; - //virtual sal_uInt16 GetVersion( sal_uInt16 nFileFormatVersion ) const; const SfxFrameProperties& GetProperties() const { return aProperties; } diff --git a/sfx2/inc/sfx2/ipclient.hxx b/sfx2/inc/sfx2/ipclient.hxx index d4975ab345..4500a0283d 100755 --- a/sfx2/inc/sfx2/ipclient.hxx +++ b/sfx2/inc/sfx2/ipclient.hxx @@ -99,9 +99,6 @@ public: void ResetObject(); sal_Bool IsUIActive(); - // used in Writer - // Rectangle PixelObjVisAreaToLogic( const Rectangle & rObjRect ) const; - // Rectangle LogicObjAreaToPixel( const Rectangle & rRect ) const; virtual void FormatChanged(); // object format was changed (used for StarMath formulas aligning) }; diff --git a/sfx2/inc/sfx2/itemconnect.hxx b/sfx2/inc/sfx2/itemconnect.hxx index 2d9ded19ed..ac912a5596 100755 --- a/sfx2/inc/sfx2/itemconnect.hxx +++ b/sfx2/inc/sfx2/itemconnect.hxx @@ -49,8 +49,6 @@ const ItemConnFlags ITEMCONN_NONE = 0x0000; /** Connection is inactive - virtual functions will not be called. */ const ItemConnFlags ITEMCONN_INACTIVE = 0x0001; -/** Clone item in FillItemSet() from old item set. */ -//const ItemConnFlags ITEMCONN_CLONE_ITEM = 0x0002; /** Enable control(s), if the item is known. */ const ItemConnFlags ITEMCONN_ENABLE_KNOWN = 0x0010; diff --git a/sfx2/inc/sfx2/prnmon.hxx b/sfx2/inc/sfx2/prnmon.hxx index 334a35f8a4..f70fea283f 100755 --- a/sfx2/inc/sfx2/prnmon.hxx +++ b/sfx2/inc/sfx2/prnmon.hxx @@ -37,7 +37,6 @@ class SfxViewShell; -//class SfxProgress; struct SfxPrintProgress_Impl; // ------------------------------------------------------------------------ diff --git a/sfx2/inc/sfx2/securitypage.hxx b/sfx2/inc/sfx2/securitypage.hxx index decdd7662c..efb690a264 100755 --- a/sfx2/inc/sfx2/securitypage.hxx +++ b/sfx2/inc/sfx2/securitypage.hxx @@ -34,7 +34,6 @@ #include <memory> -////////////////////////////////////////////////////////////////////// struct SfxSecurityPage_Impl; @@ -53,7 +52,6 @@ public: static SfxTabPage* Create( Window* pParent, const SfxItemSet& ); }; -////////////////////////////////////////////////////////////////////// #endif // #ifndef _SECURITYPAGE_HXX_ diff --git a/sfx2/inc/sfx2/sfxdlg.hxx b/sfx2/inc/sfx2/sfxdlg.hxx index 3df69e1ac1..952e55be79 100755 --- a/sfx2/inc/sfx2/sfxdlg.hxx +++ b/sfx2/inc/sfx2/sfxdlg.hxx @@ -54,8 +54,6 @@ class TransferableDataHelper; struct TransferableObjectDescriptor; #include <sfx2/tabdlg.hxx> -//typedef SfxTabPage* (*CreateTabPage)(Window *pParent, const SfxItemSet &rAttrSet); -//typedef sal_uInt16* (*GetTabPageRanges)(); namespace sfx2 { diff --git a/sfx2/inc/sfx2/tbxctrl.hxx b/sfx2/inc/sfx2/tbxctrl.hxx index c1dc72ad6e..c679090939 100755 --- a/sfx2/inc/sfx2/tbxctrl.hxx +++ b/sfx2/inc/sfx2/tbxctrl.hxx @@ -178,7 +178,6 @@ public: }; //------------------------------------------------------------------ -//------------------------------------------------------------------ #define SFX_DECL_TOOLBOX_CONTROL() \ static SfxToolBoxControl* CreateImpl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox &rTbx ); \ diff --git a/sfx2/inc/sfx2/viewfrm.hxx b/sfx2/inc/sfx2/viewfrm.hxx index c4c5abf97c..835159f4af 100755 --- a/sfx2/inc/sfx2/viewfrm.hxx +++ b/sfx2/inc/sfx2/viewfrm.hxx @@ -196,7 +196,6 @@ public: sal_Bool IsInModalMode() const; void Resize(sal_Bool bForce=sal_False); - //void SetChildWindow(sal_uInt16 nId, sal_Bool bVisible ); void SetChildWindow(sal_uInt16 nId, sal_Bool bVisible, sal_Bool bSetFocus=sal_True); void ToggleChildWindow(sal_uInt16); sal_Bool HasChildWindow(sal_uInt16); |