[Libreoffice-commits] core.git: sal/textenc

iakarsu (via logerrit) logerrit at kemper.freedesktop.org
Sat Jan 25 16:47:49 UTC 2020


 sal/textenc/context.hxx |    6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

New commits:
commit a43fe4e5c73c44a68fc32b16c1c8db4f3e216f4e
Author:     iakarsu <iakarsu99 at gmail.com>
AuthorDate: Sat Jan 25 14:59:01 2020 +0300
Commit:     Muhammet Kara <muhammet.kara at collabora.com>
CommitDate: Sat Jan 25 17:47:15 2020 +0100

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

diff --git a/sal/textenc/context.hxx b/sal/textenc/context.hxx
index 7c6d96b7eff9..e887bab53ccc 100644
--- a/sal/textenc/context.hxx
+++ b/sal/textenc/context.hxx
@@ -17,9 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SAL_TEXTENC_CONTEXT_HXX
-#define INCLUDED_SAL_TEXTENC_CONTEXT_HXX
-
+#pragma once
 
 #include <sal/types.h>
 
@@ -34,6 +32,4 @@ void ImplResetUnicodeToTextContext(void * pContext);
 
 void ImplDestroyUnicodeToTextContext(void * pContext);
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list