diff options
author | Christian Lippka <christian.lippka@sun.com> | 2010-06-14 18:49:32 +0200 |
---|---|---|
committer | Christian Lippka <christian.lippka@sun.com> | 2010-06-14 18:49:32 +0200 |
commit | defcfcf416a0d25c104e8f492e14049814db51e2 (patch) | |
tree | 9ab15168771fa958b32a58b4656041343b9b7732 /sd/source/ui/unoidl/unocpres.cxx | |
parent | f3b2db1efb379596f0269e439a35b5575b616b2c (diff) | |
parent | f7a274b959bef49abf7f3ff45137d03c041f4a6d (diff) |
cws impress190: rebase m82
Diffstat (limited to 'sd/source/ui/unoidl/unocpres.cxx')
-rwxr-xr-x[-rw-r--r--] | sd/source/ui/unoidl/unocpres.cxx | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/sd/source/ui/unoidl/unocpres.cxx b/sd/source/ui/unoidl/unocpres.cxx index b8f48a6928aa..1935c424ec03 100644..100755 --- a/sd/source/ui/unoidl/unocpres.cxx +++ b/sd/source/ui/unoidl/unocpres.cxx @@ -493,24 +493,3 @@ SdCustomShow * SdXCustomPresentationAccess::getSdCustomShow( const OUString& Nam } return NULL; } - -sal_Int32 SdXCustomPresentationAccess::getSdCustomShowIdx( const OUString& Name ) const throw() -{ - sal_Int32 nIdx = 0; - - List* pList = GetCustomShowList(); - const sal_Int32 nCount = pList?pList->Count():0; - - const String aName( Name ); - - while( nIdx < nCount ) - { - SdCustomShow* pShow = (SdCustomShow*)pList->GetObject(nIdx); - if( pShow->GetName() == aName ) - return nIdx; - nIdx++; - } - return -1; -} - - |