summaryrefslogtreecommitdiff
path: root/sd/source/ui/func/fuhhconv.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/func/fuhhconv.cxx')
-rw-r--r--sd/source/ui/func/fuhhconv.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/sd/source/ui/func/fuhhconv.cxx b/sd/source/ui/func/fuhhconv.cxx
index 95908e2e72b0..be40d46eea63 100644
--- a/sd/source/ui/func/fuhhconv.cxx
+++ b/sd/source/ui/func/fuhhconv.cxx
@@ -24,8 +24,8 @@
#include <com/sun/star/lang/XInitialization.hpp>
#include <com/sun/star/awt/XWindow.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
+#include <comphelper/processfactory.hxx>
#include <comphelper/propertysequence.hxx>
-#include <cppuhelper/bootstrap.hxx>
#include <svl/style.hxx>
#include <editeng/eeitem.hxx>
#include <editeng/langitem.hxx>
@@ -187,8 +187,7 @@ void FuHangulHanjaConversion::ConvertStyles( LanguageType nTargetLanguage, const
void FuHangulHanjaConversion::StartChineseConversion()
{
//open ChineseTranslationDialog
- Reference< XComponentContext > xContext(
- ::cppu::defaultBootstrap_InitialComponentContext() ); //@todo get context from calc if that has one
+ uno::Reference< uno::XComponentContext > xContext(::comphelper::getProcessComponentContext());
if(!xContext.is())
return;