summaryrefslogtreecommitdiff
path: root/sfx2/source/doc/iframe.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-01-05 21:30:06 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-01-05 22:41:56 +0000
commit9999eab5fe5e92118574468905cae0e3c8982c7f (patch)
tree2bc04015f09e30c8d8dbb000f12f08749c21be59 /sfx2/source/doc/iframe.cxx
parentb234008ba5096f251fffec4c467f2103f4ba3cc0 (diff)
getPropertyMap can return a reference instead of a pointer
Diffstat (limited to 'sfx2/source/doc/iframe.cxx')
-rw-r--r--sfx2/source/doc/iframe.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/doc/iframe.cxx b/sfx2/source/doc/iframe.cxx
index d9c169e49a54..69f740c8f19c 100644
--- a/sfx2/source/doc/iframe.cxx
+++ b/sfx2/source/doc/iframe.cxx
@@ -206,7 +206,7 @@ void SAL_CALL IFrameObject::disposing( const com::sun::star::lang::EventObject&
uno::Reference< beans::XPropertySetInfo > SAL_CALL IFrameObject::getPropertySetInfo() throw( ::com::sun::star::uno::RuntimeException )
{
- static uno::Reference< beans::XPropertySetInfo > xInfo = new SfxItemPropertySetInfo( &maPropMap );
+ static uno::Reference< beans::XPropertySetInfo > xInfo = new SfxItemPropertySetInfo( maPropMap );
return xInfo;
}