summaryrefslogtreecommitdiffstats
path: root/vcl/source/graphic/Manager.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/graphic/Manager.cxx')
-rw-r--r--vcl/source/graphic/Manager.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/graphic/Manager.cxx b/vcl/source/graphic/Manager.cxx
index 83c2dfb73529..98ef80eebddc 100644
--- a/vcl/source/graphic/Manager.cxx
+++ b/vcl/source/graphic/Manager.cxx
@@ -146,7 +146,7 @@ void Manager::unregisterGraphic(ImpGraphic* pImpGraphic)
std::shared_ptr<ImpGraphic> Manager::copy(std::shared_ptr<ImpGraphic> const& rImpGraphicPtr)
{
- auto pReturn = std::make_shared<ImpGraphic>(*rImpGraphicPtr.get());
+ auto pReturn = std::make_shared<ImpGraphic>(*rImpGraphicPtr);
registerGraphic(pReturn, "Copy");
return pReturn;
}