summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
Diffstat (limited to 'forms')
-rw-r--r--forms/source/component/ListBox.cxx3
-rw-r--r--forms/source/solar/control/navtoolbar.cxx3
2 files changed, 2 insertions, 4 deletions
diff --git a/forms/source/component/ListBox.cxx b/forms/source/component/ListBox.cxx
index a14d6367d3ca..7c51f7c7a1b4 100644
--- a/forms/source/component/ListBox.cxx
+++ b/forms/source/component/ListBox.cxx
@@ -817,8 +817,7 @@ namespace frm
aStatement += quoteName(aQuote,aFieldName);
if (!aBoundFieldName.isEmpty())
{
- aStatement += ", ";
- aStatement += quoteName(aQuote, aBoundFieldName);
+ aStatement += ", " + quoteName(aQuote, aBoundFieldName);
}
aStatement += " FROM ";
diff --git a/forms/source/solar/control/navtoolbar.cxx b/forms/source/solar/control/navtoolbar.cxx
index a512c54a0793..f72cc3193dfd 100644
--- a/forms/source/solar/control/navtoolbar.cxx
+++ b/forms/source/solar/control/navtoolbar.cxx
@@ -57,8 +57,7 @@ namespace frm
OUString getLabelString(const char* pResId)
{
- OUString sLabel( " " + FRM_RES_STRING(pResId) );
- sLabel += " ";
+ OUString sLabel( " " + FRM_RES_STRING(pResId) + " " );
return sLabel;
}