INTEGRATION: CWS sdwarningsbegone (1.10.38); FILE MERGED

2006/11/27 13:48:15 cl 1.10.38.2: #i69285# warning free code changes for sd project
2006/11/22 12:42:20 cl 1.10.38.1: #i69285# warning free code changes for unxlngi6.pro
This commit is contained in:
Kurt Zenker 2006-12-12 17:58:03 +00:00
parent 76e0196be0
commit bcbe80430a

View file

@ -4,9 +4,9 @@
* *
* $RCSfile: unocpres.cxx,v $ * $RCSfile: unocpres.cxx,v $
* *
* $Revision: 1.10 $ * $Revision: 1.11 $
* *
* last change: $Author: obo $ $Date: 2006-09-16 19:25:19 $ * last change: $Author: kz $ $Date: 2006-12-12 18:58:03 $
* *
* The Contents of this file are made available subject to * The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1. * the terms of GNU Lesser General Public License Version 2.1.
@ -340,7 +340,7 @@ uno::Reference< uno::XInterface > SAL_CALL SdXCustomPresentationAccess::createIn
return xRef; return xRef;
} }
uno::Reference< uno::XInterface > SAL_CALL SdXCustomPresentationAccess::createInstanceWithArguments( const uno::Sequence< uno::Any >& aArguments ) uno::Reference< uno::XInterface > SAL_CALL SdXCustomPresentationAccess::createInstanceWithArguments( const uno::Sequence< uno::Any >& )
throw(uno::Exception, uno::RuntimeException) throw(uno::Exception, uno::RuntimeException)
{ {
return createInstance(); return createInstance();
@ -353,7 +353,7 @@ void SAL_CALL SdXCustomPresentationAccess::insertByName( const OUString& aName,
OGuard aGuard( Application::GetSolarMutex() ); OGuard aGuard( Application::GetSolarMutex() );
// get the documents custom show list // get the documents custom show list
List* pList; List* pList = 0;
if(mrModel.GetDoc()) if(mrModel.GetDoc())
pList = mrModel.GetDoc()->GetCustomShowList(sal_True); pList = mrModel.GetDoc()->GetCustomShowList(sal_True);