diff options
author | Noel Power <noel.power@novell.com> | 2011-11-29 10:26:33 +0000 |
---|---|---|
committer | Noel Power <noel.power@novell.com> | 2011-11-29 10:28:44 +0000 |
commit | 34a9faf23c3d84b88a1610481266812bed3b71e8 (patch) | |
tree | 55c1daefadeeae13f43c7456078a3036e7cebdb0 /basctl/source/dlged/dlgedobj.cxx | |
parent | ecbf39171991069d794133797e5f8714c3d7d7f9 (diff) |
add spinbutton control to insertcontrolbar for basic dialog editor
Diffstat (limited to 'basctl/source/dlged/dlgedobj.cxx')
-rw-r--r-- | basctl/source/dlged/dlgedobj.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/basctl/source/dlged/dlgedobj.cxx b/basctl/source/dlged/dlgedobj.cxx index eb4bc56b3eb9..2e2d8dfaba1c 100644 --- a/basctl/source/dlged/dlgedobj.cxx +++ b/basctl/source/dlged/dlgedobj.cxx @@ -783,7 +783,10 @@ sal_Bool DlgEdObj::supportsService( const sal_Char* _pServiceName ) const { nResId = RID_STR_CLASS_TREECONTROL; } - + else if ( supportsService( "com.sun.star.awt.UnoControlSpinButtonModel" ) ) + { + nResId = RID_STR_CLASS_SPINCONTROL; + } else { nResId = RID_STR_CLASS_CONTROL; |