openoffice-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From h..@apache.org
Subject svn commit: r1468385 - /openoffice/trunk/main/desktop/source/pkgchk/unopkg/unopkg_app.cxx
Date Tue, 16 Apr 2013 12:06:05 GMT
Author: hdu
Date: Tue Apr 16 12:06:04 2013
New Revision: 1468385

URL: http://svn.apache.org/r1468385
Log:
allow unusual fill_n specialization for bitvectors

Work around libc++'s specialization for fill_n() not returning the matching OutputIterator.

Modified:
    openoffice/trunk/main/desktop/source/pkgchk/unopkg/unopkg_app.cxx

Modified: openoffice/trunk/main/desktop/source/pkgchk/unopkg/unopkg_app.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/desktop/source/pkgchk/unopkg/unopkg_app.cxx?rev=1468385&r1=1468384&r2=1468385&view=diff
==============================================================================
--- openoffice/trunk/main/desktop/source/pkgchk/unopkg/unopkg_app.cxx (original)
+++ openoffice/trunk/main/desktop/source/pkgchk/unopkg/unopkg_app.cxx Tue Apr 16 12:06:04
2013
@@ -513,9 +513,8 @@ extern "C" int unopkg_main()
                 //Now prepare the vector which tells what extension has an
                 //unaccepted license
                 vecUnaccepted.resize(vecExtUnaccepted.size() + vec_packages.size());
-                ::std::vector<bool>::iterator i_unaccepted =
-                      ::std::fill_n(vecUnaccepted.begin(),
-                                    vecExtUnaccepted.size(), true);
+                ::std::fill_n( vecUnaccepted.begin(), vecExtUnaccepted.size(), true);
+                std::vector<bool>::iterator i_unaccepted = vecUnaccepted.begin() +
vecExtUnaccepted.size();
                 ::std::fill_n(i_unaccepted, vec_packages.size(), false);
                 
                 dp_misc::writeConsole(



Mime
View raw message