summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-18 16:44:06 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-18 16:44:06 +0100
commite17be13daa8632bb4a9f7e8703c751d2beab9e6d (patch)
tree5f09f1b27347aabaf8b4a172f766f266481e5678 /dbaccess
parent86ba184394094c7c043a505a20a0b1b8977f73d7 (diff)
Work around MSVC bug
Change-Id: I592eb027f4c13cf75f1f0a443696d4d4e8e50e04
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx b/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx
index 953b183bf769..86be630d8080 100644
--- a/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx
+++ b/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx
@@ -901,8 +901,8 @@ bool OSelectionBrowseBox::SaveModified()
case BROW_VIS_ROW:
{
bool bOldValue = m_pVisibleCell->GetBox().GetSavedValue() != TRISTATE_FALSE;
- strOldCellContents = bOldValue ? "1" : "0";
- sNewValue = !bOldValue ? "1" : "0";
+ strOldCellContents = bOldValue ? OUStringLiteral("1") : OUStringLiteral("0");
+ sNewValue = !bOldValue ? OUStringLiteral("1") : OUStringLiteral("0");
}
if((m_bOrderByUnRelated || pEntry->GetOrderDir() == ORDER_NONE) &&
(m_bGroupByUnRelated || !pEntry->IsGroupBy()))
@@ -2231,7 +2231,7 @@ OUString OSelectionBrowseBox::GetCellContents(sal_Int32 nCellIndex, sal_uInt16 n
switch (nCellIndex)
{
case BROW_VIS_ROW :
- return pEntry->IsVisible() ? "1" : "0";
+ return pEntry->IsVisible() ? OUStringLiteral("1") : OUStringLiteral("0");
case BROW_ORDER_ROW:
{
sal_Int32 nIdx = m_pOrderCell->GetSelectEntryPos();