diff options
-rw-r--r-- | svx/inc/svx/compressgraphicdialog.hxx | 2 | ||||
-rw-r--r-- | svx/source/dialog/compressgraphicdialog.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/svx/inc/svx/compressgraphicdialog.hxx b/svx/inc/svx/compressgraphicdialog.hxx index 231947eae418..af5dae5099fb 100644 --- a/svx/inc/svx/compressgraphicdialog.hxx +++ b/svx/inc/svx/compressgraphicdialog.hxx @@ -82,7 +82,7 @@ public: virtual ~CompressGraphicsDialog(); SdrGrafObj* GetCompressedSdrGrafObj(); - Graphic& GetCompressedGraphic(); + Graphic GetCompressedGraphic(); }; #endif 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 ) { |