Kaydet (Commit) 5314ece7 authored tarafından Kohei Yoshida's avatar Kohei Yoshida

Make the ctor and dtor bodies non-inline.

Change-Id: Ie36e3dfa808aec96c080f981a5ad9f09a0720c2c
üst 01e14bd4
...@@ -94,7 +94,7 @@ struct SfxChildWinContextFactory ...@@ -94,7 +94,7 @@ struct SfxChildWinContextFactory
typedef boost::ptr_vector<SfxChildWinContextFactory> SfxChildWinContextArr_Impl; typedef boost::ptr_vector<SfxChildWinContextFactory> SfxChildWinContextArr_Impl;
struct SfxChildWinFactory struct SFX2_DLLPUBLIC SfxChildWinFactory
{ {
SfxChildWinCtor pCtor; // Factory method SfxChildWinCtor pCtor; // Factory method
sal_uInt16 nId; // ChildWindow-Id ( SlotId ) sal_uInt16 nId; // ChildWindow-Id ( SlotId )
...@@ -102,19 +102,8 @@ struct SfxChildWinFactory ...@@ -102,19 +102,8 @@ struct SfxChildWinFactory
sal_uInt16 nPos; // Position in UI sal_uInt16 nPos; // Position in UI
SfxChildWinContextArr_Impl *pArr; // Array for Contexts SfxChildWinContextArr_Impl *pArr; // Array for Contexts
SfxChildWinFactory( SfxChildWinCtor pTheCtor, sal_uInt16 nID, SfxChildWinFactory( SfxChildWinCtor pTheCtor, sal_uInt16 nID, sal_uInt16 n );
sal_uInt16 n ) ~SfxChildWinFactory();
: pCtor(pTheCtor)
, nId( nID )
, nPos(n)
, pArr( NULL )
{}
~SfxChildWinFactory()
{
delete pArr;
}
}; };
class FloatingWindow; class FloatingWindow;
......
...@@ -40,6 +40,19 @@ ...@@ -40,6 +40,19 @@
static const sal_uInt16 nVersion = 2; static const sal_uInt16 nVersion = 2;
SfxChildWinFactory::SfxChildWinFactory( SfxChildWinCtor pTheCtor, sal_uInt16 nID,
sal_uInt16 n )
: pCtor(pTheCtor)
, nId( nID )
, nPos(n)
, pArr( NULL )
{}
SfxChildWinFactory::~SfxChildWinFactory()
{
delete pArr;
}
struct SfxChildWindow_Impl struct SfxChildWindow_Impl
{ {
::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > xFrame; ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > xFrame;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment