[Libreoffice-commits] core.git: basegfx/source include/basegfx
Stephan Bergmann (via logerrit)
logerrit at kemper.freedesktop.org
Tue Jun 30 16:30:15 UTC 2020
basegfx/source/curve/b2dcubicbezier.cxx | 2 +-
include/basegfx/utils/rectcliptools.hxx | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
New commits:
commit 65269c27177003f18bec5c645f7498c8a3884ecc
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Tue Jun 30 15:23:15 2020 +0200
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Tue Jun 30 18:29:32 2020 +0200
Upcoming improved loplugin:staticanonymous -> redundantstatic: basegfx
Change-Id: I66b7e0fd74c7ce57cd2859e189caadb84be4d541
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97521
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
diff --git a/basegfx/source/curve/b2dcubicbezier.cxx b/basegfx/source/curve/b2dcubicbezier.cxx
index 4fd2e33fe299..046f0cf30e17 100644
--- a/basegfx/source/curve/b2dcubicbezier.cxx
+++ b/basegfx/source/curve/b2dcubicbezier.cxx
@@ -30,7 +30,7 @@
// #i37443#
#define FACTOR_FOR_UNSHARPEN (1.6)
#ifdef DBG_UTIL
-static const double fMultFactUnsharpen = FACTOR_FOR_UNSHARPEN;
+const double fMultFactUnsharpen = FACTOR_FOR_UNSHARPEN;
#endif
namespace basegfx
diff --git a/include/basegfx/utils/rectcliptools.hxx b/include/basegfx/utils/rectcliptools.hxx
index b1354a6cac87..af6be75bfc90 100644
--- a/include/basegfx/utils/rectcliptools.hxx
+++ b/include/basegfx/utils/rectcliptools.hxx
@@ -27,10 +27,10 @@ namespace basegfx::utils
{
namespace RectClipFlags
{
- static const sal_uInt32 LEFT = sal_Int32(0x01);
- static const sal_uInt32 RIGHT = sal_Int32(0x02);
- static const sal_uInt32 TOP = sal_Int32(0x04);
- static const sal_uInt32 BOTTOM = sal_Int32(0x08);
+ const sal_uInt32 LEFT = sal_Int32(0x01);
+ const sal_uInt32 RIGHT = sal_Int32(0x02);
+ const sal_uInt32 TOP = sal_Int32(0x04);
+ const sal_uInt32 BOTTOM = sal_Int32(0x08);
}
/** Calc clip mask for Cohen-Sutherland rectangle clip
More information about the Libreoffice-commits
mailing list