diff options
author | Noel Grandin <noel@peralex.com> | 2015-10-19 10:37:58 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-10-19 13:08:29 +0200 |
commit | 367105e0248c7b80b60b2554d04f5f248b4259b3 (patch) | |
tree | 81b5406455f69b6c5587e7624967273ec36137e9 /sfx2/source | |
parent | 6716ceec1c5b1a2ece26f91741253b2673e6e9e2 (diff) |
cleanup some local var declarations
found with
git grep -nP '(\w+)\s+=\s+\g1\(' | lots-of-hand-filtering
Change-Id: I598b0cfa6607823eaef09d95e610e05145c727f7
Diffstat (limited to 'sfx2/source')
-rw-r--r-- | sfx2/source/appl/workwin.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/doc/doctempl.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/appl/workwin.cxx b/sfx2/source/appl/workwin.cxx index b03c12d44542..d77c181936af 100644 --- a/sfx2/source/appl/workwin.cxx +++ b/sfx2/source/appl/workwin.cxx @@ -2489,7 +2489,7 @@ void SfxWorkWindow::EndAutoShow_Impl( Point aPos ) if ( p && p->IsAutoHide() ) { Point aLocalPos = p->ScreenToOutputPixel( aPos ); - Point aEmptyPoint = Point(); + Point aEmptyPoint; Rectangle aRect( aEmptyPoint, p->GetSizePixel() ); if ( !aRect.IsInside( aLocalPos ) ) p->FadeOut(); diff --git a/sfx2/source/doc/doctempl.cxx b/sfx2/source/doc/doctempl.cxx index a62ca784adcb..402db40b9ea5 100644 --- a/sfx2/source/doc/doctempl.cxx +++ b/sfx2/source/doc/doctempl.cxx @@ -1643,7 +1643,7 @@ void SfxDocTemplate_Impl::CreateFromHierarchy( Content &rTemplRoot ) OUString aTitle( xRow->getString( 1 ) ); OUString aId = xContentAccess->queryContentIdentifierString(); - Content aContent = Content( aId, aCmdEnv, comphelper::getProcessComponentContext() ); + Content aContent( aId, aCmdEnv, comphelper::getProcessComponentContext() ); AddRegion( aTitle, aContent ); } |