writerfilter/source/resourcemodel/Fraction.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 0f32a95d0af6a19c80f9b7e14fab8753067d3ddf Author: Miklos Vajna <vmik...@suse.cz> Date: Sat Aug 31 19:53:51 2013 +0200 writerfilter: mark these as static Change-Id: I240b95e09d3555c0fdcdf6c4b9eb458ad82460e4 diff --git a/writerfilter/source/resourcemodel/Fraction.cxx b/writerfilter/source/resourcemodel/Fraction.cxx index 762b9af..1f24bb3 100644 --- a/writerfilter/source/resourcemodel/Fraction.cxx +++ b/writerfilter/source/resourcemodel/Fraction.cxx @@ -24,7 +24,7 @@ namespace resourcemodel { // Stein's binary GCD for non-negative integers // https://en.wikipedia.org/wiki/Binary_GCD_algorithm -sal_uInt32 gcd(sal_uInt32 a, sal_uInt32 b) +static sal_uInt32 gcd(sal_uInt32 a, sal_uInt32 b) { if (a == 0 || b == 0) return a | b; @@ -63,7 +63,7 @@ sal_uInt32 gcd(sal_uInt32 a, sal_uInt32 b) return a << nShift; } -sal_uInt32 lcm(sal_Int32 a, sal_Int32 b) +static sal_uInt32 lcm(sal_Int32 a, sal_Int32 b) { return abs(a * b) / gcd(abs(a), abs(b)); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits