summaryrefslogtreecommitdiff
path: root/svx/source/unodialogs/textconversiondlgs/chinese_translation_unodialog.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/unodialogs/textconversiondlgs/chinese_translation_unodialog.hxx')
-rw-r--r--svx/source/unodialogs/textconversiondlgs/chinese_translation_unodialog.hxx11
1 files changed, 3 insertions, 8 deletions
diff --git a/svx/source/unodialogs/textconversiondlgs/chinese_translation_unodialog.hxx b/svx/source/unodialogs/textconversiondlgs/chinese_translation_unodialog.hxx
index a639496ec4c1..9f64e1a655fd 100644
--- a/svx/source/unodialogs/textconversiondlgs/chinese_translation_unodialog.hxx
+++ b/svx/source/unodialogs/textconversiondlgs/chinese_translation_unodialog.hxx
@@ -68,8 +68,7 @@ class ChineseTranslation_UnoDialog : public ::cppu::WeakImplHelper <
>
{
public:
- explicit ChineseTranslation_UnoDialog( const css::uno::Reference<
- css::uno::XComponentContext >& xContext );
+ ChineseTranslation_UnoDialog();
virtual ~ChineseTranslation_UnoDialog();
// lang::XServiceInfo
@@ -81,9 +80,9 @@ public:
static css::uno::Sequence< OUString > getSupportedServiceNames_Static();
static css::uno::Reference< css::uno::XInterface > SAL_CALL
- create( css::uno::Reference< css::uno::XComponentContext > const & xContext) throw(css::uno::Exception)
+ create( css::uno::Reference< css::uno::XComponentContext > const & ) throw(css::uno::Exception)
{
- return static_cast<cppu::OWeakObject *>(new ChineseTranslation_UnoDialog( xContext ));
+ return static_cast<cppu::OWeakObject *>( new ChineseTranslation_UnoDialog );
}
// lang::XInitialization
@@ -108,15 +107,11 @@ public:
virtual void SAL_CALL removeEventListener( const css::uno::Reference< css::lang::XEventListener > & xListener ) throw (css::uno::RuntimeException, std::exception) override;
private:
- //no default constructor
- ChineseTranslation_UnoDialog();
void impl_DeleteDialog();
private:
css::uno::Reference<
- css::uno::XComponentContext> m_xCC;
- css::uno::Reference<
css::awt::XWindow > m_xParentWindow;
VclPtr<ChineseTranslationDialog> m_pDialog;