summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/cellsh.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2024-06-01 10:27:57 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-06-01 20:00:59 +0200
commitf9ffaeaf7b2dce382474dbbb61819a2c039c0bf6 (patch)
tree3631197f0ae5599fd6229bc7f8ca55f151a52262 /sc/source/ui/view/cellsh.cxx
parent97265258cc102def076f057857cef3022325ab8f (diff)
loplugin:ostr in sc/../view
Change-Id: I24e84cd42e3f55761fbc1fb8ae9b2cf3fc7bd385 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168309 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/view/cellsh.cxx')
-rw-r--r--sc/source/ui/view/cellsh.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/ui/view/cellsh.cxx b/sc/source/ui/view/cellsh.cxx
index d907daf51ac2..ffffb61a5618 100644
--- a/sc/source/ui/view/cellsh.cxx
+++ b/sc/source/ui/view/cellsh.cxx
@@ -67,7 +67,7 @@ void ScCellShell::InitInterface_Impl()
SfxVisibilityFlags::Standard | SfxVisibilityFlags::Server,
ToolbarId::Objectbar_Format);
- GetStaticInterface()->RegisterPopupMenu("cell");
+ GetStaticInterface()->RegisterPopupMenu(u"cell"_ustr);
}
ScCellShell::ScCellShell(ScViewData& rData, const VclPtr<vcl::Window>& frameWin) :
@@ -76,7 +76,7 @@ ScCellShell::ScCellShell(ScViewData& rData, const VclPtr<vcl::Window>& frameWin)
bPastePossible(false),
pFrameWin(frameWin)
{
- SetName("Cell");
+ SetName(u"Cell"_ustr);
SfxShell::SetContextName(vcl::EnumContext::GetContextName(vcl::EnumContext::Context::Cell));
}
@@ -883,7 +883,7 @@ void ScCellShell::GetState(SfxItemSet &rSet)
// In interpreter may happen via rescheduled Basic
if ( rDoc.IsInInterpreter() )
- rSet.Put( SvxStatusItem( SID_TABLE_CELL, "...", StatusCategory::Formula ) );
+ rSet.Put( SvxStatusItem( SID_TABLE_CELL, u"..."_ustr, StatusCategory::Formula ) );
else
{
FormulaError nErrCode = FormulaError::NONE;
@@ -998,7 +998,7 @@ void ScCellShell::GetState(SfxItemSet &rSet)
rDoc.GetScenarioData( nScTab, aStr, aDummyCol, nFlags );
aList.push_back(aStr);
// Protection is sal_True if both Sheet and Scenario are protected
- aList.push_back((bSheetProtected && (nFlags & ScScenarioFlags::Protected)) ? OUString("1") : OUString("0"));
+ aList.push_back((bSheetProtected && (nFlags & ScScenarioFlags::Protected)) ? u"1"_ustr : u"0"_ustr);
++nScTab;
}
}