summaryrefslogtreecommitdiff
path: root/uui
diff options
context:
space:
mode:
Diffstat (limited to 'uui')
-rw-r--r--uui/source/iahndl-errorhandler.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/uui/source/iahndl-errorhandler.cxx b/uui/source/iahndl-errorhandler.cxx
index 56f54255d730..c41625522f32 100644
--- a/uui/source/iahndl-errorhandler.cxx
+++ b/uui/source/iahndl-errorhandler.cxx
@@ -56,13 +56,13 @@ executeErrorDialog(
weld::Window* pParent,
task::InteractionClassification eClassification,
OUString const & rContext,
- OUString const & rMessage,
+ std::u16string_view rMessage,
MessageBoxStyle nButtonMask)
{
SolarMutexGuard aGuard;
OUStringBuffer aText(rContext);
- if (!rContext.isEmpty() && !rMessage.isEmpty())
+ if (!rContext.isEmpty() && !rMessage.empty())
aText.append(":\n");
//TODO! must be internationalized
aText.append(rMessage);