summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cairomm/surface.cc2
-rw-r--r--cairomm/surface.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/cairomm/surface.cc b/cairomm/surface.cc
index e24dca1..bb85724 100644
--- a/cairomm/surface.cc
+++ b/cairomm/surface.cc
@@ -410,7 +410,7 @@ Rectangle RecordingSurface::ink_extents() const
return inked;
}
-bool RecordingSurface::get_extents(Rectangle &extents) const
+bool RecordingSurface::get_extents(Rectangle& extents) const
{
bool has_extents = cairo_recording_surface_get_extents(const_cast<cobject*>(cobj()),
&extents);
diff --git a/cairomm/surface.h b/cairomm/surface.h
index b98cb1a..865fc8e 100644
--- a/cairomm/surface.h
+++ b/cairomm/surface.h
@@ -645,7 +645,7 @@ public:
* @return true if the recording surface is bounded, false if the recording
* surface is unbounded (in which case `extents` will not be set).
*/
- bool get_extents(Rectangle &extents) const;
+ bool get_extents(Rectangle& extents) const;
/**
* Creates a recording surface which can be used to record all drawing