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

Burak Bala (via logerrit) logerrit at kemper.freedesktop.org
Mon Jan 27 08:56:15 UTC 2020


 svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.hxx      |    5 +----
 svx/source/unodialogs/textconversiondlgs/chinese_translation_unodialog.hxx |    5 +----
 svx/source/unodialogs/textconversiondlgs/chinese_translationdialog.hxx     |    5 +----
 3 files changed, 3 insertions(+), 12 deletions(-)

New commits:
commit ce55090e00394a6a475b2d9be808d4bca94b2838
Author:     Burak Bala <burak.bbala at gmail.com>
AuthorDate: Mon Jan 27 09:53:21 2020 +0300
Commit:     Muhammet Kara <muhammet.kara at collabora.com>
CommitDate: Mon Jan 27 09:55:35 2020 +0100

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

diff --git a/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.hxx b/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.hxx
index bc199263495d..05ce231af093 100644
--- a/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.hxx
+++ b/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SVX_SOURCE_UNODIALOGS_TEXTCONVERSIONDLGS_CHINESE_DICTIONARYDIALOG_HXX
-#define INCLUDED_SVX_SOURCE_UNODIALOGS_TEXTCONVERSIONDLGS_CHINESE_DICTIONARYDIALOG_HXX
+#pragma once
 
 #include <vcl/weld.hxx>
 #include <com/sun/star/uno/XComponentContext.hpp>
@@ -166,6 +165,4 @@ private:
 
 } //end namespace
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/unodialogs/textconversiondlgs/chinese_translation_unodialog.hxx b/svx/source/unodialogs/textconversiondlgs/chinese_translation_unodialog.hxx
index f9df85210fbe..d6ab96ee9af2 100644
--- a/svx/source/unodialogs/textconversiondlgs/chinese_translation_unodialog.hxx
+++ b/svx/source/unodialogs/textconversiondlgs/chinese_translation_unodialog.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SVX_SOURCE_UNODIALOGS_TEXTCONVERSIONDLGS_CHINESE_TRANSLATION_UNODIALOG_HXX
-#define INCLUDED_SVX_SOURCE_UNODIALOGS_TEXTCONVERSIONDLGS_CHINESE_TRANSLATION_UNODIALOG_HXX
+#pragma once
 
 #include <com/sun/star/awt/XWindow.hpp>
 #include <com/sun/star/beans/XPropertySet.hpp>
@@ -123,6 +122,4 @@ private:
 
 } //end namespace
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/unodialogs/textconversiondlgs/chinese_translationdialog.hxx b/svx/source/unodialogs/textconversiondlgs/chinese_translationdialog.hxx
index 7d0d0180022a..dad4b551305c 100644
--- a/svx/source/unodialogs/textconversiondlgs/chinese_translationdialog.hxx
+++ b/svx/source/unodialogs/textconversiondlgs/chinese_translationdialog.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SVX_SOURCE_UNODIALOGS_TEXTCONVERSIONDLGS_CHINESE_TRANSLATIONDIALOG_HXX
-#define INCLUDED_SVX_SOURCE_UNODIALOGS_TEXTCONVERSIONDLGS_CHINESE_TRANSLATIONDIALOG_HXX
+#pragma once
 
 #include <vcl/weld.hxx>
 
@@ -51,6 +50,4 @@ private:
 
 } //end namespace
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list