summaryrefslogtreecommitdiffstats
path: root/include/sfx2/viewfrm.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/sfx2/viewfrm.hxx')
-rw-r--r--include/sfx2/viewfrm.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sfx2/viewfrm.hxx b/include/sfx2/viewfrm.hxx
index a1f0c9384011..333e055c6996 100644
--- a/include/sfx2/viewfrm.hxx
+++ b/include/sfx2/viewfrm.hxx
@@ -148,8 +148,8 @@ public:
bool DoClose();
sal_uIntPtr GetFrameType() const
{ return GetFrame().GetFrameType(); }
- void GetTargetList( TargetList& rList ) const
- { GetFrame().GetTargetList( rList ); }
+ static void GetTargetList( TargetList& rList )
+ { SfxFrame::GetDefaultTargetList( rList ); }
void SetModalMode( bool );
bool IsInModalMode() const;