summaryrefslogtreecommitdiffstats
path: root/src/xml/repr-util.cpp
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2010-12-12 19:55:36 +0000
committerJon A. Cruz <jon@joncruz.org>2010-12-12 19:55:36 +0000
commit12f9afe65be1ec5083cf4e156f3455f38dd9601a (patch)
tree52df416800d3eae1f64020be2394b8db9300c47c /src/xml/repr-util.cpp
parentPrevent localized doubles from being written into filter matrices (diff)
downloadinkscape-12f9afe65be1ec5083cf4e156f3455f38dd9601a.tar.gz
inkscape-12f9afe65be1ec5083cf4e156f3455f38dd9601a.zip
Fixed const/non-const mismatch loop.
(bzr r9949)
Diffstat (limited to 'src/xml/repr-util.cpp')
-rw-r--r--src/xml/repr-util.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xml/repr-util.cpp b/src/xml/repr-util.cpp
index 07a25ca6d..9405cde01 100644
--- a/src/xml/repr-util.cpp
+++ b/src/xml/repr-util.cpp
@@ -456,7 +456,7 @@ Inkscape::XML::Node const *sp_repr_lookup_name( Inkscape::XML::Node const *repr,
Inkscape::XML::Node *sp_repr_lookup_name( Inkscape::XML::Node *repr, gchar const *name, gint maxdepth )
{
- Inkscape::XML::Node const *found = sp_repr_lookup_name( const_cast<Inkscape::XML::Node *>(repr), name, maxdepth );
+ Inkscape::XML::Node const *found = sp_repr_lookup_name( const_cast<Inkscape::XML::Node const *>(repr), name, maxdepth );
return const_cast<Inkscape::XML::Node *>(found);
}