summaryrefslogtreecommitdiffstats
path: root/src/style-internal.cpp
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2014-07-15 23:07:09 +0000
committerJon A. Cruz <jon@joncruz.org>2014-07-15 23:07:09 +0000
commit70fbc57aa2ae064f92fbc4e6c8950b5c90e4ccac (patch)
treed1f6261e0b50f36714d7b344fb0a7fc596dbcc19 /src/style-internal.cpp
parentautogen: Check for autopoint before attempting to run it (diff)
downloadinkscape-70fbc57aa2ae064f92fbc4e6c8950b5c90e4ccac.tar.gz
inkscape-70fbc57aa2ae064f92fbc4e6c8950b5c90e4ccac.zip
Warnings cleaup.
(bzr r13454)
Diffstat (limited to 'src/style-internal.cpp')
-rw-r--r--src/style-internal.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/style-internal.cpp b/src/style-internal.cpp
index d0e65a19a..6a56d75c0 100644
--- a/src/style-internal.cpp
+++ b/src/style-internal.cpp
@@ -1390,9 +1390,8 @@ SPIFilter::read( gchar const *str ) {
}
}
-const Glib::ustring
-SPIFilter::write( guint const flags, SPIBase const *const base) const {
-
+const Glib::ustring SPIFilter::write( guint const flags, SPIBase const *const /*base*/) const
+{
// TODO: fix base
//SPILength const *const my_base = dynamic_cast<const SPILength*>(base);
if ( (flags & SP_STYLE_FLAG_ALWAYS) ||
@@ -1923,9 +1922,8 @@ SPIFont::read( gchar const *str ) {
}
}
-const Glib::ustring
-SPIFont::write( guint const flags, SPIBase const *const base) const {
-
+const Glib::ustring SPIFont::write( guint const /*flags*/, SPIBase const *const /*base*/) const
+{
// At the moment, do nothing. We could add a preference to write out
// 'font' shorthand rather than longhand properties.