[Libreoffice-commits] core.git: Branch 'feature/drawinglayercore' - include/vcl

Tomaž Vajngerl (via logerrit) logerrit at kemper.freedesktop.org
Mon May 25 18:47:54 UTC 2020


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

New commits:
commit 81a76f40282857a311e31e5c6029e20927266aa2
Author:     Tomaž Vajngerl <tomaz.vajngerl at collabora.co.uk>
AuthorDate: Mon May 25 20:46:38 2020 +0200
Commit:     Tomaž Vajngerl <tomaz.vajngerl at collabora.co.uk>
CommitDate: Mon May 25 20:46:38 2020 +0200

    vcl: convert to use "pragma once" in GraphicObject.hxx
    
    Change-Id: I6fd1897574d831ef153adc0d385c6484f6c17d7a

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