diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-06-19 10:11:31 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-06-19 11:04:14 +0200 |
commit | e46e8d19458fd64ff20b1013e5eeabd07e62379c (patch) | |
tree | d3eebbae5fd4142ec3b143a7e907b9c48a7cc3c7 /dbaccess | |
parent | fa1d3e093208c9d7a8e645566f538573f31b4762 (diff) |
Shall this produce a string representation of a number?
On the one hand, the code had apparently treated nIdx as a sal_Unicode character
value ever since its inception in e718950884fa2db240822e1711f301b39a70ad3e "new
querydesign." On the other hand, the preceding BROW_VIS_ROW case does produce
strings "0" and "1".
Change-Id: Ife6e98ba32146cc469b722fa4f013c12152b5505
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx b/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx index 64ecc68b2bc3..954638d91316 100644 --- a/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx +++ b/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx @@ -2245,7 +2245,7 @@ OUString OSelectionBrowseBox::GetCellContents(sal_Int32 nCellIndex, sal_uInt16 n sal_Int32 nIdx = m_pOrderCell->GetSelectEntryPos(); if (nIdx == LISTBOX_ENTRY_NOTFOUND) nIdx = 0; - return OUString(nIdx); + return OUString::number(nIdx); } default: return GetCellText(nCellIndex, nColId); |