9eb42e3c36
added in
commit 54a97eb9dd
Author: Noel Grandin <noel.grandin@collabora.co.uk>
Date: Tue Jul 12 15:52:29 2022 +0200
clang-tidy modernize-pass-by-value in vcl
Change-Id: If1f468bc6d601809e3a7802f4414c3a49e54c2c8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137018
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
32 lines
799 B
C++
32 lines
799 B
C++
/* -*- 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/.
|
|
*/
|
|
|
|
#ifndef INCLUDED_VCL_GRAPHIC_EXTERNAL_LINK_HXX
|
|
#define INCLUDED_VCL_GRAPHIC_EXTERNAL_LINK_HXX
|
|
|
|
#include <vcl/dllapi.h>
|
|
#include <rtl/ustring.hxx>
|
|
#include <utility>
|
|
|
|
class VCL_DLLPUBLIC GraphicExternalLink
|
|
{
|
|
public:
|
|
OUString msURL;
|
|
|
|
GraphicExternalLink() {}
|
|
|
|
GraphicExternalLink(OUString aURL)
|
|
: msURL(std::move(aURL))
|
|
{
|
|
}
|
|
};
|
|
|
|
#endif // INCLUDED_VCL_GRAPHIC_EXTERNAL_LINK_HXX
|
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|