summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-02-12 14:48:56 +0100
committerMichael Stahl <mstahl@redhat.com>2013-02-12 15:03:40 +0100
commitcbc722733bb272b0f26efec09b478bed9a3cdb96 (patch)
treeb93246e6c024a48637800a592313bcef98f3a598
parent2ce2fafa1b19f3eaad89ec57ac312ce2f33fbf20 (diff)
fdo#60092: fix STL regression in SwInsertDBColAutoPilot::DataToDoc
(regression from f7d681dc34e60eb8532403079d007ca1250f4941) Change-Id: Ida92854efe6ddffffb8fe10e5ef1f42c53747f40
-rw-r--r--sw/source/ui/dbui/dbinsdlg.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/dbui/dbinsdlg.cxx b/sw/source/ui/dbui/dbinsdlg.cxx
index dba017353898..a5f6db6705cc 100644
--- a/sw/source/ui/dbui/dbinsdlg.cxx
+++ b/sw/source/ui/dbui/dbinsdlg.cxx
@@ -1002,8 +1002,8 @@ void SwInsertDBColAutoPilot::DataToDoc( const Sequence<Any>& rSelection,
{
SwInsDBColumn aSrch( aLbTableCol.GetEntry( n ), 0 );
SwInsDBColumns::const_iterator it = aDBColumns.find( &aSrch );
- if( it != aDBColumns.end() )
- aColFlds[ n ] = *it;
+ if (it != aDBColumns.end())
+ aColFlds.push_back(*it);
else {
OSL_ENSURE( !this, "database column not found" );
}