summaryrefslogtreecommitdiff
path: root/embeddedobj/source/general/docholder.cxx
diff options
context:
space:
mode:
authorXisco Fauli <anistenis@gmail.com>2011-04-10 20:29:44 +0200
committerChristina Rossmanith <ChrRossmanith@web.de>2011-04-12 20:42:49 +0200
commit77751521699dd6b50dd1cac4621a0f0fcb2730c4 (patch)
tree7204fef2c2fd56d8f7c48f9e61a4fc458aa505d0 /embeddedobj/source/general/docholder.cxx
parentfbc18ae2f2c9ca12e57808583fadba2aea3b7e22 (diff)
Remove commented code in libs-core/embeddedobj (partially)
Diffstat (limited to 'embeddedobj/source/general/docholder.cxx')
-rw-r--r--embeddedobj/source/general/docholder.cxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/embeddedobj/source/general/docholder.cxx b/embeddedobj/source/general/docholder.cxx
index 638eb1eeeaf6..a75c814fc9bc 100644
--- a/embeddedobj/source/general/docholder.cxx
+++ b/embeddedobj/source/general/docholder.cxx
@@ -363,7 +363,6 @@ void DocumentHolder::ResizeWindows_Impl( const awt::Rectangle& aHatchRect )
aHatchRect.Height - 2*HATCH_BORDER_WIDTH,
awt::PosSize::POSSIZE );
- // Window* pWindow = VCLUnoHelper::GetWindow( m_xOwnWindow );
m_xHatchWindow->setPosSize( aHatchRect.X,
aHatchRect.Y,
@@ -981,9 +980,6 @@ void DocumentHolder::SetComponent( const uno::Reference< util::XCloseable >& xDo
}
m_xComponent = xDoc;
- // done outside currently uno::Reference < container::XChild > xChild( m_xComponent, uno::UNO_QUERY );
- // done outside currently if ( xChild.is() && m_pEmbedObj )
- // done outside currently xChild->setParent( m_pEmbedObj->getParent() );
m_bReadOnly = bReadOnly;
m_bAllowClosing = sal_False;
@@ -1022,7 +1018,6 @@ sal_Bool DocumentHolder::LoadDocToFrame( sal_Bool bInPlace )
::comphelper::NamedValueCollection aArgs;
aArgs.put( "Model", m_xComponent );
aArgs.put( "ReadOnly", m_bReadOnly );
- //aArgs.put( "Hidden", sal_True );
if ( bInPlace )
aArgs.put( "PluginMode", sal_Int16(1) );
::rtl::OUString sUrl;