The >>operator of SvStream doesn't initialize a variable if the stream
is faulty. So initialize the variables before usage. Also delete the
SvStream even if it was faulty.
Change-Id: I5a7f31016e060c3b9fb4f0fd1889f444877cb89d
Reviewed-on: https://gerrit.libreoffice.org/4031
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
both branches are the same and the set/get aren't
called anyway.
originally introduced with d02f75a8c3
Change-Id: I94399bba0fa259bfafcc214e2df15f172d32374f
Reported by: Li Feng Wang
Patch by: Jianyuan Li
Review by: Andre Fischer
(cherry picked from commit 57fdcdd79d1682ee7d5e88fbab3803631496afa2)
Conflicts:
filter/inc/filter/msfilter/svdfppt.hxx
filter/source/msfilter/svdfppt.cxx
Change-Id: I6adae6d40ff106caeea2b9310a57228257d79404
Related: #i119874# Missing part of patch.
Patch by: Jianyuan Li
(cherry picked from commit a7dc3e8b82c87b138c973f1434717d634ed8dc67)
Change-Id: Icff3e1167ab780612ad47775aaa39c9baa99c70f
Sinc(x) is a simple function used in communications. boost
happens to use it for quaternion math. The implementation is
simple, however it looks fun to re-use the boost function
even if just to say we are using quaternion math somewhere ;).
The performance difference is not likely to be huge but JIC,
set up a specific Boost math policy to limit type promotion
with it's corresponding impact.
(cherry picked from commit d1f61b3f3564ca5421a13b77e4c7c78bb409e9e1)
Conflicts:
vcl/inc/vcl/bitmap.hxx
Change-Id: I5f01db1688eedee25a2943ca3aa6e957b400c759
because there are now a bunch of unrelated to java things in there in its new
incarnation as the "advanced" tabpage
this removes the weird empty tabpage in options
in the java-disabled-at-build-time configuration
Change-Id: Ie59d8362d440c41e746b67a0195e4159848f162a
to make the Writer accept column headers dragged from database tables.
(cherry picked from commit a32aabba57b53f581691f60e5484a6ddf3deb9f2)
Change-Id: I63d41c8000cdfc7f0b2ca28e83aaedf2e822e64d
The standard Boost convention is for them to be called libboost_date_time and
libboost_system (with apropriate suffix then depending on type).
Did not touch the libboostthread library we build for Windows.
Add the ax_boost_thread.m4 file for completeness and possible use.
Document where the ax_boost*.m4 files come from.
Change-Id: Ib49bee71398d62c9760a1f8fd5c46be9f3400430
There are two problems:
1) The classes derived from SdrObject cache their SvxShape, but do not
implement impl_setUnoShape().
2) There is a lifetime issue in association of a SdrObject and its
SvxShape. SvxDrawPage::CreateSdrObject not only creates a new SdrObject
for a shape, but also inserts it into the page. At this point, the shape
has not been attached to the object yet. That means that the object
creates another shape at one point during the InsertObject call,
which is then destroyed again. But reportdesign shapes own their
objects, which means that destuction of the shape causes destruction
of the object too...
My first idea was to disable the insertion in
SvxDrawPage::CreateSdrObject, but it has been there since the dawn of
time, so I did not gather the courage to do that. Instead, I put in a
hack to allow to skip the insertion.
Change-Id: I888a54067be1934578434d8b476a13a7ff8d02b3
This change reorganizes the styles by column ( and by row ranges in that column )
so we can apply ScAttrEntry entries directly via Document.SetAttrEntries(...) this is
what the binary filter does also.
Change-Id: Ice1130d7afccf0be77db24a12f2515eca9c88713
The library names used in these pragmas dont match what we build
anyway. Whether that should be fixed to conform with "normal" Boost
usage or not, don't know.
Change-Id: I37cb3ff7b340f3362dd7b0fb18ab22188ba54cf6
MSVC generates the warning "user defined binary operator ',' exists
but no overload could convert all operands, default built-in binary
operator ',' used" when iterators from newer Boost are combined with
comma expressions, as in for() statements. Or something like that.
Change-Id: I3225d07ad0d1e05f4deeb784cf2ec081748b1ab4