summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c1faa54)
raw | patch | inline | side by side (parent: c1faa54)
author | joncruz <joncruz@users.sourceforge.net> | |
Mon, 19 Feb 2007 18:10:02 +0000 (18:10 +0000) | ||
committer | joncruz <joncruz@users.sourceforge.net> | |
Mon, 19 Feb 2007 18:10:02 +0000 (18:10 +0000) |
20 files changed:
diff --git a/src/extension/internal/cairo-render-context.cpp b/src/extension/internal/cairo-render-context.cpp
index 4ade7fbaebf912521af39e947d35394d787a3b31..47d38fa1d338e6ba39526feb1bdc14b3ad8a699d 100644 (file)
SPMask *mask = _state->mask;
if (clip_path || mask) {
- CairoRenderContext *clip_ctx;
- cairo_surface_t *clip_mask;
+ CairoRenderContext *clip_ctx = 0;
+ cairo_surface_t *clip_mask = 0;
if (clip_path) {
if (_render_mode == RENDER_MODE_CLIP)
@@ -1313,7 +1313,11 @@ CairoRenderContext::renderGlyphtext(PangoFont *font, NRMatrix const *font_matrix
cairo_restore(_cr);
cairo_font_face_destroy(font_face);
-#endif
+#else
+ (void)size;
+ (void)fc_pattern;
+#endif
+
return true;
}
index bd8d0b14eed801e0be3fdfc1e4cba0d0739202bc..1e95a18f06bb56fa569440dfc6759c8034ded844 100644 (file)
\r
ParamComboBoxEntry * combo = Gtk::manage(new ParamComboBoxEntry(this, doc, node));\r
// add choice strings:\r
- Glib::ustring * settext;\r
+ Glib::ustring * settext = 0;\r
for (GSList * list = choices; list != NULL; list = g_slist_next(list)) {\r
enumentry * entr = reinterpret_cast<enumentry *>(list->data);\r
Glib::ustring * text = entr->guitext;\r
diff --git a/src/livarot/Shape.cpp b/src/livarot/Shape.cpp
index 1a2f63871b89095edace9872a6e38acd928094dd..c694cdd2776b958e2369a6e9f3b24ed921e42f97 100644 (file)
--- a/src/livarot/Shape.cpp
+++ b/src/livarot/Shape.cpp
void Shape::Affiche(void)
{
- printf("sh=%p nbPt=%i nbAr=%i\n",this, _pts.size(), _aretes.size()); // localizing ok
+ printf("sh=%p nbPt=%i nbAr=%i\n", this, static_cast<int>(_pts.size()), static_cast<int>(_aretes.size())); // localizing ok
for (unsigned int i=0; i<_pts.size(); i++) {
printf("pt %i : x=(%f %f) dI=%i dO=%i\n",i, _pts[i].x[0], _pts[i].x[1], _pts[i].dI, _pts[i].dO); // localizing ok
}
diff --git a/src/snap.cpp b/src/snap.cpp
index de74d6cc6f30e37626da24461d905c2067b7a07b..253066ca446a12a06edb20a8e2a1d7ebd3f0bc32 100644 (file)
--- a/src/snap.cpp
+++ b/src/snap.cpp
* \param v `Owning' SPNamedView.
*/
-SnapManager::SnapManager(SPNamedView const *v) : _named_view(v), grid(v, 0), axonomgrid(v, 0), guide(v, 0), object(v, 0)
+SnapManager::SnapManager(SPNamedView const *v) :
+ grid(v, 0),
+ axonomgrid(v, 0),
+ guide(v, 0),
+ object(v, 0),
+ _named_view(v)
{
}
diff --git a/src/sp-feblend.cpp b/src/sp-feblend.cpp
index 9fc5ee483deb20947c9529c373097d8d9d583847..c901d60735ffc58e6c01206744ef9bbbeb28ed9c 100644 (file)
--- a/src/sp-feblend.cpp
+++ b/src/sp-feblend.cpp
sp_feBlend_set(SPObject *object, unsigned int key, gchar const *value)
{
SPFeBlend *feBlend = SP_FEBLEND(object);
+ (void)feBlend;
- switch(key) {\r
+ switch(key) {
/*DEAL WITH SETTING ATTRIBUTES HERE*/
default:
if (((SPObjectClass *) feBlend_parent_class)->set)
index 02ba17b0d72c7a7ca371d46fe594d634a617b65d..f224e9c3c174ffc52d62e8d676d219e195873743 100644 (file)
--- a/src/sp-fecolormatrix.cpp
+++ b/src/sp-fecolormatrix.cpp
sp_feColorMatrix_set(SPObject *object, unsigned int key, gchar const *value)
{
SPFeColorMatrix *feColorMatrix = SP_FECOLORMATRIX(object);
+ (void)feColorMatrix;
- switch(key) {\r
+ switch(key) {
/*DEAL WITH SETTING ATTRIBUTES HERE*/
default:
if (((SPObjectClass *) feColorMatrix_parent_class)->set)
index 739c24cdb8bfc5d79b9d2bf8123e516fac548730..6c228c3fb59e945ce4dd3a24d032d0191b20a8b1 100644 (file)
sp_feComponentTransfer_set(SPObject *object, unsigned int key, gchar const *value)
{
SPFeComponentTransfer *feComponentTransfer = SP_FECOMPONENTTRANSFER(object);
+ (void)feComponentTransfer;
- switch(key) {\r
+ switch(key) {
/*DEAL WITH SETTING ATTRIBUTES HERE*/
default:
if (((SPObjectClass *) feComponentTransfer_parent_class)->set)
diff --git a/src/sp-fecomposite.cpp b/src/sp-fecomposite.cpp
index 9e6411bff2b5969e5db46b1a3d23d7386ab349c6..ed127e7230af8f7f1fd8c5ab856fcd2f87dbb17b 100644 (file)
--- a/src/sp-fecomposite.cpp
+++ b/src/sp-fecomposite.cpp
sp_feComposite_set(SPObject *object, unsigned int key, gchar const *value)
{
SPFeComposite *feComposite = SP_FECOMPOSITE(object);
+ (void)feComposite;
- switch(key) {\r
+ switch(key) {
/*DEAL WITH SETTING ATTRIBUTES HERE*/
default:
if (((SPObjectClass *) feComposite_parent_class)->set)
index f7c50971b4e617992ddad7ab524b9df863ac0324..b02f75fd18422d9cc60773b757922bacd5736312 100644 (file)
sp_feConvolveMatrix_set(SPObject *object, unsigned int key, gchar const *value)
{
SPFeConvolveMatrix *feConvolveMatrix = SP_FECONVOLVEMATRIX(object);
+ (void)feConvolveMatrix;
- switch(key) {\r
+ switch(key) {
/*DEAL WITH SETTING ATTRIBUTES HERE*/
default:
if (((SPObjectClass *) feConvolveMatrix_parent_class)->set)
index a84628aa99faae8ebae9e1de25f9ecefb8fc4c07..beb2d6f14880ea6b5522d83f66976a10db4f4b8c 100644 (file)
sp_feDiffuseLighting_set(SPObject *object, unsigned int key, gchar const *value)
{
SPFeDiffuseLighting *feDiffuseLighting = SP_FEDIFFUSELIGHTING(object);
+ (void)feDiffuseLighting;
- switch(key) {\r
+ switch(key) {
/*DEAL WITH SETTING ATTRIBUTES HERE*/
default:
if (((SPObjectClass *) feDiffuseLighting_parent_class)->set)
index 51bba62e3805eeeb67804e4037947a1854eb1ee1..d651a3ab5e51205928aa3deb4eecda0d54e003df 100644 (file)
sp_feDisplacementMap_set(SPObject *object, unsigned int key, gchar const *value)
{
SPFeDisplacementMap *feDisplacementMap = SP_FEDISPLACEMENTMAP(object);
+ (void)feDisplacementMap;
- switch(key) {\r
+ switch(key) {
/*DEAL WITH SETTING ATTRIBUTES HERE*/
default:
if (((SPObjectClass *) feDisplacementMap_parent_class)->set)
diff --git a/src/sp-feflood.cpp b/src/sp-feflood.cpp
index de7b658d75a4bc1cc699d596fa04854c4d6428fd..843f49da51b912af9ca1f44afcb78e44cc3237d0 100644 (file)
--- a/src/sp-feflood.cpp
+++ b/src/sp-feflood.cpp
sp_feFlood_set(SPObject *object, unsigned int key, gchar const *value)
{
SPFeFlood *feFlood = SP_FEFLOOD(object);
+ (void)feFlood;
- switch(key) {\r
+ switch(key) {
/*DEAL WITH SETTING ATTRIBUTES HERE*/
default:
if (((SPObjectClass *) feFlood_parent_class)->set)
diff --git a/src/sp-feimage.cpp b/src/sp-feimage.cpp
index b7c857d4e374fdcb182b3cd977051803eaa5c758..aeacdcef2300c9654e901be75b77ebdfc326156f 100644 (file)
--- a/src/sp-feimage.cpp
+++ b/src/sp-feimage.cpp
sp_feImage_set(SPObject *object, unsigned int key, gchar const *value)
{
SPFeImage *feImage = SP_FEIMAGE(object);
+ (void)feImage;
- switch(key) {\r
+ switch(key) {
/*DEAL WITH SETTING ATTRIBUTES HERE*/
default:
if (((SPObjectClass *) feImage_parent_class)->set)
diff --git a/src/sp-femerge.cpp b/src/sp-femerge.cpp
index 830fe21e43dd8d820c2c167e3e913d0a58762ccd..64c01432c689c44154eb647c313309b1b6a0b668 100644 (file)
--- a/src/sp-femerge.cpp
+++ b/src/sp-femerge.cpp
sp_feMerge_set(SPObject *object, unsigned int key, gchar const *value)
{
SPFeMerge *feMerge = SP_FEMERGE(object);
+ (void)feMerge;
- switch(key) {\r
+ switch(key) {
/*DEAL WITH SETTING ATTRIBUTES HERE*/
default:
if (((SPObjectClass *) feMerge_parent_class)->set)
index a7497560c4d66f091a50ae1b6701c6e3d978f2d7..eed1f7602ccbf6b2579743f5ea24049511f4b6ae 100644 (file)
--- a/src/sp-femorphology.cpp
+++ b/src/sp-femorphology.cpp
sp_feMorphology_set(SPObject *object, unsigned int key, gchar const *value)
{
SPFeMorphology *feMorphology = SP_FEMORPHOLOGY(object);
+ (void)feMorphology;
- switch(key) {\r
+ switch(key) {
/*DEAL WITH SETTING ATTRIBUTES HERE*/
default:
if (((SPObjectClass *) feMorphology_parent_class)->set)
diff --git a/src/sp-feoffset.cpp b/src/sp-feoffset.cpp
index 0f2f05062916bbf4edaf3145ffb83749a1bbc33c..b766f5224909c307e50c88c6cee7e32383bf7774 100644 (file)
--- a/src/sp-feoffset.cpp
+++ b/src/sp-feoffset.cpp
sp_feOffset_set(SPObject *object, unsigned int key, gchar const *value)
{
SPFeOffset *feOffset = SP_FEOFFSET(object);
+ (void)feOffset;
- switch(key) {\r
+ switch(key) {
/*DEAL WITH SETTING ATTRIBUTES HERE*/
default:
if (((SPObjectClass *) feOffset_parent_class)->set)
index d03d8bf06662cb9df2f13fb7a6c3b9c4aac61a25..b1ef987e12511a45a394b0cc657babb6e7db7e94 100644 (file)
sp_feSpecularLighting_set(SPObject *object, unsigned int key, gchar const *value)
{
SPFeSpecularLighting *feSpecularLighting = SP_FESPECULARLIGHTING(object);
+ (void)feSpecularLighting;
- switch(key) {\r
+ switch(key) {
/*DEAL WITH SETTING ATTRIBUTES HERE*/
default:
if (((SPObjectClass *) feSpecularLighting_parent_class)->set)
diff --git a/src/sp-fetile.cpp b/src/sp-fetile.cpp
index a00bdd1e1a662b019f08fc721ebacb5d8fa2d4c3..7d33cd5023e7f92891bd1f2fc6dbc25aba486993 100644 (file)
--- a/src/sp-fetile.cpp
+++ b/src/sp-fetile.cpp
sp_feTile_set(SPObject *object, unsigned int key, gchar const *value)
{
SPFeTile *feTile = SP_FETILE(object);
+ (void)feTile;
- switch(key) {\r
+ switch(key) {
/*DEAL WITH SETTING ATTRIBUTES HERE*/
default:
if (((SPObjectClass *) feTile_parent_class)->set)
index b1bfea613302c607d9bb6d3a4c8f28df37805007..033dfd7e42f2e17653dab33f3c0f0aca18c8a78f 100644 (file)
--- a/src/sp-feturbulence.cpp
+++ b/src/sp-feturbulence.cpp
sp_feTurbulence_set(SPObject *object, unsigned int key, gchar const *value)
{
SPFeTurbulence *feTurbulence = SP_FETURBULENCE(object);
+ (void)feTurbulence;
- switch(key) {\r
+ switch(key) {
/*DEAL WITH SETTING ATTRIBUTES HERE*/
default:
if (((SPObjectClass *) feTurbulence_parent_class)->set)
index 8553b9050d44a5a9333ac2c29eb61685a51ab403..8a098de12383c944898898025038345a25f72484 100644 (file)
sp_filter_primitive_set(SPObject *object, unsigned int key, gchar const *value)\r
{\r
SPFilterPrimitive *filter_primitive = SP_FILTER_PRIMITIVE(object);\r
+ (void)filter_primitive;\r
\r
/* See if any parents need this value. */\r
if (((SPObjectClass *) filter_primitive_parent_class)->set) {\r