[Libreoffice-commits] core.git: include/vcl

Tomaž Vajngerl (via logerrit) logerrit at kemper.freedesktop.org
Mon Jun 1 16:47:15 UTC 2020


 include/vcl/GraphicObject.hxx |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

New commits:
commit f2b436b0dad86aec5dc22e27c83df93395378247
Author:     Tomaž Vajngerl <tomaz.vajngerl at collabora.co.uk>
AuthorDate: Mon May 25 20:46:38 2020 +0200
Commit:     Tomaž Vajngerl <quikee at gmail.com>
CommitDate: Mon Jun 1 18:46:34 2020 +0200

    vcl: convert to use "pragma once" in GraphicObject.hxx
    
    Change-Id: I6fd1897574d831ef153adc0d385c6484f6c17d7a
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95275
    Tested-by: Tomaž Vajngerl <quikee at gmail.com>
    Reviewed-by: Tomaž Vajngerl <quikee at gmail.com>

diff --git a/include/vcl/GraphicObject.hxx b/include/vcl/GraphicObject.hxx
index 5a4053fa6569..92c01274a453 100644
--- a/include/vcl/GraphicObject.hxx
+++ b/include/vcl/GraphicObject.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_VCL_GRAPHICOBJECT_HXX
-#define INCLUDED_VCL_GRAPHICOBJECT_HXX
+#pragma once
 
 #include <memory>
 #include <vcl/graph.hxx>
@@ -396,6 +395,4 @@ VCL_DLLPUBLIC void SearchForGraphics(css::uno::Reference<css::uno::XInterface> c
 }
 } // end namespace vcl::graphic
 
-#endif // INCLUDED_VCL_GRAPHICOBJECT_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list