diff options
Diffstat (limited to 'svx/source')
-rw-r--r-- | svx/source/dialog/ClassificationDialog.cxx | 2 | ||||
-rw-r--r-- | svx/source/form/fmshimp.cxx | 4 | ||||
-rw-r--r-- | svx/source/inc/datanavi.hxx | 6 | ||||
-rw-r--r-- | svx/source/table/tablelayouter.cxx | 2 | ||||
-rw-r--r-- | svx/source/table/tablertfexporter.cxx | 2 | ||||
-rw-r--r-- | svx/source/tbxctrls/extrusioncontrols.cxx | 4 | ||||
-rw-r--r-- | svx/source/tbxctrls/fontworkgallery.cxx | 6 |
7 files changed, 13 insertions, 13 deletions
diff --git a/svx/source/dialog/ClassificationDialog.cxx b/svx/source/dialog/ClassificationDialog.cxx index e09cbe1c8cbe..1cd3a7b6ee93 100644 --- a/svx/source/dialog/ClassificationDialog.cxx +++ b/svx/source/dialog/ClassificationDialog.cxx @@ -71,7 +71,7 @@ namespace { constexpr size_t RECENTLY_USED_LIMIT = 5; -const OUStringLiteral constRecentlyUsedFileName(u"recentlyUsed.xml"); +constexpr OUStringLiteral constRecentlyUsedFileName(u"recentlyUsed.xml"); OUString lcl_getClassificationUserPath() { diff --git a/svx/source/form/fmshimp.cxx b/svx/source/form/fmshimp.cxx index b9ba22286d05..1e24c6c4a946 100644 --- a/svx/source/form/fmshimp.cxx +++ b/svx/source/form/fmshimp.cxx @@ -3669,8 +3669,8 @@ void FmXFormShell::smartControlReset( const Reference< XIndexAccess >& _rxModels return; } - static const OUStringLiteral sClassIdPropertyName = u"" FM_PROP_CLASSID; - static const OUStringLiteral sBoundFieldPropertyName = u"" FM_PROP_BOUNDFIELD; + static constexpr OUStringLiteral sClassIdPropertyName = u"" FM_PROP_CLASSID; + static constexpr OUStringLiteral sBoundFieldPropertyName = u"" FM_PROP_BOUNDFIELD; sal_Int32 nCount = _rxModels->getCount(); Reference< XPropertySet > xCurrent; Reference< XPropertySetInfo > xCurrentInfo; diff --git a/svx/source/inc/datanavi.hxx b/svx/source/inc/datanavi.hxx index f574adc4c05a..652ce21fa876 100644 --- a/svx/source/inc/datanavi.hxx +++ b/svx/source/inc/datanavi.hxx @@ -82,9 +82,9 @@ namespace svxform OUString m_sInstance_UI; OUString m_sNone_UI; - static constexpr OUStringLiteral const m_sDoc_API = u"all"; - static constexpr OUStringLiteral const m_sInstance_API = u"instance"; - static constexpr OUStringLiteral const m_sNone_API = u"none"; + static constexpr OUStringLiteral m_sDoc_API = u"all"; + static constexpr OUStringLiteral m_sInstance_API = u"instance"; + static constexpr OUStringLiteral m_sNone_API = u"none"; ReplaceString( const ReplaceString& ) = delete; diff --git a/svx/source/table/tablelayouter.cxx b/svx/source/table/tablelayouter.cxx index f0e8c735473d..f1d74673cd03 100644 --- a/svx/source/table/tablelayouter.cxx +++ b/svx/source/table/tablelayouter.cxx @@ -46,7 +46,7 @@ namespace sdr::table { static SvxBorderLine gEmptyBorder; -const OUStringLiteral gsSize( u"Size" ); +constexpr OUStringLiteral gsSize( u"Size" ); TableLayouter::TableLayouter( const TableModelRef& xTableModel ) : mxTable( xTableModel ) diff --git a/svx/source/table/tablertfexporter.cxx b/svx/source/table/tablertfexporter.cxx index 528d97bd1c41..f30d4dae6d72 100644 --- a/svx/source/table/tablertfexporter.cxx +++ b/svx/source/table/tablertfexporter.cxx @@ -67,7 +67,7 @@ void ExportAsRTF( SvStream& rStrm, SdrTableObj& rObj ) aEx.Write(); } -const OUStringLiteral gsSize( u"Size" ); +constexpr OUStringLiteral gsSize( u"Size" ); SdrTableRtfExporter::SdrTableRtfExporter( SvStream& rStrm, SdrTableObj& rObj ) : mrStrm( rStrm ) diff --git a/svx/source/tbxctrls/extrusioncontrols.cxx b/svx/source/tbxctrls/extrusioncontrols.cxx index 092a7ab53539..387957e95d9c 100644 --- a/svx/source/tbxctrls/extrusioncontrols.cxx +++ b/svx/source/tbxctrls/extrusioncontrols.cxx @@ -326,8 +326,8 @@ double ExtrusionDepthDialog::getDepth() const double const aDepthListInch[] = { 0, 1270,2540,5080,10160 }; double const aDepthListMM[] = { 0, 1000, 2500, 5000, 10000 }; -const OUStringLiteral gsExtrusionDepth( u".uno:ExtrusionDepth" ); -const OUStringLiteral gsMetricUnit( u".uno:MetricUnit" ); +constexpr OUStringLiteral gsExtrusionDepth( u".uno:ExtrusionDepth" ); +constexpr OUStringLiteral gsMetricUnit( u".uno:MetricUnit" ); ExtrusionDepthWindow::ExtrusionDepthWindow(svt::PopupWindowController* pControl, weld::Widget* pParent) : WeldToolbarPopup(pControl->getFrameInterface(), pParent, "svx/ui/depthwindow.ui", "DepthWindow") diff --git a/svx/source/tbxctrls/fontworkgallery.cxx b/svx/source/tbxctrls/fontworkgallery.cxx index d51f2e647422..24fa16afbe39 100644 --- a/svx/source/tbxctrls/fontworkgallery.cxx +++ b/svx/source/tbxctrls/fontworkgallery.cxx @@ -278,7 +278,7 @@ private: } -const OUStringLiteral gsFontworkAlignment(u".uno:FontworkAlignment"); +constexpr OUStringLiteral gsFontworkAlignment(u".uno:FontworkAlignment"); FontworkAlignmentWindow::FontworkAlignmentWindow(svt::PopupWindowController* pControl, weld::Widget* pParent) : WeldToolbarPopup(pControl->getFrameInterface(), pParent, "svx/ui/fontworkalignmentcontrol.ui", "FontworkAlignmentControl") @@ -464,8 +464,8 @@ private: } -const OUStringLiteral gsFontworkCharacterSpacing(u".uno:FontworkCharacterSpacing"); -const OUStringLiteral gsFontworkKernCharacterPairs(u".uno:FontworkKernCharacterPairs"); +constexpr OUStringLiteral gsFontworkCharacterSpacing(u".uno:FontworkCharacterSpacing"); +constexpr OUStringLiteral gsFontworkKernCharacterPairs(u".uno:FontworkKernCharacterPairs"); FontworkCharacterSpacingWindow::FontworkCharacterSpacingWindow(svt::PopupWindowController* pControl, weld::Widget* pParent) : WeldToolbarPopup(pControl->getFrameInterface(), pParent, "svx/ui/fontworkcharacterspacingcontrol.ui", "FontworkCharacterSpacingControl") |