diff options
Diffstat (limited to 'sc/source/ui/unoobj/drdefuno.cxx')
-rw-r--r-- | sc/source/ui/unoobj/drdefuno.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sc/source/ui/unoobj/drdefuno.cxx b/sc/source/ui/unoobj/drdefuno.cxx index ee4a89baf76b..3cee45eaed4a 100644 --- a/sc/source/ui/unoobj/drdefuno.cxx +++ b/sc/source/ui/unoobj/drdefuno.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -43,8 +43,8 @@ ScDrawDefaultsObj::ScDrawDefaultsObj(ScDocShell* pDocSh) : SvxUnoDrawPool( NULL ), pDocShell( pDocSh ) { - // SvxUnoDrawPool is initialized without model, - // draw layer is created on demand in getModelPool + // SvxUnoDrawPool is initialized without model, + // draw layer is created on demand in getModelPool pDocShell->GetDocument()->AddUnoObject(*this); } @@ -60,7 +60,7 @@ void ScDrawDefaultsObj::Notify( SfxBroadcaster&, const SfxHint& rHint ) if ( rHint.ISA( SfxSimpleHint ) && ((const SfxSimpleHint&)rHint).GetId() == SFX_HINT_DYING ) { - pDocShell = NULL; // document gone + pDocShell = NULL; // document gone } } @@ -76,7 +76,7 @@ SfxItemPool* ScDrawDefaultsObj::getModelPool( sal_Bool bReadOnly ) throw() pRet = &pModel->GetItemPool(); } if ( !pRet ) - pRet = SvxUnoDrawPool::getModelPool( bReadOnly ); // uses default pool + pRet = SvxUnoDrawPool::getModelPool( bReadOnly ); // uses default pool return pRet; } |