diff options
Diffstat (limited to 'sw/source/uibase/app/applab.cxx')
-rw-r--r-- | sw/source/uibase/app/applab.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/uibase/app/applab.cxx b/sw/source/uibase/app/applab.cxx index 1cb48c0f1135..8c6a450737de 100644 --- a/sw/source/uibase/app/applab.cxx +++ b/sw/source/uibase/app/applab.cxx @@ -264,7 +264,8 @@ void SwModule::InsertLab(SfxRequest& rReq, bool bLabel) pSh->ChgPageDesc( 0, aDesc ); // Insert frame - std::unique_ptr<SwFieldMgr> pFieldMgr(new SwFieldMgr); + std::optional<SwFieldMgr> pFieldMgr; + pFieldMgr.emplace(); pFieldMgr->SetEvalExpFields(false); // Prepare border template |