summaryrefslogtreecommitdiff
path: root/sfx2/source/view/frame.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/view/frame.cxx')
-rw-r--r--sfx2/source/view/frame.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sfx2/source/view/frame.cxx b/sfx2/source/view/frame.cxx
index 8476a92e8c31..674bc0f8d0de 100644
--- a/sfx2/source/view/frame.cxx
+++ b/sfx2/source/view/frame.cxx
@@ -467,11 +467,11 @@ void SfxFrame::GetTargetList( TargetList& rList ) const
if ( !GetParentFrame() )
{
// An empty string for 'No Target'
- rList.push_back( new String() );
- rList.push_back( new String( "_top" ) );
- rList.push_back( new String( "_parent" ) );
- rList.push_back( new String( "_blank" ) );
- rList.push_back( new String( "_self" ) );
+ rList.push_back( String() );
+ rList.push_back( String( "_top" ) );
+ rList.push_back( String( "_parent" ) );
+ rList.push_back( String( "_blank" ) );
+ rList.push_back( String( "_self" ) );
}
SfxViewFrame* pView = GetCurrentViewFrame();