diff options
author | Michael Meeks <michael.meeks@suse.com> | 2012-06-01 14:45:23 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-06-01 14:47:00 +0100 |
commit | d369d4fac79ceea879c626df4d4ee3e290dfe8fa (patch) | |
tree | 170095cc0c5d9547261120ef0685c77d208b6dfd /extensions | |
parent | a77d16835504b4f82b6b9e59c213eea8a879219c (diff) |
targetted revert of small stl empty optimisation
Change-Id: I5e845235f946f33f2a38839c8bd7bb6efda64147
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/bibliography/general.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/source/bibliography/general.cxx b/extensions/source/bibliography/general.cxx index 65dafe55b28e..8576bce5d440 100644 --- a/extensions/source/bibliography/general.cxx +++ b/extensions/source/bibliography/general.cxx @@ -846,7 +846,7 @@ sal_Bool BibGeneralPage::HandleShortCutKey( const KeyEvent& rKeyEvent ) if( pWindow->HasChildPathFocus() ) { // save focused control DBG_ASSERT( nFocused == 0xFFFF, "+BibGeneralPage::HandleShortCutKey(): more than one with focus?!" ); - DBG_ASSERT( !aMatchList.empty(), "+BibGeneralPage::HandleShortCutKey(): push_back and no content?!" ); + DBG_ASSERT( aMatchList.size() > 0, "+BibGeneralPage::HandleShortCutKey(): push_back and no content?!" ); nFocused = aMatchList.size() - 1; } } @@ -856,7 +856,7 @@ sal_Bool BibGeneralPage::HandleShortCutKey( const KeyEvent& rKeyEvent ) if( bHandled ) { - DBG_ASSERT( !aMatchList.empty(), "*BibGeneralPage::HandleShortCutKey(): be prepared to crash..." ); + DBG_ASSERT( aMatchList.size() > 0, "*BibGeneralPage::HandleShortCutKey(): be prepared to crash..." ); if( nFocused >= ( aMatchList.size() - 1 ) ) // >=... includes 0xFFFF |