diff options
Diffstat (limited to 'sw/source/core/doc/docnew.cxx')
-rw-r--r-- | sw/source/core/doc/docnew.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/doc/docnew.cxx b/sw/source/core/doc/docnew.cxx index 6fee0c3f2587..d5841dd1c259 100644 --- a/sw/source/core/doc/docnew.cxx +++ b/sw/source/core/doc/docnew.cxx @@ -853,7 +853,7 @@ void SwDoc::ClearDoc() // remove the dummy pagedesc from the array and delete all the old ones sal_uInt16 nDummyPgDsc = 0; - if (FindPageDesc(pDummyPgDsc->GetName(), &nDummyPgDsc)) + if (FindPageDescByName(pDummyPgDsc->GetName(), &nDummyPgDsc)) maPageDescs.erase(maPageDescs.begin() + nDummyPgDsc); // remove the dummy pagedec from the array and delete all the old ones |