summaryrefslogtreecommitdiff
path: root/svx/source
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2006-11-22 09:34:31 +0000
committerVladimir Glazounov <vg@openoffice.org>2006-11-22 09:34:31 +0000
commitb2e7c13a2d7fba7d24062765686702efd9b2025f (patch)
tree2da01531c9a4cd0bc55654b524e2f45b85b67ea9 /svx/source
parent49a2628bd8e625df0fd42cc380fa9f85faa87af1 (diff)
INTEGRATION: CWS hr33 (1.3.362); FILE MERGED
2006/11/03 19:48:28 hr 1.3.362.2: RESYNC: (1.3-1.5); FILE MERGED 2006/05/02 14:03:17 hr 1.3.362.1: #i52977#: ::std::swap() triggers diagnostic with GCC 3.4.x and --with-system-stl configuration, swap manually
Diffstat (limited to 'svx/source')
-rw-r--r--svx/source/accessibility/AccessibleEmptyEditSource.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/svx/source/accessibility/AccessibleEmptyEditSource.cxx b/svx/source/accessibility/AccessibleEmptyEditSource.cxx
index 1190d3934513..f74f80a72982 100644
--- a/svx/source/accessibility/AccessibleEmptyEditSource.cxx
+++ b/svx/source/accessibility/AccessibleEmptyEditSource.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: AccessibleEmptyEditSource.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: obo $ $Date: 2006-09-17 04:00:17 $
+ * last change: $Author: vg $ $Date: 2006-11-22 10:34:31 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -292,7 +292,9 @@ namespace accessibility
EndListening( *mrObj.GetModel() );
::std::auto_ptr< SvxEditSource > pProxySource( new AccessibleProxyEditSource_Impl(mrObj, mrView, mrViewWindow) );
- ::std::swap(pProxySource, mpEditSource);
+ ::std::auto_ptr< SvxEditSource > tmp = mpEditSource;
+ mpEditSource = pProxySource;
+ pProxySource = tmp;
// register as listener
StartListening( mpEditSource->GetBroadcaster() );