diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2010-01-27 15:02:23 +0100 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2010-01-27 15:02:23 +0100 |
commit | 62853b8567ac0f0349699df87473a0ef465a46be (patch) | |
tree | 743992c1a447bede0719dd5caa3f094ea6fc8dd0 | |
parent | 47469c389bb8161eb7458f617997e9e08147c5a6 (diff) | |
parent | 5ac6b5f17a1ae700dbf273daf3d334976deac84c (diff) |
CWS-TOOLING: integrate CWS swunolocking1
-rw-r--r-- | sd/source/ui/unoidl/unolayer.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/unoidl/unolayer.cxx b/sd/source/ui/unoidl/unolayer.cxx index 96dd05a01267..17fad0f5fdc1 100644 --- a/sd/source/ui/unoidl/unolayer.cxx +++ b/sd/source/ui/unoidl/unolayer.cxx @@ -826,8 +826,8 @@ uno::Reference<drawing::XLayer> SdLayerManager::GetLayer (SdrLayer* pLayer) xLayer = new SdLayer (this, pLayer); // Remember the new xLayer for future calls. - xRef = uno::Reference<uno::XInterface> (xLayer, uno::UNO_QUERY); - mpLayers->insert (xRef); + uno::WeakReference<uno::XInterface> wRef(xLayer); + mpLayers->insert(wRef); } return xLayer; |