summaryrefslogtreecommitdiff
path: root/sfx2/source/view/impframe.hxx
diff options
context:
space:
mode:
authorFrank Schoenheit [fs] <frank.schoenheit@sun.com>2009-11-27 21:16:24 +0100
committerFrank Schoenheit [fs] <frank.schoenheit@sun.com>2009-11-27 21:16:24 +0100
commit93a7b558588be1f12e137329548b706daccc07df (patch)
treea7c27277d9b0fc85cdd402fc6b19cfa5ce62db2c /sfx2/source/view/impframe.hxx
parent4bd5ed95561730fe157252396f5c2cbfc8b2348b (diff)
[CWS autorecovery] merged SfxTopFrame into SfxFrame
SfxTopFrame was the only class deriving from the abstract class SfxFrame, so both can effectively be treated as one class.
Diffstat (limited to 'sfx2/source/view/impframe.hxx')
-rw-r--r--sfx2/source/view/impframe.hxx53
1 files changed, 30 insertions, 23 deletions
diff --git a/sfx2/source/view/impframe.hxx b/sfx2/source/view/impframe.hxx
index f5bcc27733b0..46cf52fea19f 100644
--- a/sfx2/source/view/impframe.hxx
+++ b/sfx2/source/view/impframe.hxx
@@ -54,14 +54,12 @@ class SfxObjectShell;
class SfxFrame_Impl : public SfxBroadcaster, public SvCompatWeakBase
{
-friend class SfxFrame;
-
+public:
::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > xFrame;
String aFrameIdName;
sal_uInt32 nType;
sal_uInt32 nHistoryPos;
SfxViewFrame* pCurrentViewFrame;
- SfxObjectShell* pCurrentObjectShell;
SfxFrameDescriptor* pDescr;
sal_uInt16 nFrameId;
sal_uInt16 nLocks;
@@ -76,27 +74,36 @@ friend class SfxFrame;
const SfxItemSet* pSet;
SfxWorkWindow* pWorkWin;
SvBorder aBorder;
+ // formerly SfxTopFrame
+ Window* pExternalWindow;
+ bool bHidden;
+ bool bLockResize;
+ bool bMenuBarOn;
- SfxFrame_Impl( SfxFrame* pAntiImplP ) :
- SvCompatWeakBase( pAntiImplP ),
- nType( 0L ),
- nHistoryPos( 0 ),
- pCurrentViewFrame( NULL ),
- pCurrentObjectShell( NULL ),
- pDescr( NULL ),
- nFrameId( 0 ),
- nLocks( 0 ),
- bCloseOnUnlock( sal_False ),
- bClosing(sal_False),
- bPrepClosing(sal_False),
- bInCancelTransfers( sal_False ),
- bOwnsBindings( sal_False ),
- bReleasingComponent( sal_False ),
- bInPlace( sal_False ),
- pFrame( pAntiImplP ),
- pSet( 0 ),
- pWorkWin( 0 )
- {}
+ SfxFrame_Impl( SfxFrame* pAntiImplP )
+ :SvCompatWeakBase( pAntiImplP )
+ ,nType( 0L )
+ ,nHistoryPos( 0 )
+ ,pCurrentViewFrame( NULL )
+ ,pDescr( NULL )
+ ,nFrameId( 0 )
+ ,nLocks( 0 )
+ ,bCloseOnUnlock( sal_False )
+ ,bClosing(sal_False)
+ ,bPrepClosing(sal_False)
+ ,bInCancelTransfers( sal_False )
+ ,bOwnsBindings( sal_False )
+ ,bReleasingComponent( sal_False )
+ ,bInPlace( sal_False )
+ ,pFrame( pAntiImplP )
+ ,pSet( 0 )
+ ,pWorkWin( 0 )
+ ,pExternalWindow( NULL )
+ ,bHidden( false )
+ ,bLockResize( false )
+ ,bMenuBarOn( true )
+ {
+ }
virtual ~SfxFrame_Impl() { }
};