summaryrefslogtreecommitdiff
path: root/sdext/source/presenter/PresenterHelpView.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sdext/source/presenter/PresenterHelpView.cxx')
-rw-r--r--sdext/source/presenter/PresenterHelpView.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sdext/source/presenter/PresenterHelpView.cxx b/sdext/source/presenter/PresenterHelpView.cxx
index 12dac0864fa1..42ba18411179 100644
--- a/sdext/source/presenter/PresenterHelpView.cxx
+++ b/sdext/source/presenter/PresenterHelpView.cxx
@@ -382,8 +382,8 @@ void PresenterHelpView::ProcessString (
OUString sRightText;
PresenterConfigurationAccess::GetProperty(rsProperties, "Right") >>= sRightText;
mpTextContainer->push_back(
- std::shared_ptr<Block>(
- new Block(sLeftText, sRightText, mpFont->mxFont, mnMaximalWidth)));
+ std::make_shared<Block>(
+ sLeftText, sRightText, mpFont->mxFont, mnMaximalWidth));
}
void PresenterHelpView::CheckFontSize()