diff options
author | David Tardon <dtardon@redhat.com> | 2012-12-10 06:23:16 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2012-12-10 06:23:16 +0100 |
commit | 99de6a78be62ad2a042270274b060e0c7ce7a45c (patch) | |
tree | 9f48b560a55df49e3cf4c444606d00217a79a0fa /svx/source/dialog | |
parent | 782c243045a1c7ee95b2d7ea6bca64812a9049e1 (diff) |
do not return reference to a local object
regression introduced by fdb7fe63db5ba17036a71fe4f7f25f834bef8f95
Change-Id: Id3f89b61b464763a37c5f063c0d541154ec40105
Diffstat (limited to 'svx/source/dialog')
-rw-r--r-- | svx/source/dialog/compressgraphicdialog.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/dialog/compressgraphicdialog.cxx b/svx/source/dialog/compressgraphicdialog.cxx index 387a64ee5a26..af70c4da2a5b 100644 --- a/svx/source/dialog/compressgraphicdialog.cxx +++ b/svx/source/dialog/compressgraphicdialog.cxx @@ -346,7 +346,7 @@ SdrGrafObj* CompressGraphicsDialog::GetCompressedSdrGrafObj() return NULL; } -Graphic& CompressGraphicsDialog::GetCompressedGraphic() +Graphic CompressGraphicsDialog::GetCompressedGraphic() { if ( m_dResolution > 0 ) { |