summaryrefslogtreecommitdiff
path: root/sd/source/filter/ppt
diff options
context:
space:
mode:
authorRafael Dominguez <venccsralph@gmail.com>2011-06-08 15:43:44 -0430
committerPetr Mladek <pmladek@suse.cz>2011-06-10 18:46:33 +0200
commit418e1c560a9c6c68a1918e8a9b95ef276ce78ab1 (patch)
tree0ef56a2b5271405275d20ebcc7bcc3f74968cdf8 /sd/source/filter/ppt
parent6614d67510f067daef67cf6e8b704b409e1b4744 (diff)
Replace List for std::vector<sd::FrameView*>.
Diffstat (limited to 'sd/source/filter/ppt')
-rw-r--r--sd/source/filter/ppt/pptin.cxx10
1 files changed, 3 insertions, 7 deletions
diff --git a/sd/source/filter/ppt/pptin.cxx b/sd/source/filter/ppt/pptin.cxx
index 7f7b121a2770..20a02db6a50d 100644
--- a/sd/source/filter/ppt/pptin.cxx
+++ b/sd/source/filter/ppt/pptin.cxx
@@ -1211,13 +1211,9 @@ sal_Bool ImplSdPPTImport::Import()
::sd::FrameView* pFrameView = mpDoc->GetFrameView( 0 );
if ( !pFrameView )
{
- List* pFrameViewList = mpDoc->GetFrameViewList();
- if ( pFrameViewList )
- {
- pFrameView = new ::sd::FrameView( mpDoc );
- if ( pFrameView )
- pFrameViewList->Insert( pFrameView );
- }
+ std::vector<sd::FrameView*> &rViews = mpDoc->GetFrameViewList();
+ pFrameView = new ::sd::FrameView( mpDoc );
+ rViews.push_back( pFrameView );
}
if ( pFrameView )
{