summaryrefslogtreecommitdiffstats
path: root/src/sp-item.h
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2008-09-01 23:04:44 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2008-09-01 23:04:44 +0000
commitd244e4cb5d6e2887807d9c3d105a29cae1baaf63 (patch)
treec2a2bf80605f0a0479f03c83c556675cb6ea3d58 /src/sp-item.h
parentFixes to desktop file from patch. Bug #263233 (diff)
downloadinkscape-d244e4cb5d6e2887807d9c3d105a29cae1baaf63.tar.gz
inkscape-d244e4cb5d6e2887807d9c3d105a29cae1baaf63.zip
removed unnecessary pointer, changed to by reference. (the pointer was not allowed to be NULL, so reference is better)
(bzr r6752)
Diffstat (limited to 'src/sp-item.h')
-rw-r--r--src/sp-item.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sp-item.h b/src/sp-item.h
index 358f3d75c..dd2a995f7 100644
--- a/src/sp-item.h
+++ b/src/sp-item.h
@@ -213,9 +213,9 @@ struct SPItemClass {
/* Methods */
-void sp_item_invoke_bbox(SPItem const *item, boost::optional<NR::Rect> *bbox, NR::Matrix const &transform, unsigned const clear, SPItem::BBoxType type = SPItem::APPROXIMATE_BBOX);
+void sp_item_invoke_bbox(SPItem const *item, boost::optional<NR::Rect> &bbox, NR::Matrix const &transform, unsigned const clear, SPItem::BBoxType type = SPItem::APPROXIMATE_BBOX);
void sp_item_invoke_bbox(SPItem const *item, NRRect *bbox, NR::Matrix const &transform, unsigned const clear, SPItem::BBoxType type = SPItem::APPROXIMATE_BBOX) __attribute__ ((deprecated));
-void sp_item_invoke_bbox_full(SPItem const *item, boost::optional<NR::Rect> *bbox, NR::Matrix const &transform, unsigned const flags, unsigned const clear);
+void sp_item_invoke_bbox_full(SPItem const *item, boost::optional<NR::Rect> &bbox, NR::Matrix const &transform, unsigned const flags, unsigned const clear);
void sp_item_invoke_bbox_full(SPItem const *item, NRRect *bbox, NR::Matrix const &transform, unsigned const flags, unsigned const clear) __attribute__ ((deprecated));
unsigned sp_item_pos_in_parent(SPItem *item);