ooo-build r14405 - in trunk: . patches/dev300



Author: thorstenb
Date: Thu Oct 23 12:03:43 2008
New Revision: 14405
URL: http://svn.gnome.org/viewvc/ooo-build?rev=14405&view=rev

Log:
    * patches/dev300/svg-import-filter.diff: added workaround for old
    boost & Windows



Modified:
   trunk/ChangeLog
   trunk/patches/dev300/svg-import-filter.diff

Modified: trunk/patches/dev300/svg-import-filter.diff
==============================================================================
--- trunk/patches/dev300/svg-import-filter.diff	(original)
+++ trunk/patches/dev300/svg-import-filter.diff	Thu Oct 23 12:03:43 2008
@@ -1458,7 +1458,7 @@
 index 0000000..3a40e14
 --- /dev/null
 +++ filter/source/svg/spirit_supplements.hxx
-@@ -0,0 +1,94 @@
+@@ -0,0 +1,115 @@
 +/*************************************************************************
 + *
 + *    OpenOffice.org - a multi-platform office productivity suite
@@ -1482,6 +1482,27 @@
 +
 +namespace boost { namespace spirit
 +{
++    template <>
++    class assign_actor< std::pair<const char*,const char*> >
++    {
++    public:
++        explicit assign_actor(std::pair<const char*,const char*>& ref_)
++            : ref(ref_) {}
++
++        template <typename T2>
++        void operator()(T2 const& val) const
++        { ref = val; }
++        
++        template <typename IteratorT>
++        void operator()(IteratorT const& f, IteratorT const& l) const
++        { 
++            ref.first = f, ref.second = l;
++        }
++
++    private:
++        std::pair<const char*,const char*>& ref;
++    };
++
 +    template<typename Target, typename Value> struct assigner
 +    {
 +        assigner( Target& rTarget, Value aValue ) : 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]