Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/2119

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/19/2119/1

fdo#60092: fix STL regression in SwInsertDBColAutoPilot::DataToDoc

(regression from f7d681dc34e60eb8532403079d007ca1250f4941)

Change-Id: Ida92854efe6ddffffb8fe10e5ef1f42c53747f40
(cherry picked from commit cbc722733bb272b0f26efec09b478bed9a3cdb96)
---
M sw/source/ui/dbui/dbinsdlg.cxx
1 file changed, 2 insertions(+), 2 deletions(-)



diff --git a/sw/source/ui/dbui/dbinsdlg.cxx b/sw/source/ui/dbui/dbinsdlg.cxx
index 617da5a..451cb66 100644
--- a/sw/source/ui/dbui/dbinsdlg.cxx
+++ b/sw/source/ui/dbui/dbinsdlg.cxx
@@ -1002,8 +1002,8 @@
         {
             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" );
             }

-- 
To view, visit https://gerrit.libreoffice.org/2119
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ida92854efe6ddffffb8fe10e5ef1f42c53747f40
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: libreoffice-4-0
Gerrit-Owner: Michael Stahl <mstahl@redhat.com>

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.