diff options
| author | Campbell Barton <ideasman42@gmail.com> | 2012-10-04 01:45:44 +0000 |
|---|---|---|
| committer | Campbell Barton <ideasman42@gmail.com> | 2012-10-04 01:45:44 +0000 |
| commit | 370a3f5cc9e39352a081e5d5dd8c43676547a6e6 (patch) | |
| tree | 3e7b18853b1902c189a5d1972db490c561b0b538 /src/sp-mesh-array.cpp | |
| parent | extensions. Extrude. allow selection of multiple objects (Bug 1055155) (diff) | |
| download | inkscape-370a3f5cc9e39352a081e5d5dd8c43676547a6e6.tar.gz inkscape-370a3f5cc9e39352a081e5d5dd8c43676547a6e6.zip | |
code cleanup: add own includes to cpp files or make the functions static if they are not used elsewhere.
(bzr r11735)
Diffstat (limited to '')
| -rw-r--r-- | src/sp-mesh-array.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sp-mesh-array.cpp b/src/sp-mesh-array.cpp index 2b7611bde..3b2d33bbd 100644 --- a/src/sp-mesh-array.cpp +++ b/src/sp-mesh-array.cpp @@ -72,7 +72,7 @@ enum { ROW, COL }; -void swap_p( Geom::Point *p1, Geom::Point *p2 ) { +static void swap_p( Geom::Point *p1, Geom::Point *p2 ) { Geom::Point temp = *p1; *p1 = *p2; *p2 = temp; @@ -957,7 +957,7 @@ void SPMeshNodeArray::write( SPMeshGradient *mg ) { Find default color based on color of first stop in "vector" gradient. This should be rewritten if dependence on "vector" is removed. */ -SPColor default_color( SPItem *item ) { +static SPColor default_color( SPItem *item ) { // Set initial color to the color of the object before adding the mesh. // This is a bit tricky as at the moment, a "vector" gradient is created |
