summaryrefslogtreecommitdiff
path: root/sw/source/ui/uno/unoatxt.cxx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2003-04-17 14:53:27 +0000
committerVladimir Glazounov <vg@openoffice.org>2003-04-17 14:53:27 +0000
commita9dbed32ed92df2fe554c18b0fc5a9a9a9b77d30 (patch)
treec05753c440bac89bdbaa61a6285b3f21f746c9d3 /sw/source/ui/uno/unoatxt.cxx
parentb1ef867c14c7da498638f42e486a1da21a713864 (diff)
INTEGRATION: CWS os8 (1.17.8.1.58); FILE MERGED
2003/04/08 11:11:27 os 1.17.8.1.58.3: #108651# crash due to wrong iterator fixed 2003/04/07 21:17:16 os 1.17.8.1.58.2: RESYNC: (1.17.8.1-1.21); FILE MERGED 2003/04/03 07:15:39 os 1.17.8.1.58.1: #108583# precompiled headers removed
Diffstat (limited to 'sw/source/ui/uno/unoatxt.cxx')
-rw-r--r--sw/source/ui/uno/unoatxt.cxx13
1 files changed, 4 insertions, 9 deletions
diff --git a/sw/source/ui/uno/unoatxt.cxx b/sw/source/ui/uno/unoatxt.cxx
index 82a701c588c4..f2ff11bd6bda 100644
--- a/sw/source/ui/uno/unoatxt.cxx
+++ b/sw/source/ui/uno/unoatxt.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: unoatxt.cxx,v $
*
- * $Revision: 1.21 $
+ * $Revision: 1.22 $
*
- * last change: $Author: obo $ $Date: 2003-04-02 16:42:30 $
+ * last change: $Author: vg $ $Date: 2003-04-17 15:53:27 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -59,9 +59,6 @@
*
************************************************************************/
-#ifdef PRECOMPILED
-#include "ui_pch.hxx"
-#endif
#pragma hdrstop
@@ -1516,8 +1513,7 @@ Reference< text::XAutoTextGroup > SwGlossaries::GetAutoTextGroup( const ::rtl::O
// look up the group in the cache
UnoAutoTextGroups::iterator aSearch = aGlossaryGroups.begin();
- UnoAutoTextGroups::iterator aSearchEnd = aGlossaryGroups.end();
- for ( ; aSearch != aSearchEnd; )
+ for ( ; aSearch != aGlossaryGroups.end(); )
{
Reference< lang::XUnoTunnel > xGroupTunnel( aSearch->get(), UNO_QUERY );
@@ -1586,8 +1582,7 @@ Reference< text::XAutoTextEntry > SwGlossaries::GetAutoTextEntry( const String&
String sEntryName( _rEntryName );
UnoAutoTextEntries::iterator aSearch( aGlossaryEntries.begin() );
- UnoAutoTextEntries::iterator aSearchEnd( aGlossaryEntries.end() );
- for ( ; aSearch != aSearchEnd; )
+ for ( ; aSearch != aGlossaryEntries.end(); )
{
Reference< lang::XUnoTunnel > xEntryTunnel( aSearch->get(), UNO_QUERY );