Kaydet (Commit) 28f0a6de authored tarafından Noel Grandin's avatar Noel Grandin

fdo#46808, Remove unnecessary call to getProcessServiceFactory

Change-Id: I8427c2753a75a548a6b2e56516f62cb736562ffa
üst 549578a4
......@@ -39,7 +39,6 @@
#include <com/sun/star/text/XText.hpp>
#include <com/sun/star/drawing/XShape.hpp>
#include <comphelper/genericpropertyset.hxx>
#include <comphelper/processfactory.hxx>
#include <oox/ppt/pptimport.hxx>
#include <oox/ppt/slidepersist.hxx>
#endif
......@@ -486,7 +485,6 @@ float TextParagraphProperties::getCharHeightPoints( float fDefault ) const
// debugging pptx import problems.
void TextParagraphProperties::dump() const
{
Reference< ::com::sun::star::lang::XMultiServiceFactory > xFactory = comphelper::getProcessServiceFactory();
Reference< ::com::sun::star::drawing::XShape > xShape( oox::ppt::PowerPointImport::mpDebugFilterBase->getModelFactory()->createInstance( "com.sun.star.presentation.TitleTextShape" ), UNO_QUERY );
Reference< ::com::sun::star::text::XText > xText( xShape, UNO_QUERY );
......
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