summaryrefslogtreecommitdiff
path: root/scripting/source/dlgprov/dlgevtatt.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'scripting/source/dlgprov/dlgevtatt.cxx')
-rw-r--r--scripting/source/dlgprov/dlgevtatt.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/scripting/source/dlgprov/dlgevtatt.cxx b/scripting/source/dlgprov/dlgevtatt.cxx
index 5ec4f6fb4d8b..5523881fd59f 100644
--- a/scripting/source/dlgprov/dlgevtatt.cxx
+++ b/scripting/source/dlgprov/dlgevtatt.cxx
@@ -613,9 +613,7 @@ namespace dlgprov
OUString aOUFinal;
aOUFinal += aRes.copy( 0, nIndex );
- aOUFinal += aQuoteChar;
- aOUFinal += aMethodName;
- aOUFinal += aQuoteChar;
+ aOUFinal += aQuoteChar + aMethodName + aQuoteChar;
aOUFinal += aRes.copy( nIndex + 2 );
std::unique_ptr<weld::MessageDialog> xBox(Application::CreateMessageDialog(nullptr,