Kaydet (Commit) 6e4a4af5 authored tarafından Michael Stahl's avatar Michael Stahl

filter: un-break the SWF export dialog

The mpResMgr is no longer initialized but still checked.
(regression from 191dc43f)

Change-Id: I8330a74e9209eaca1fee70e7b8ba332482fa0c1d
üst a7464edb
......@@ -91,14 +91,12 @@ Reference< XInterface > SAL_CALL SWFDialog_createInstance( const Reference< XMul
SWFDialog::SWFDialog( const Reference< XComponentContext> &rxContext ) :
OGenericUnoDialog( rxContext )
{
mpResMgr = ResMgr::CreateResMgr( "flash", Application::GetSettings().GetUILanguageTag() );
}
// -----------------------------------------------------------------------------
SWFDialog::~SWFDialog()
{
delete mpResMgr;
}
// -----------------------------------------------------------------------------
......@@ -162,7 +160,7 @@ Dialog* SWFDialog::createDialog( Window* pParent )
{
Dialog* pRet = NULL;
if( mpResMgr && mxSrcDoc.is() )
if (mxSrcDoc.is())
{
/* TODO: From the controler we may get information what page is visible and what shapes
are selected, if we optionaly want to limit output to that
......
......@@ -39,7 +39,6 @@ class SWFDialog : public ::svt::OGenericUnoDialog,
{
private:
ResMgr* mpResMgr;
com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue > maMediaDescriptor;
com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue > maFilterData;
com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent > mxSrcDoc;
......
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