summaryrefslogtreecommitdiff
path: root/svtools/source/table/tablecontrol.cxx
diff options
context:
space:
mode:
authorFrank Schoenheit [fs] <frank.schoenheit@oracle.com>2011-01-16 22:18:58 +0100
committerFrank Schoenheit [fs] <frank.schoenheit@oracle.com>2011-01-16 22:18:58 +0100
commit70315564786969decd1ee9eeb2549ce6545be1f3 (patch)
treea0094e8e5d9a13714a9917c72f4999947d821970 /svtools/source/table/tablecontrol.cxx
parent00abb7e08b1a2de2200878ec58c968bc8717565a (diff)
gridsort: made the row title a row heading, being an Any instead of a string
Diffstat (limited to 'svtools/source/table/tablecontrol.cxx')
-rw-r--r--svtools/source/table/tablecontrol.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/svtools/source/table/tablecontrol.cxx b/svtools/source/table/tablecontrol.cxx
index 500b2ca423e9..c448af323b8b 100644
--- a/svtools/source/table/tablecontrol.cxx
+++ b/svtools/source/table/tablecontrol.cxx
@@ -364,7 +364,9 @@ namespace svt { namespace table
//------------------------------------------------------------------------------------------------------------------
::rtl::OUString TableControl::GetRowName( sal_Int32 _nIndex) const
{
- return GetModel()->getRowHeader( _nIndex );
+ ::rtl::OUString sRowName;
+ GetModel()->getRowHeading( _nIndex ) >>= sRowName;
+ return sRowName;
}
//------------------------------------------------------------------------------------------------------------------