summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-01-10 20:15:31 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-01-10 20:22:19 +0000
commit7b2d1ee5051efd6381485ff66cff3cce91e290a4 (patch)
tree4d1f582cda0bad2f393036470b3aea505483ecef
parent3e87471b6815a3cad48cab2ef81073bad5453c56 (diff)
Resolves: fdo#72814 Fix Chart Data Ranges Dialog
revert part of b193123b8e658d2eb25af5debe9de9e1b2386ef8 That "hidden" column conatined data which is important to make the dialog work. If the hidden data is causing a11y problems then it needs to be reworked in a different way rather than removed in one place but still being looked for in another Change-Id: I2990ac940a52d97da193af2147f2b61281e11020
-rw-r--r--chart2/source/controller/dialogs/tp_DataSource.cxx15
1 files changed, 10 insertions, 5 deletions
diff --git a/chart2/source/controller/dialogs/tp_DataSource.cxx b/chart2/source/controller/dialogs/tp_DataSource.cxx
index 891ab40564d5..42f9eed1293e 100644
--- a/chart2/source/controller/dialogs/tp_DataSource.cxx
+++ b/chart2/source/controller/dialogs/tp_DataSource.cxx
@@ -58,11 +58,16 @@ const OUString lcl_aLabelRole( "label" );
OUString lcl_GetRoleLBEntry(
const OUString & rRole, const OUString & rRange )
{
- OUStringBuffer aEntry(::chart::DialogModel::ConvertRoleFromInternalToUI(rRole));
+ OUStringBuffer aEntry( rRole );
aEntry.append( "\t" );
- aEntry.append(rRange);
+ aEntry.append( OUString(
+ ::chart::DialogModel::ConvertRoleFromInternalToUI( rRole )) );
+ aEntry.append( "\t" );
+ aEntry.append(OUString( rRange ));
- return aEntry.makeStringAndClear();
+ OUString sFoo = aEntry.makeStringAndClear();
+ fprintf(stderr, "ConvertRoleFromInternalToUI :%s:\n", OUStringToOString(sFoo, RTL_TEXTENCODING_UTF8).getStr());
+ return sFoo;
}
void lcl_UpdateCurrentRange(
@@ -126,8 +131,8 @@ OUString lcl_GetSequenceNameForLabel( ::chart::SeriesEntry * pEntry )
}
static long lcl_pRoleListBoxTabs[] =
- { 2, // Number of Tabs
- 0, 75
+ { 3, // Number of Tabs
+ 0, 0, 75
};
void lcl_ShowChooserButton(