[Libreoffice-commits] core.git: basctl/source

Aleyna DoÄŸrucan (via logerrit) logerrit at kemper.freedesktop.org
Tue Jan 7 13:26:52 UTC 2020


 basctl/source/basicide/macrodlg.hxx |    5 +----
 basctl/source/basicide/moduldlg.hxx |    5 +----
 basctl/source/basicide/unomodel.hxx |    5 +----
 3 files changed, 3 insertions(+), 12 deletions(-)

New commits:
commit 8b4aba14bb7ba98346b3ccd77c26dccda4cc1831
Author:     Aleyna Doğrucan <aleynadgrcn699 at gmail.com>
AuthorDate: Sun Jan 5 01:20:27 2020 +0300
Commit:     Muhammet Kara <muhammet.kara at collabora.com>
CommitDate: Tue Jan 7 14:26:15 2020 +0100

    tdf#124176: Use pragma once instead of include guards
    
    Change-Id: Ib2c93eb61d8d4c944a1b7de074fd0e9e48715ca4
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86232
    Tested-by: Jenkins
    Reviewed-by: Muhammet Kara <muhammet.kara at collabora.com>

diff --git a/basctl/source/basicide/macrodlg.hxx b/basctl/source/basicide/macrodlg.hxx
index e6ce85ec3b00..58410363fb63 100644
--- a/basctl/source/basicide/macrodlg.hxx
+++ b/basctl/source/basicide/macrodlg.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BASCTL_SOURCE_BASICIDE_MACRODLG_HXX
-#define INCLUDED_BASCTL_SOURCE_BASICIDE_MACRODLG_HXX
+#pragma once
 
 #include <bastype2.hxx>
 #include <sfx2/basedlgs.hxx>
@@ -104,6 +103,4 @@ public:
 
 } // namespace basctl
 
-#endif // INCLUDED_BASCTL_SOURCE_BASICIDE_MACRODLG_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/basctl/source/basicide/moduldlg.hxx b/basctl/source/basicide/moduldlg.hxx
index 6e5bb3b237a0..fa636a5cdd41 100644
--- a/basctl/source/basicide/moduldlg.hxx
+++ b/basctl/source/basicide/moduldlg.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_BASCTL_SOURCE_BASICIDE_MODULDLG_HXX
-#define INCLUDED_BASCTL_SOURCE_BASICIDE_MODULDLG_HXX
+#pragma once
 
 #include <bastype2.hxx>
 #include <vcl/weld.hxx>
@@ -216,6 +215,4 @@ void createLibImpl(weld::Window* pWin, const ScriptDocument& rDocument,
 
 } // namespace basctl
 
-#endif // INCLUDED_BASCTL_SOURCE_BASICIDE_MODULDLG_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/basctl/source/basicide/unomodel.hxx b/basctl/source/basicide/unomodel.hxx
index d75f40ca84f4..aab2481c2b36 100644
--- a/basctl/source/basicide/unomodel.hxx
+++ b/basctl/source/basicide/unomodel.hxx
@@ -16,8 +16,7 @@
  *   except in compliance with the License. You may obtain a copy of
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
-#ifndef INCLUDED_BASCTL_SOURCE_BASICIDE_UNOMODEL_HXX
-#define INCLUDED_BASCTL_SOURCE_BASICIDE_UNOMODEL_HXX
+#pragma once
 
 #include <com/sun/star/lang/XMultiServiceFactory.hpp>
 #include <com/sun/star/lang/XServiceInfo.hpp>
@@ -66,6 +65,4 @@ css::uno::Reference< css::uno::XInterface > SIDEModel_createInstance(
 
 } // namespace basctl
 
-#endif // INCLUDED_BASCTL_SOURCE_BASICIDE_UNOMODEL_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list