summaryrefslogtreecommitdiff
path: root/sfx2/source
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source')
-rw-r--r--sfx2/source/appl/workwin.cxx2
-rw-r--r--sfx2/source/doc/doctempl.cxx2
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 );
}