From f6fa9c455502e9a00e4a4cff6e19f3e17c5479c3 Mon Sep 17 00:00:00 2001 From: Mike Kaganski Date: Mon, 10 Apr 2023 18:01:17 +0300 Subject: Use more *string_view Change-Id: I1172febd45da4dba006f8495427fe45c6d9b9fa6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150187 Tested-by: Jenkins Reviewed-by: Mike Kaganski --- starmath/source/view.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'starmath') diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx index e52e7eaa7cc1..daddbb51e9ac 100644 --- a/starmath/source/view.cxx +++ b/starmath/source/view.cxx @@ -510,7 +510,7 @@ void SmGraphicWidget::SetIsCursorVisible(bool bVis) { mrViewShell.SendCaretToLOK(); mrViewShell.libreOfficeKitViewCallback(LOK_CALLBACK_CURSOR_VISIBLE, - OString::boolean(bVis).getStr()); + OString::boolean(bVis)); } } @@ -2181,7 +2181,7 @@ public: if (comphelper::LibreOfficeKit::isActive()) if (auto pViewShell = GetViewShell_Impl()) pViewShell->libreOfficeKitViewCallback(LOK_CALLBACK_CURSOR_VISIBLE, - OString::boolean(false).getStr()); + OString::boolean(false)); SfxBaseController::dispose(); } -- cgit