vcl: Drop vcl_component_getFactory
After
Change-Id: If870b340f39bd7fcf6674af3184e2a4c3017310d
Author: Michael Weghorn <m.weghorn@posteo.de>
Date: Fri Jul 11 14:14:06 2025 +0200
vcl: Drop logic to create drag source by implementation name
, this function always returns nullptr. Drop it and
the `prefix="vcl"` from vcl/vcl.common.component
now that all services defined in there have a
constructor defined, see also tdf#74608 comment 39.
Change-Id: I6e02f73290a6dbd89f40b8b06d3e412f26b18bc6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/187758
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
This commit is contained in:
@@ -20,7 +20,6 @@ import xml.etree.ElementTree as ET
|
||||
|
||||
core_factory_list = [
|
||||
("libi18npoollo.a", "i18npool_component_getFactory"),
|
||||
("libvcllo.a", "vcl_component_getFactory"),
|
||||
("libsvtlo.a", "svt_component_getFactory"),
|
||||
]
|
||||
|
||||
|
||||
@@ -480,7 +480,6 @@ $(eval $(call gb_Library_add_exception_objects,vcl,\
|
||||
vcl/source/app/weldutils \
|
||||
vcl/source/app/winscheduler \
|
||||
vcl/source/components/dtranscomp \
|
||||
vcl/source/components/factory \
|
||||
vcl/source/components/fontident \
|
||||
vcl/source/filter/bmp/BmpReader \
|
||||
vcl/source/filter/bmp/BmpWriter \
|
||||
|
||||
@@ -1,34 +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 <vcl/dllapi.h>
|
||||
|
||||
extern "C" {
|
||||
|
||||
VCL_DLLPUBLIC void* vcl_component_getFactory(
|
||||
const char* /*pImplementationName*/,
|
||||
void* /*pXUnoSMgr*/,
|
||||
void* /*pXUnoKey*/)
|
||||
{
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
} /* extern "C" */
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
@@ -18,7 +18,7 @@
|
||||
-->
|
||||
|
||||
<component loader="com.sun.star.loader.SharedLibrary" environment="@CPPU_ENV@"
|
||||
prefix="vcl" xmlns="http://openoffice.org/2010/uno-components">
|
||||
xmlns="http://openoffice.org/2010/uno-components">
|
||||
<implementation name="com.sun.star.comp.graphic.GraphicMapper"
|
||||
constructor="com_sun_star_comp_graphic_GraphicMapper_get_implementation">
|
||||
<service name="com.sun.star.graphic.GraphicMapper"/>
|
||||
|
||||
Reference in New Issue
Block a user