unoctabl.cxx (f6e50924) unoctabl.cxx (b9e67834)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 224 unchanged lines hidden (view full) ---

233#include "UnoGraphicExporter.hxx"
234#include "unogalthemeprovider.hxx"
235#include <com/sun/star/registry/XRegistryKey.hpp>
236#include "sal/types.h"
237#include "osl/diagnose.h"
238#include "cppuhelper/factory.hxx"
239#include "uno/lbnames.h"
240#include <svx/sdr/primitive2d/primitiveFactory2d.hxx>
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 224 unchanged lines hidden (view full) ---

233#include "UnoGraphicExporter.hxx"
234#include "unogalthemeprovider.hxx"
235#include <com/sun/star/registry/XRegistryKey.hpp>
236#include "sal/types.h"
237#include "osl/diagnose.h"
238#include "cppuhelper/factory.hxx"
239#include "uno/lbnames.h"
240#include <svx/sdr/primitive2d/primitiveFactory2d.hxx>
241#include "sidebar/PanelFactory.hxx"
241
242
243
242/*
243namespace svx
244{
245extern OUString SAL_CALL ExtrusionDepthController_getImplementationName();
246extern uno::Reference< uno::XInterface > SAL_CALL ExtrusionDepthController_createInstance(const uno::Reference< lang::XMultiServiceFactory > &) throw( uno::RuntimeException );
247extern uno::Sequence< OUString > SAL_CALL ExtrusionDepthController_getSupportedServiceNames() throw( uno::RuntimeException );
248}
249*/

--- 111 unchanged lines hidden (view full) ---

361 else if( ::svx::SvXMLGraphicExportHelper_getImplementationName().equalsAscii( pImplName ) )
362 {
363 xFactory = ::cppu::createSingleFactory(
364 reinterpret_cast< lang::XMultiServiceFactory * >( pServiceManager ),
365 ::svx::SvXMLGraphicExportHelper_getImplementationName(),
366 ::svx::SvXMLGraphicExportHelper_createInstance,
367 ::svx::SvXMLGraphicExportHelper_getSupportedServiceNames() );
368 }
244/*
245namespace svx
246{
247extern OUString SAL_CALL ExtrusionDepthController_getImplementationName();
248extern uno::Reference< uno::XInterface > SAL_CALL ExtrusionDepthController_createInstance(const uno::Reference< lang::XMultiServiceFactory > &) throw( uno::RuntimeException );
249extern uno::Sequence< OUString > SAL_CALL ExtrusionDepthController_getSupportedServiceNames() throw( uno::RuntimeException );
250}
251*/

--- 111 unchanged lines hidden (view full) ---

363 else if( ::svx::SvXMLGraphicExportHelper_getImplementationName().equalsAscii( pImplName ) )
364 {
365 xFactory = ::cppu::createSingleFactory(
366 reinterpret_cast< lang::XMultiServiceFactory * >( pServiceManager ),
367 ::svx::SvXMLGraphicExportHelper_getImplementationName(),
368 ::svx::SvXMLGraphicExportHelper_createInstance,
369 ::svx::SvXMLGraphicExportHelper_getSupportedServiceNames() );
370 }
369/*
370 else if( ::svx::ExtrusionDepthController_getImplementationName().equalsAscii( pImplName ) )
371 {
372 xFactory = ::cppu::createSingleFactory(
373 reinterpret_cast< lang::XMultiServiceFactory * >( pServiceManager ),
374 ::svx::ExtrusionDepthController_getImplementationName(),
375 ::svx::ExtrusionDepthController_createInstance,
376 ::svx::ExtrusionDepthController_getSupportedServiceNames() );
377 }
378*/
371 else if (::svx::sidebar::PanelFactory::getImplementationName().equalsAscii(pImplName))
372 {
373 xFactory = ::cppu::createSingleFactory(
374 reinterpret_cast<lang::XMultiServiceFactory*>(pServiceManager),
375 ::svx::sidebar::PanelFactory::getImplementationName(),
376 ::svx::sidebar::PanelFactory::createInstance,
377 ::svx::sidebar::PanelFactory::getSupportedServiceNames());
378 }
379
379 if( xFactory.is())
380 {
381 xFactory->acquire();
382 pRet = xFactory.get();
383 }
384 }
385
386 return pRet;
387}
388
389}
380 if( xFactory.is())
381 {
382 xFactory->acquire();
383 pRet = xFactory.get();
384 }
385 }
386
387 return pRet;
388}
389
390}