diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-07-16 12:05:53 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-07-17 09:30:41 +0200 |
commit | f0a7f6faba77afb4183c8ba3bbbf0d84ac13553d (patch) | |
tree | 40d12d3c3e73093a2c4a88ac4dd919e8908b2e8e /sdext/source/minimizer/pppoptimizeruno.cxx | |
parent | 18d9c38932d4c245ad4c8d2eb6bd16b83f770db3 (diff) |
sdext/minimizer: create instances with uno constructors
See tdf#74608 for motivation.
Change-Id: I1273af0fa07a4f9d7284110247fce18c51901524
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98920
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sdext/source/minimizer/pppoptimizeruno.cxx')
-rw-r--r-- | sdext/source/minimizer/pppoptimizeruno.cxx | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/sdext/source/minimizer/pppoptimizeruno.cxx b/sdext/source/minimizer/pppoptimizeruno.cxx deleted file mode 100644 index da8745ef2c71..000000000000 --- a/sdext/source/minimizer/pppoptimizeruno.cxx +++ /dev/null @@ -1,43 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -#include <cppuhelper/factory.hxx> -#include <cppuhelper/implementationentry.hxx> -#include "pppoptimizerdialog.hxx" - -namespace -{ - -cppu::ImplementationEntry const services[] = { - { &PPPOptimizerDialog_createInstance, - &PPPOptimizerDialog_getImplementationName, - &PPPOptimizerDialog_getSupportedServiceNames, - &cppu::createSingleComponentFactory, nullptr, 0 }, - { nullptr, nullptr, nullptr, nullptr, nullptr, 0 } }; - -} - -extern "C" SAL_DLLPUBLIC_EXPORT void * pptminimizer_component_getFactory( - char const * pImplName, void * pServiceManager, void * pRegistryKey) -{ - return cppu::component_getFactoryHelper( - pImplName, pServiceManager, pRegistryKey, services); -} - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |