summaryrefslogtreecommitdiffstats
path: root/src/livarot/PathStroke.cpp
diff options
context:
space:
mode:
authorsu_v <suv-sf@users.sourceforge.net>2012-11-26 06:56:29 +0000
committer~suv <suv-sf@users.sourceforge.net>2012-11-26 06:56:29 +0000
commit0f140e037d3b84ca7664c9a18b5bd977b912d6c2 (patch)
tree559b8b9215dcf4a688a480ae1dc3f557d3036d05 /src/livarot/PathStroke.cpp
parentmerge from trunk (r11871) (diff)
parentFix undo history entry for layer renaming to be consistent with 'Rename Layer... (diff)
downloadinkscape-0f140e037d3b84ca7664c9a18b5bd977b912d6c2.tar.gz
inkscape-0f140e037d3b84ca7664c9a18b5bd977b912d6c2.zip
merge from trunk (r11903)
(bzr r11668.1.42)
Diffstat (limited to 'src/livarot/PathStroke.cpp')
-rw-r--r--src/livarot/PathStroke.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/livarot/PathStroke.cpp b/src/livarot/PathStroke.cpp
index 93280d794..cdd5cae6d 100644
--- a/src/livarot/PathStroke.cpp
+++ b/src/livarot/PathStroke.cpp
@@ -20,7 +20,7 @@
*/
// until i find something better
-Geom::Point StrokeNormalize(const Geom::Point value) {
+static Geom::Point StrokeNormalize(const Geom::Point value) {
double length = L2(value);
if ( length < 0.0000001 ) {
return Geom::Point(0, 0);
@@ -30,7 +30,7 @@ Geom::Point StrokeNormalize(const Geom::Point value) {
}
// faster version if length is known
-Geom::Point StrokeNormalize(const Geom::Point value, double length) {
+static Geom::Point StrokeNormalize(const Geom::Point value, double length) {
if ( length < 0.0000001 ) {
return Geom::Point(0, 0);
} else {