summaryrefslogtreecommitdiff
path: root/sw/source/ui/app/appenv.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/app/appenv.cxx')
-rw-r--r--sw/source/ui/app/appenv.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/app/appenv.cxx b/sw/source/ui/app/appenv.cxx
index 3cf79b4077cf..87616026c93e 100644
--- a/sw/source/ui/app/appenv.cxx
+++ b/sw/source/ui/app/appenv.cxx
@@ -336,7 +336,7 @@ void SwModule::InsertEnv( SfxRequest& rReq )
pSh->SetNewDoc(); // Avoid performance problems
// Remember Flys of this site
- SvPtrarr aFlyArr(0, 5);
+ SvPtrarr aFlyArr(0);
if( ENV_NEWDOC != nMode && !bEnvChange )
pSh->GetPageObjs( aFlyArr );