summaryrefslogtreecommitdiff
path: root/cui/source/dialogs/toolbarmodedlg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/dialogs/toolbarmodedlg.cxx')
-rw-r--r--cui/source/dialogs/toolbarmodedlg.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/dialogs/toolbarmodedlg.cxx b/cui/source/dialogs/toolbarmodedlg.cxx
index e15f54e830cb..4f5df939e948 100644
--- a/cui/source/dialogs/toolbarmodedlg.cxx
+++ b/cui/source/dialogs/toolbarmodedlg.cxx
@@ -141,13 +141,13 @@ int ToolbarmodeDialog::GetActiveRadioButton()
return -1;
}
-void ToolbarmodeDialog::UpdateImage(OUString sFileName)
+void ToolbarmodeDialog::UpdateImage(std::u16string_view sFileName)
{
// load image
OUString aURL("$BRAND_BASE_DIR/$BRAND_SHARE_SUBDIR/toolbarmode/");
rtl::Bootstrap::expandMacros(aURL);
aURL += sFileName;
- if (sFileName.isEmpty() || !file_exists(aURL))
+ if (sFileName.empty() || !file_exists(aURL))
return;
// draw image
Graphic aGraphic;