Kaydet (Commit) a39e55c3 authored tarafından Katarina Behrens's avatar Katarina Behrens

Drop cargo-cult FPServiceInfo

FILE_PICKER_SERVICE_NAME wasn't even used anywhere

Change-Id: Ie99de85175b8321948612c680c4e4d956a4c7efc
üst f103d482
/* -*- 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 <osl/mutex.hxx>
#include "FPServiceInfo.hxx"
#undef Region
......@@ -664,7 +663,7 @@ void KDE5FilePicker::disposing(const lang::EventObject& rEvent)
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)
......
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