summaryrefslogtreecommitdiff
path: root/filter/source/pdf/pdfdialog.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'filter/source/pdf/pdfdialog.cxx')
-rw-r--r--filter/source/pdf/pdfdialog.cxx10
1 files changed, 2 insertions, 8 deletions
diff --git a/filter/source/pdf/pdfdialog.cxx b/filter/source/pdf/pdfdialog.cxx
index 765741630ea9..a1c829de745a 100644
--- a/filter/source/pdf/pdfdialog.cxx
+++ b/filter/source/pdf/pdfdialog.cxx
@@ -45,8 +45,6 @@ using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::beans;
-//uncomment this to use the Tabbed PDF dialog (under development !)
-
// -----------------------
// - PDFDialog functions -
// -----------------------
@@ -100,16 +98,12 @@ Reference< XInterface > SAL_CALL PDFDialog_createInstance( const Reference< XMul
PDFDialog::PDFDialog( const Reference< XMultiServiceFactory > &rxMSF )
: PDFDialog_Base( rxMSF )
{
- ByteString aResMgrName( "pdffilter" );
-
- mpResMgr = ResMgr::CreateResMgr( aResMgrName.GetBuffer(), Application::GetSettings().GetUILocale() );
}
// -----------------------------------------------------------------------------
PDFDialog::~PDFDialog()
{
- delete mpResMgr;
}
// -----------------------------------------------------------------------------
@@ -142,9 +136,9 @@ Dialog* PDFDialog::createDialog( Window* pParent )
{
Dialog* pRet = NULL;
- if( mpResMgr && mxSrcDoc.is() )
+ if( mxSrcDoc.is() )
{
- ImpPDFTabDialog* pDlg = new ImpPDFTabDialog( pParent, *mpResMgr, maFilterData, mxSrcDoc, m_aContext.getLegacyServiceFactory() );
+ ImpPDFTabDialog* pDlg = new ImpPDFTabDialog( pParent, maFilterData, mxSrcDoc, m_aContext.getLegacyServiceFactory() );
pRet = pDlg;
}