diff options
-rw-r--r-- | sw/source/ui/envelp/label1.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/envelp/label1.cxx b/sw/source/ui/envelp/label1.cxx index e892988e9d10..11ca073c67aa 100644 --- a/sw/source/ui/envelp/label1.cxx +++ b/sw/source/ui/envelp/label1.cxx @@ -368,7 +368,7 @@ IMPL_LINK_NOARG(SwLabPage, FieldHdl) { OUString aStr("<" + OUString(aDatabaseLB.GetSelectEntry()) + "." + OUString(aTableLB.GetSelectEntry()) + "." + - OUString(aTableLB.GetEntryData(aTableLB.GetSelectEntryPos()) == 0 ? "0" : "1") + "." + + (aTableLB.GetEntryData(aTableLB.GetSelectEntryPos()) == 0 ? OUString("0") : OUString("1")) + "." + aDBFieldLB.GetSelectEntry() + ">"); aWritingEdit.ReplaceSelected(aStr); Selection aSel = aWritingEdit.GetSelection(); |