diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-12-29 18:11:33 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-01-01 16:15:58 +0000 |
commit | 2e00c0efbe03b3390200ea515da57aa57b0cd1ed (patch) | |
tree | 11ad62076620f8d7032030d339abb1129b6dfaed /svx | |
parent | 504b79c6cae6e15793420a63384e59b5d1f7037a (diff) |
move xmlsecurity .ui stuff to right place and adapt code to use it
Change-Id: If1f3dbbbef07004ec02a65563524c6c17dc16c00
Diffstat (limited to 'svx')
-rw-r--r-- | svx/inc/svx/simptabl.hxx | 1 | ||||
-rw-r--r-- | svx/source/dialog/simptabl.cxx | 16 |
2 files changed, 16 insertions, 1 deletions
diff --git a/svx/inc/svx/simptabl.hxx b/svx/inc/svx/simptabl.hxx index 597ea8df3f42..9bc881793a6b 100644 --- a/svx/inc/svx/simptabl.hxx +++ b/svx/inc/svx/simptabl.hxx @@ -41,6 +41,7 @@ protected: public: SvxSimpleTableContainer( Window* pParent, const ResId& rResId ); + SvxSimpleTableContainer( Window* pParent, WinBits nBits = WB_BORDER | WB_3DLOOK ); void SetTable(SvxSimpleTable* pTable); diff --git a/svx/source/dialog/simptabl.cxx b/svx/source/dialog/simptabl.cxx index 979136a1dab9..abed19425cda 100644 --- a/svx/source/dialog/simptabl.cxx +++ b/svx/source/dialog/simptabl.cxx @@ -18,6 +18,7 @@ */ #include <svx/simptabl.hxx> +#include <vcl/builder.hxx> #include <vcl/svapp.hxx> #include <comphelper/processfactory.hxx> @@ -27,13 +28,26 @@ // SvxSimpleTableContainer ------------------------------------------------------ -SvxSimpleTableContainer::SvxSimpleTableContainer( Window* pParent, const ResId& rResId) +SvxSimpleTableContainer::SvxSimpleTableContainer(Window* pParent, const ResId& rResId) : Control(pParent, rResId) , m_pTable(NULL) { SetBorderStyle(WINDOW_BORDER_NOBORDER); } +SvxSimpleTableContainer::SvxSimpleTableContainer(Window* pParent, WinBits nBits) + : Control(pParent, nBits) + , m_pTable(NULL) +{ + SetBorderStyle(WINDOW_BORDER_NOBORDER); +} + +extern "C" SAL_DLLPUBLIC_EXPORT Window* SAL_CALL makeSvxSimpleTableContainer(Window *pParent, + VclBuilder::stringmap &) +{ + return new SvxSimpleTableContainer(pParent); +} + void SvxSimpleTableContainer::SetTable(SvxSimpleTable* pTable) { m_pTable = pTable; |