Drop cargo-cult FPServiceInfo
FILE_PICKER_SERVICE_NAME wasn't even used anywhere Change-Id: Ie99de85175b8321948612c680c4e4d956a4c7efc
This commit is contained in:
@@ -1,28 +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 .
|
|
||||||
*/
|
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
// the service names
|
|
||||||
#define FILE_PICKER_SERVICE_NAME "com.sun.star.ui.dialogs.KDE4FilePicker"
|
|
||||||
|
|
||||||
// the implementation names
|
|
||||||
#define FILE_PICKER_IMPL_NAME "com.sun.star.ui.dialogs.KDE4FilePicker"
|
|
||||||
|
|
||||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
|
@@ -31,7 +31,6 @@
|
|||||||
#include <com/sun/star/ui/dialogs/ExecutableDialogResults.hpp>
|
#include <com/sun/star/ui/dialogs/ExecutableDialogResults.hpp>
|
||||||
|
|
||||||
#include <osl/mutex.hxx>
|
#include <osl/mutex.hxx>
|
||||||
#include "FPServiceInfo.hxx"
|
|
||||||
|
|
||||||
#undef Region
|
#undef Region
|
||||||
|
|
||||||
@@ -664,7 +663,7 @@ void KDE5FilePicker::disposing(const lang::EventObject& rEvent)
|
|||||||
|
|
||||||
OUString SAL_CALL KDE5FilePicker::getImplementationName()
|
OUString SAL_CALL KDE5FilePicker::getImplementationName()
|
||||||
{
|
{
|
||||||
return OUString(FILE_PICKER_IMPL_NAME);
|
return OUString("com.sun.star.ui.dialogs.KDE5FilePicker");
|
||||||
}
|
}
|
||||||
|
|
||||||
sal_Bool SAL_CALL KDE5FilePicker::supportsService(const OUString& ServiceName)
|
sal_Bool SAL_CALL KDE5FilePicker::supportsService(const OUString& ServiceName)
|
||||||
|
Reference in New Issue
Block a user