vcl/source/control/thumbpos.hxx |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

New commits:
commit 514de206bcd4a59260a806b86f0e90146681d186
Author:     ehsan <m.ehsan.movahed...@gmail.com>
AuthorDate: Sun Jul 10 19:54:56 2022 +0430
Commit:     Julien Nabet <serval2...@yahoo.fr>
CommitDate: Sun Jul 10 19:13:02 2022 +0200

    tdf#143148 Use pragma once instead of include guards
    
    Change-Id: I488c8e58620ed89adf67f93f0edb4084765a0ced
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136441
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2...@yahoo.fr>

diff --git a/vcl/source/control/thumbpos.hxx b/vcl/source/control/thumbpos.hxx
index e7048f35fc27..33d3d55f31f1 100644
--- a/vcl/source/control/thumbpos.hxx
+++ b/vcl/source/control/thumbpos.hxx
@@ -7,8 +7,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_VCL_SOURCE_CONTROL_THUMBPOS_HXX
-#define INCLUDED_VCL_SOURCE_CONTROL_THUMBPOS_HXX
+#pragma once
 
 inline tools::Long ImplMulDiv(tools::Long nNumber, tools::Long nNumerator, 
tools::Long nDenominator)
 {
@@ -19,6 +18,4 @@ inline tools::Long ImplMulDiv(tools::Long nNumber, 
tools::Long nNumerator, tools
     return static_cast<tools::Long>(n);
 }
 
-#endif // INCLUDED_VCL_SOURCE_CONTROL_THUMBPOS_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Reply via email to