diff options
author | Kurt Zenker <kz@openoffice.org> | 2011-04-13 12:42:35 +0200 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2011-04-13 12:42:35 +0200 |
commit | dc076846a9c1ddbcabd33677e595e6fab414e062 (patch) | |
tree | 8ef208ca5c753ec8c48a0d144d944eda99b4ed31 /svx/source/form | |
parent | CWS-TOOLING: integrate CWS aw084_OOO340 (diff) | |
parent | impress210: #i78386# looping sound for windows (diff) | |
download | core-dc076846a9c1ddbcabd33677e595e6fab414e062.tar.gz core-dc076846a9c1ddbcabd33677e595e6fab414e062.zip |
CWS-TOOLING: integrate CWS impress210_OOO340
Diffstat (limited to 'svx/source/form')
-rw-r--r-- | svx/source/form/fmshimp.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/form/fmshimp.cxx b/svx/source/form/fmshimp.cxx index 2ff40610fa77..29eac2ab48d1 100644 --- a/svx/source/form/fmshimp.cxx +++ b/svx/source/form/fmshimp.cxx @@ -1569,7 +1569,7 @@ void FmXFormShell::ExecuteSearch() aContextNames.swap( aValidContexts ); } - if (m_aSearchForms.size() == 0) + if (m_aSearchForms.empty() ) { // es gibt keine Controls, die alle Bedingungen fuer eine Suche erfuellen ErrorBox(NULL, WB_OK, SVX_RESSTR(RID_STR_NODATACONTROLS)).Execute(); return; @@ -2571,7 +2571,7 @@ IMPL_LINK(FmXFormShell, OnSearchContextRequest, FmSearchContext*, pfmscContextIn strFieldList.EraseTrailingChars(';'); sFieldDisplayNames.EraseTrailingChars(';'); - if (!pfmscContextInfo->arrFields.size()) + if (pfmscContextInfo->arrFields.empty()) { pfmscContextInfo->arrFields.clear(); pfmscContextInfo->xCursor = NULL; @@ -3741,7 +3741,7 @@ void FmXFormShell::viewDeactivated( FmFormView& _rCurrentView, sal_Bool _bDeacti // move all events from our queue to a new one, omit the events for the deactivated // page ::std::queue< FmLoadAction > aNewEvents; - while ( m_aLoadingPages.size() ) + while ( !m_aLoadingPages.empty() ) { FmLoadAction aAction = m_aLoadingPages.front(); m_aLoadingPages.pop(); |