diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-08-14 11:56:39 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-08-14 12:08:11 +0100 |
commit | 342438c6e0f377b938c4ff213dca9e9665b709d9 (patch) | |
tree | 3138c2d5046a9a26f833d20dd2f512740b0adda0 /svgio/inc | |
parent | b1ac43d1ab416d334a0feb93244941eee447abcf (diff) |
returning pointers to temporaries
Change-Id: I1bb65ee0ff3059ee47f83d54814f3a228994d960
Diffstat (limited to 'svgio/inc')
-rw-r--r-- | svgio/inc/svgio/svgreader/svgsvgnode.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/svgio/inc/svgio/svgreader/svgsvgnode.hxx b/svgio/inc/svgio/svgreader/svgsvgnode.hxx index 7226d7fcfc27..157637a9f399 100644 --- a/svgio/inc/svgio/svgreader/svgsvgnode.hxx +++ b/svgio/inc/svgio/svgreader/svgsvgnode.hxx @@ -21,6 +21,7 @@ #define INCLUDED_SVGIO_SVGREADER_SVGSVGNODE_HXX #include <svgio/svgreader/svgstyleattributes.hxx> +#include <boost/scoped_ptr.hpp> ////////////////////////////////////////////////////////////////////////////// @@ -36,6 +37,7 @@ namespace svgio /// variable scan values, dependent of given XAttributeList basegfx::B2DRange* mpViewBox; + mutable boost::scoped_ptr<basegfx::B2DRange> xGeneratedBox; SvgAspectRatio maSvgAspectRatio; SvgNumber maX; SvgNumber maY; |