summaryrefslogtreecommitdiff
path: root/sfx2/inc
diff options
context:
space:
mode:
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 ); }