diff options
author | Oliver Specht <os@openoffice.org> | 2001-05-31 10:18:40 +0000 |
---|---|---|
committer | Oliver Specht <os@openoffice.org> | 2001-05-31 10:18:40 +0000 |
commit | d0e54c9176f63624c4e6c4361737350a767f0866 (patch) | |
tree | 96f93ed342b3e493cc43746be2eac7535f02ac2c /extensions/source/bibliography | |
parent | 7fa0c288d1d9e2640d520bf8bdf36d8ece8e1113 (diff) |
#87672# assertions prevented
Diffstat (limited to 'extensions/source/bibliography')
-rw-r--r-- | extensions/source/bibliography/toolbar.cxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/extensions/source/bibliography/toolbar.cxx b/extensions/source/bibliography/toolbar.cxx index 3d3ca857c653..bca97ddb9874 100644 --- a/extensions/source/bibliography/toolbar.cxx +++ b/extensions/source/bibliography/toolbar.cxx @@ -2,9 +2,9 @@ * * $RCSfile: toolbar.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: th $ $Date: 2001-05-11 10:26:36 $ + * last change: $Author: os $ $Date: 2001-05-31 11:18:40 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -317,10 +317,13 @@ void BibToolBar::InitListener() for(sal_uInt16 nPos=0;nPos<nCount;nPos++) { sal_uInt16 nId=GetItemId(nPos); - if(nId==TBC_FT_SOURCE || nId==TBC_FT_QUERY) continue; + if(!nId || nId==TBC_FT_SOURCE || nId==TBC_FT_QUERY) + continue; util::URL aURL; aURL.Complete = GetItemCommand(nId); + if(!aURL.Complete.getLength()) + continue; xTrans->parseStrict( aURL ); |