diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-03-13 10:32:14 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-03-14 07:57:18 +0200 |
commit | 8578aabbc45ce3601fc0cfca89d8914c2e2632d3 (patch) | |
tree | dfbf267bb369285c482277f04881520e8a0fd5fd /extensions | |
parent | sfx2: sal_Bool->bool (diff) | |
download | core-8578aabbc45ce3601fc0cfca89d8914c2e2632d3.tar.gz core-8578aabbc45ce3601fc0cfca89d8914c2e2632d3.zip |
"prefix" and "postfix" are single words
Change-Id: I32824c614d070cd4649e18da4a0b91b03bccfaba
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/abpilot/datasourcehandling.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/extensions/source/abpilot/datasourcehandling.cxx b/extensions/source/abpilot/datasourcehandling.cxx index 5c5cfe964788..06f743aa81ee 100644 --- a/extensions/source/abpilot/datasourcehandling.cxx +++ b/extensions/source/abpilot/datasourcehandling.cxx @@ -215,11 +215,11 @@ namespace abp OUString sCheck( _rDataSourceName ); StringBag::const_iterator aPos = m_pImpl->aDataSourceNames.find( sCheck ); - sal_Int32 nPostFix = 1; - while ( ( m_pImpl->aDataSourceNames.end() != aPos ) && ( nPostFix < 65535 ) ) + sal_Int32 nPostfix = 1; + while ( ( m_pImpl->aDataSourceNames.end() != aPos ) && ( nPostfix < 65535 ) ) { // there already is a data source with this name sCheck = _rDataSourceName; - sCheck += OUString::number( nPostFix++ ); + sCheck += OUString::number( nPostfix++ ); aPos = m_pImpl->aDataSourceNames.find( sCheck ); } |