summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@suse.com>2012-02-23 23:43:06 -0500
committerKohei Yoshida <kohei.yoshida@suse.com>2012-02-24 00:51:42 -0500
commitd16537b8d30c29fe30d4c2e68784e21a90663e98 (patch)
treee21b54bd3018329c4c7a17af2aecbf1f499c3c43
parent3c870ad0ce6836546526aba45c07f34bfeacf804 (diff)
Now we only allow one function per data field.
-rw-r--r--sc/source/ui/dbgui/pvfundlg.cxx2
-rw-r--r--sc/source/ui/dbgui/pvfundlg.src5
-rw-r--r--sc/source/ui/inc/pvfundlg.hxx4
3 files changed, 5 insertions, 6 deletions
diff --git a/sc/source/ui/dbgui/pvfundlg.cxx b/sc/source/ui/dbgui/pvfundlg.cxx
index 663e5a30bfe8..ffd23f35fb3a 100644
--- a/sc/source/ui/dbgui/pvfundlg.cxx
+++ b/sc/source/ui/dbgui/pvfundlg.cxx
@@ -166,7 +166,7 @@ static const ScDPListBoxWrapper::MapEntryType spShowFromMap[] =
// ============================================================================
ScDPFunctionListBox::ScDPFunctionListBox( Window* pParent, const ResId& rResId ) :
- MultiListBox( pParent, rResId )
+ ListBox( pParent, rResId )
{
FillFunctionNames();
}
diff --git a/sc/source/ui/dbgui/pvfundlg.src b/sc/source/ui/dbgui/pvfundlg.src
index d5203f2a89ac..a5982aee2551 100644
--- a/sc/source/ui/dbgui/pvfundlg.src
+++ b/sc/source/ui/dbgui/pvfundlg.src
@@ -62,15 +62,14 @@ ModalDialog RID_SCDLG_DPDATAFIELD
Size = MAP_APPFONT ( 152 , 8 ) ;
Text [ en-US ] = "~Function" ;
};
- MultiListBox LB_FUNC
+ ListBox LB_FUNC
{
- HelpID = "sc:MultiListBox:RID_SCDLG_DPDATAFIELD:LB_FUNC";
+ HelpID = "sc:ListBox:RID_SCDLG_DPDATAFIELD:LB_FUNC";
Border = TRUE ;
Pos = MAP_APPFONT ( 12 , 14 ) ;
Size = MAP_APPFONT ( 140 , 65 ) ;
TabStop = TRUE ;
AutoHScroll = TRUE ;
- SimpleMode = TRUE ;
};
FixedText FT_NAMELABEL
{
diff --git a/sc/source/ui/inc/pvfundlg.hxx b/sc/source/ui/inc/pvfundlg.hxx
index e76329bdd048..8ccbe9c0fd14 100644
--- a/sc/source/ui/inc/pvfundlg.hxx
+++ b/sc/source/ui/inc/pvfundlg.hxx
@@ -53,13 +53,13 @@ class ScDPObject;
// ============================================================================
-class ScDPFunctionListBox : public MultiListBox
+class ScDPFunctionListBox : public ListBox
{
public:
explicit ScDPFunctionListBox( Window* pParent, const ResId& rResId );
void SetSelection( sal_uInt16 nFuncMask );
- sal_uInt16 GetSelection() const;
+ sal_uInt16 GetSelection() const;
private:
void FillFunctionNames();