From 116b9d6ddf2b61186b29f0370234eec9c1bbe306 Mon Sep 17 00:00:00 2001 From: Mike Kaganski Date: Sun, 2 Apr 2023 01:18:42 +0300 Subject: Avoid conversions between OUString and OString in VCL Standardize on OUString, which is the main internal string class. Convert from/to OUString only when communicating with respective external APIs. Removes about 200 conversions from the code. Change-Id: I96ecee7c6fd271bb76639220e96d69d2964bed26 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149930 Tested-by: Jenkins Reviewed-by: Mike Kaganski --- sc/source/ui/attrdlg/attrdlg.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sc/source/ui/attrdlg/attrdlg.cxx') diff --git a/sc/source/ui/attrdlg/attrdlg.cxx b/sc/source/ui/attrdlg/attrdlg.cxx index 4e13eae6dea4..ad0a82542c3e 100644 --- a/sc/source/ui/attrdlg/attrdlg.cxx +++ b/sc/source/ui/attrdlg/attrdlg.cxx @@ -69,7 +69,7 @@ ScAttrDlg::~ScAttrDlg() { } -void ScAttrDlg::PageCreated(const OString& rPageId, SfxTabPage& rTabPage) +void ScAttrDlg::PageCreated(const OUString& rPageId, SfxTabPage& rTabPage) { SfxObjectShell* pDocSh = SfxObjectShell::Current(); SfxAllItemSet aSet(*(GetInputSetImpl()->GetPool())); -- cgit