diff options
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/filter/excel/export/SparklineExt.cxx | 2 | ||||
-rw-r--r-- | sc/source/filter/excel/xeescher.cxx | 4 | ||||
-rw-r--r-- | sc/source/filter/excel/xepivotxml.cxx | 14 | ||||
-rw-r--r-- | sc/source/filter/lotus/lotform.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/view/tabvwshc.cxx | 6 |
5 files changed, 14 insertions, 14 deletions
diff --git a/sc/source/filter/excel/export/SparklineExt.cxx b/sc/source/filter/excel/export/SparklineExt.cxx index fb5c98148323..684e358124e3 100644 --- a/sc/source/filter/excel/export/SparklineExt.cxx +++ b/sc/source/filter/excel/export/SparklineExt.cxx @@ -23,7 +23,7 @@ namespace xcl::exp SparklineExt::SparklineExt(const XclExpRoot& rRoot) : XclExpExt(rRoot) { - maURI = "{05C60535-1F16-4fd2-B633-F4F36F0B64E0}"; + maURI = "{05C60535-1F16-4fd2-B633-F4F36F0B64E0}"_ostr; } void SparklineExt::SaveXml(XclExpXmlStream& rStream) diff --git a/sc/source/filter/excel/xeescher.cxx b/sc/source/filter/excel/xeescher.cxx index 0ebf39f59cbf..4ed990be33d3 100644 --- a/sc/source/filter/excel/xeescher.cxx +++ b/sc/source/filter/excel/xeescher.cxx @@ -1154,10 +1154,10 @@ void VmlFormControlExporter::EndShape(sal_Int32 nShapeElement) switch (m_nObjType) { case EXC_OBJTYPE_CHECKBOX: - aObjectType = "Checkbox"; + aObjectType = "Checkbox"_ostr; break; case EXC_OBJTYPE_BUTTON: - aObjectType = "Button"; + aObjectType = "Button"_ostr; break; } pVmlDrawing->startElement(FSNS(XML_x, XML_ClientData), XML_ObjectType, aObjectType); diff --git a/sc/source/filter/excel/xepivotxml.cxx b/sc/source/filter/excel/xepivotxml.cxx index f05174b1f1d7..fc8b118eae41 100644 --- a/sc/source/filter/excel/xepivotxml.cxx +++ b/sc/source/filter/excel/xepivotxml.cxx @@ -292,25 +292,25 @@ void XclExpXmlPivotCaches::SavePivotCacheXml( XclExpXmlStream& rStrm, const Entr switch (nDatePart) { case sheet::DataPilotFieldGroupBy::SECONDS: - sGroupBy = "seconds"; + sGroupBy = "seconds"_ostr; break; case sheet::DataPilotFieldGroupBy::MINUTES: - sGroupBy = "minutes"; + sGroupBy = "minutes"_ostr; break; case sheet::DataPilotFieldGroupBy::HOURS: - sGroupBy = "hours"; + sGroupBy = "hours"_ostr; break; case sheet::DataPilotFieldGroupBy::DAYS: - sGroupBy = "days"; + sGroupBy = "days"_ostr; break; case sheet::DataPilotFieldGroupBy::MONTHS: - sGroupBy = "months"; + sGroupBy = "months"_ostr; break; case sheet::DataPilotFieldGroupBy::QUARTERS: - sGroupBy = "quarters"; + sGroupBy = "quarters"_ostr; break; case sheet::DataPilotFieldGroupBy::YEARS: - sGroupBy = "years"; + sGroupBy = "years"_ostr; break; } diff --git a/sc/source/filter/lotus/lotform.cxx b/sc/source/filter/lotus/lotform.cxx index 5442145dda3b..88ddfcfe251c 100644 --- a/sc/source/filter/lotus/lotform.cxx +++ b/sc/source/filter/lotus/lotform.cxx @@ -66,7 +66,7 @@ void LotusToSc::DoFunc( DefTokenId eOc, sal_uInt8 nCnt, const char* pExtString ) t = "L123_" + t; } else - t = "#UNKNOWN FUNC NAME#"; + t = "#UNKNOWN FUNC NAME#"_ostr; if( eOc == ocNoName ) { diff --git a/sc/source/ui/view/tabvwshc.cxx b/sc/source/ui/view/tabvwshc.cxx index be6fddc26740..8e2e74e8e4fb 100644 --- a/sc/source/ui/view/tabvwshc.cxx +++ b/sc/source/ui/view/tabvwshc.cxx @@ -546,14 +546,14 @@ void ScTabViewShell::notifyAllViewsHeaderInvalidation(const SfxViewShell* pForVi switch (eHeaderType) { case COLUMN_HEADER: - aPayload = "column"; + aPayload = "column"_ostr; break; case ROW_HEADER: - aPayload = "row"; + aPayload = "row"_ostr; break; case BOTH_HEADERS: default: - aPayload = "all"; + aPayload = "all"_ostr; break; } |