summaryrefslogtreecommitdiff
path: root/sfx2/inc
diff options
context:
space:
mode:
authorFrank Schoenheit [fs] <frank.schoenheit@sun.com>2009-12-15 23:31:21 +0100
committerFrank Schoenheit [fs] <frank.schoenheit@sun.com>2009-12-15 23:31:21 +0100
commit3a25d7157f5d23ab307d3d94a2ddda219affae9f (patch)
tree42f92ed810a441cab2a7592a2b1b668c835407f3 /sfx2/inc
parentef15b85ee3a40f37a5d2c298a0d5660577ae78df (diff)
autorecovery: Sfx(View)Frame::GetTopFrame now also returning a SfxFrame& instead of an SfxFrame*
Diffstat (limited to 'sfx2/inc')
-rw-r--r--sfx2/inc/sfx2/frame.hxx2
-rw-r--r--sfx2/inc/sfx2/viewfrm.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/inc/sfx2/frame.hxx b/sfx2/inc/sfx2/frame.hxx
index 57e788c6f784..cfd0ee05c031 100644
--- a/sfx2/inc/sfx2/frame.hxx
+++ b/sfx2/inc/sfx2/frame.hxx
@@ -163,7 +163,7 @@ public:
SfxBroadcaster& GetBroadcaster() const;
SfxObjectShell* GetCurrentDocument() const;
SfxViewFrame* GetCurrentViewFrame() const;
- SfxFrame* GetTopFrame() const;
+ SfxFrame& GetTopFrame() const;
sal_Bool IsParent( SfxFrame* ) const;
sal_uInt32 GetFrameType() const;
diff --git a/sfx2/inc/sfx2/viewfrm.hxx b/sfx2/inc/sfx2/viewfrm.hxx
index 7d1695d012b2..d1f3d18b501b 100644
--- a/sfx2/inc/sfx2/viewfrm.hxx
+++ b/sfx2/inc/sfx2/viewfrm.hxx
@@ -244,7 +244,7 @@ public:
BOOL DoClose();
ULONG GetFrameType() const
{ return GetFrame().GetFrameType(); }
- SfxFrame* GetTopFrame() const
+ SfxFrame& GetTopFrame() const
{ return GetFrame().GetTopFrame(); }
void GetTargetList( TargetList& rList ) const
{ GetFrame().GetTargetList( rList ); }