diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-08-05 23:04:07 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-08-05 23:04:07 +0200 |
commit | 42172ea6478023d94d4f76f3b525180d2ff25695 (patch) | |
tree | 93542caa61fbffadacf16150c345392651252035 /sd/source/ui/dlg/morphdlg.cxx | |
parent | af28a77724cb552c18df9ca5ca76e4d1da10694b (diff) |
Let GetObjectItemPool return a reference
Change-Id: Ibbcfa3452afcf88dbb6050765e081a1be2381334
Diffstat (limited to 'sd/source/ui/dlg/morphdlg.cxx')
-rw-r--r-- | sd/source/ui/dlg/morphdlg.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/dlg/morphdlg.cxx b/sd/source/ui/dlg/morphdlg.cxx index f8895e2efb71..301ef799fcfb 100644 --- a/sd/source/ui/dlg/morphdlg.cxx +++ b/sd/source/ui/dlg/morphdlg.cxx @@ -44,9 +44,9 @@ MorphDlg::MorphDlg( ::Window* pParent, const SdrObject* pObj1, const SdrObject* LoadSettings(); - SfxItemPool* pPool = (SfxItemPool*) pObj1->GetObjectItemPool(); - SfxItemSet aSet1( *pPool ); - SfxItemSet aSet2( *pPool ); + SfxItemPool & pPool = pObj1->GetObjectItemPool(); + SfxItemSet aSet1( pPool ); + SfxItemSet aSet2( pPool ); aSet1.Put(pObj1->GetMergedItemSet()); aSet2.Put(pObj2->GetMergedItemSet()); |