summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorehsan <m.ehsan.movahedian@gmail.com>2022-07-10 19:54:56 +0430
committerJulien Nabet <serval2412@yahoo.fr>2022-07-10 19:13:02 +0200
commit514de206bcd4a59260a806b86f0e90146681d186 (patch)
treea35e3ef21966e84570ba9c6404d3134c1929a079 /vcl
parent2558bb6cfd7e3faf33b7b24cb056a8e44ba8297d (diff)
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 <serval2412@yahoo.fr>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/control/thumbpos.hxx5
1 files changed, 1 insertions, 4 deletions
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: */