summaryrefslogtreecommitdiff
path: root/sdext/source
diff options
context:
space:
mode:
Diffstat (limited to 'sdext/source')
-rw-r--r--sdext/source/presenter/PresenterHelper.cxx2
-rw-r--r--sdext/source/presenter/PresenterNotesView.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/sdext/source/presenter/PresenterHelper.cxx b/sdext/source/presenter/PresenterHelper.cxx
index f66b4eb00a86..76bec0ecee7d 100644
--- a/sdext/source/presenter/PresenterHelper.cxx
+++ b/sdext/source/presenter/PresenterHelper.cxx
@@ -28,7 +28,7 @@ using namespace ::com::sun::star::presentation;
namespace sdext::presenter {
-const OUStringLiteral msPaneURLPrefix( u"private:resource/pane/");
+constexpr OUStringLiteral msPaneURLPrefix( u"private:resource/pane/");
const OUString PresenterHelper::msFullScreenPaneURL( msPaneURLPrefix + "FullScreenPane");
Reference<presentation::XSlideShowController> PresenterHelper::GetSlideShowController (
diff --git a/sdext/source/presenter/PresenterNotesView.cxx b/sdext/source/presenter/PresenterNotesView.cxx
index 9dfad6d405bc..86258464471d 100644
--- a/sdext/source/presenter/PresenterNotesView.cxx
+++ b/sdext/source/presenter/PresenterNotesView.cxx
@@ -217,9 +217,9 @@ void PresenterNotesView::CreateToolBar (
void PresenterNotesView::SetSlide (const Reference<drawing::XDrawPage>& rxNotesPage)
{
- static const OUStringLiteral sNotesShapeName (
+ static constexpr OUStringLiteral sNotesShapeName (
u"com.sun.star.presentation.NotesShape");
- static const OUStringLiteral sTextShapeName (
+ static constexpr OUStringLiteral sTextShapeName (
u"com.sun.star.drawing.TextShape");
if (!rxNotesPage.is())