summaryrefslogtreecommitdiff
path: root/sc/source/ui/dbgui/csvtablebox.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-02-23 21:11:04 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-02-24 23:17:18 +0000
commit3fd9e569d8a4c00020d5ac2db566e1ed7f920a6e (patch)
treefa2c8cc536aca1a0948293eda8d3a9a9a3f7a46a /sc/source/ui/dbgui/csvtablebox.cxx
parent538ba011d7b598737c898cfcce1e0d7b00b40c84 (diff)
add requred custom widget entry points
Change-Id: I611133eda82a5c2f303e5938d47deb3fb295f26e
Diffstat (limited to 'sc/source/ui/dbgui/csvtablebox.cxx')
-rw-r--r--sc/source/ui/dbgui/csvtablebox.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/sc/source/ui/dbgui/csvtablebox.cxx b/sc/source/ui/dbgui/csvtablebox.cxx
index 9b3738b3480c..261ecd42b45e 100644
--- a/sc/source/ui/dbgui/csvtablebox.cxx
+++ b/sc/source/ui/dbgui/csvtablebox.cxx
@@ -25,8 +25,8 @@
// ============================================================================
-ScCsvTableBox::ScCsvTableBox( Window* pParent, const ResId& rResId ) :
- ScCsvControl( pParent, maData, rResId ),
+ScCsvTableBox::ScCsvTableBox( Window* pParent, WinBits nBits ) :
+ ScCsvControl( pParent, maData, nBits ),
maRuler( *this ),
maGrid( *this ),
maHScroll( this, WB_HORZ | WB_DRAG ),
@@ -56,6 +56,10 @@ ScCsvTableBox::ScCsvTableBox( Window* pParent, const ResId& rResId ) :
InitControls();
}
+extern "C" SAL_DLLPUBLIC_EXPORT Window* SAL_CALL makeScCsvTableBox(Window *pParent, VclBuilder::stringmap &)
+{
+ return new ScCsvTableBox(pParent, WB_BORDER);
+}
Size ScCsvTableBox::GetOptimalSize() const
{