summaryrefslogtreecommitdiff
path: root/sd/source/ui/dlg/dlgass.cxx
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2010-12-05 22:42:19 +0900
committerCaolán McNamara <caolanm@redhat.com>2010-12-05 17:11:00 +0000
commit4ef564882dd85750576aea92524236f96ab720f6 (patch)
treed07ecbf7122d01f5dae2d25448644e019343fc20 /sd/source/ui/dlg/dlgass.cxx
parentb4106d0526e1a1978cbc8f916da05f1a1c976715 (diff)
Remove dead codes from sd
Diffstat (limited to 'sd/source/ui/dlg/dlgass.cxx')
-rw-r--r--sd/source/ui/dlg/dlgass.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/sd/source/ui/dlg/dlgass.cxx b/sd/source/ui/dlg/dlgass.cxx
index 16b62f219711..22197776b133 100644
--- a/sd/source/ui/dlg/dlgass.cxx
+++ b/sd/source/ui/dlg/dlgass.cxx
@@ -752,14 +752,11 @@ void AssistentDlgImpl::CloseDocShell()
{
if(xDocShell.Is())
{
- //uno::Reference< lang::XComponent > xModel( xDocShell->GetModel(), uno::UNO_QUERY );
uno::Reference< util::XCloseable > xCloseable( xDocShell->GetModel(), uno::UNO_QUERY );
- //if( xModel.is() )
if( xCloseable.is() )
{
xCloseable->close( sal_True );
xDocShell = NULL;
- //xModel->dispose();
}
else
{
@@ -1039,7 +1036,6 @@ String AssistentDlgImpl::GetLayoutFileName()
SfxObjectShellLock AssistentDlgImpl::GetDocument()
{
-// mbPreview = FALSE; // Document nicht anzeigen
UpdatePreview(FALSE); // aber komplett laden
UpdatePageList();