Noel Grandin
af5ebbf783
create a macro library for implementing bit-flags types
...
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>,
changed from a macro- to a template-based solution. (Unfortunately MSVC 2012
does not support explicit conversion operators. Worked around that with
explicit #ifs rather than some HAVE_EXPLICIT_CONVERSION_OPERATORS and
SAL_EXPLICIT_CONVERSION_OPERATOR ainticipating we hopefully soon move to a
baseline that requires unconditional support for them.)
Change-Id: I4a89643b218d247e8e4a861faba458ec6dfe1396
2014-10-13 17:45:57 +02:00
Caolán McNamara
1156d11ef0
coverity#1066164 Resource leak
...
Change-Id: I152f22728a8eeea65114fe102511940bccf40478
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-10-13 17:45:13 +02:00
Matthew J. Francis
e71b696ef6
Register flat file mime types on OS X
...
Change-Id: I505703b2f6890586e05e6c2146d9b37774f101d0
Reviewed-on: https://gerrit.libreoffice.org/11957
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
2014-10-13 15:22:34 +00:00
Robert Antoni Buj i Gelonch
d0be30e8ee
java: Collections.addAll for adding an array of elements to a Collection
...
Change-Id: I4689aa73e1e261c6461e04b9e814ffefa5817c09
Reviewed-on: https://gerrit.libreoffice.org/11953
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-13 15:18:56 +00:00
Robert Antoni Buj i Gelonch
f6388e15bf
java: import from the same package
...
Change-Id: I1bb0999783f365e20b682c3707e73c65724265c9
Reviewed-on: https://gerrit.libreoffice.org/11955
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-13 15:17:34 +00:00
Robert Antoni Buj i Gelonch
a667840368
reportbuilder: import from java.lang package
...
Change-Id: I039f7cf28dddede48627c3c624c87741ee9de0ed
Reviewed-on: https://gerrit.libreoffice.org/11956
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-13 15:16:35 +00:00
Jan Holesovsky
c862be0815
android: Dump my debugging notes to the readme's.
...
Change-Id: I8f91e73fe5df5dfef054df80d43be3c74d01388b
2014-10-13 16:53:58 +02:00
Caolán McNamara
17e68606b7
fdo#84872 give each SheetDataContext a new FormulaParser
...
Change-Id: I120a9d0943db38571892defe1b5d3169158e3e42
2014-10-13 12:18:03 +01:00
Laurent Godard
b1e9163b59
enhance perfcheck failing message
...
add the expected number
Change-Id: Ib068288f7efbfebc2705c6084dc34a651def1986
Reviewed-on: https://gerrit.libreoffice.org/11948
Reviewed-by: Matúš Kukan <matus.kukan@collabora.com>
Tested-by: Matúš Kukan <matus.kukan@collabora.com>
2014-10-13 10:46:08 +00:00
Stephan Bergmann
211ad259bb
fdo#82980: Cancel FmXFormView::OnStartControlWizard when breaking creation
...
The problem is that SdrCreateView::EndCreateObj (svx/source/svdraw/svdcrtv.cxx)
first calls FmFormObj::EndCreate (svx/source/form/fmobj.cxx) ->
FmXFormView::onCreatedFormObject (svx/source/form/fmvwimp.cxx) ->
Application::PostUserEvent( LINK( this, FmXFormView, OnStartControlWizard ) ),
and only then, upon bPntsEq, calls FmFormObj::BrkCreate
(svx/source/form/fmobj.cxx), which does not cancel the posted
OnStartControlWizard link.
The fix is apparently not perfect, though, as afterwards the text document goes
back to text input mode (cursor blinking, mouse pointer has I-beam shape) even
though the "List Box" icon is still selected.
Change-Id: I3137110a88885b04c8dde5377265b1dee91ed6ac
2014-10-13 12:09:09 +02:00
Tor Lillqvist
e52c070088
Quit after 100 rounds
...
Also, print the timing output to stdout, so that one can run the time
command on this, redirecting the program output to /dev/null, and just
see the 'time' output.
Change-Id: I4b2bfe7f0d37746fe0a015b961512850a880560c
2014-10-13 13:01:33 +03:00
Robert Antoni Buj i Gelonch
5233d9b8e5
runner: Object comparison
...
Change-Id: I41b245f20652187dc36b4639272d0ddbc602afda
Reviewed-on: https://gerrit.libreoffice.org/11921
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-13 09:35:04 +00:00
Chris Sherlock
f6d61562d4
vcl: Make ImplFontCharMap a pImpl and move functions to FontCharMap
...
To do this, I've made FontCharMap a friend class for ImplFontCharMap,
and have moved the functions directly into FontCharMap. In this patch,
I am attempting to stop the direct use of ImplFontCharMap by anything
other than FontCharMap. However, FontCharMap itself requires a
refcounter, so we will use FontCharMapPtr to access the font character
map.
Change-Id: I509b990a8cbd911c5cc1572c7d24fc5348ca06d9
Reviewed-on: https://gerrit.libreoffice.org/11823
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2014-10-13 09:19:04 +00:00
Tor Lillqvist
bb1d4f8c9a
Make the image continuously resize back and forth in both cases
...
Change-Id: Ia543e5355c8d6a7712bf6f10c989945ff830627d
2014-10-13 12:11:02 +03:00
Jan Holesovsky
02119a79c1
android: When debugging, the installLocation must be "internalOnly".
...
Otherwise the gdbserver ends up with
run-as: exec failed for /data/data/org.libreoffice/lib/gdbserver Error:Permission denied
(you need to run ndk-gdb with --verbose to see that).
Change-Id: Iccdf0ff268c20d2fb5abc1e93404375fa51c1cf1
2014-10-13 10:21:36 +02:00
David Tardon
1c8695ecf6
boost::rational throws if 0 is passed as denominator
...
Change-Id: I312fd6b964555b3b4aa4e22cec6054c9a83b2c52
2014-10-13 10:02:26 +02:00
Miklos Vajna
376dae8117
Avoid manual realloc, use comphelper::SequenceAsVector instead
...
Change-Id: I26c6bcf7361bbb787fcb4133d05b0a668fd72d01
2014-10-13 09:59:41 +02:00
Robert Antoni Buj i Gelonch
88bfc90de9
nlpsolver: ensure that the stream is cleaned up before the method returns
...
Change-Id: I081194d802bd835285bdc37fbef55f229f1185dc
Reviewed-on: https://gerrit.libreoffice.org/11940
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-13 06:56:56 +00:00
Robert Antoni Buj i Gelonch
e77235e87e
xmerge: ensure that the stream is cleaned up before the method returns
...
Change-Id: I377ae1a7b71c207313ad3468a51b1ab06b9fffd5
Reviewed-on: https://gerrit.libreoffice.org/11939
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-13 06:56:20 +00:00
Robert Antoni Buj i Gelonch
3c27e31628
accessibility: ensure that the stream is cleaned up before the method returns
...
Change-Id: Ib46d24be831b5c9bda0582bd7064f34528e1d609
Reviewed-on: https://gerrit.libreoffice.org/11938
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-13 06:55:53 +00:00
Noel Grandin
edb6783c14
convert SW_TAB #defines to enum
...
Change-Id: I8f2c63dc381416af1eb74794a1bbc3417eb272d6
Reviewed-on: https://gerrit.libreoffice.org/11936
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-13 06:54:23 +00:00
Jan Holesovsky
eadc132d5f
android: When rotating, we also need to update the viewport geometry.
...
Change-Id: I04502c56b1e1d16cf65cbeb47632c508ef9889d0
2014-10-13 07:14:27 +02:00
Noel Grandin
c967872d46
convert SW_MOVE constants to enum
...
Change-Id: I504862618bfeeeed674c1cb816104a167cb2e27e
Reviewed-on: https://gerrit.libreoffice.org/11935
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-12 16:43:49 +00:00
Robert Antoni Buj i Gelonch
ab06f67ee2
runner: code will never be executed
...
Change-Id: I0484a11b3511c1d7f70e9ae8407eb7d19bcc852d
Reviewed-on: https://gerrit.libreoffice.org/11929
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-12 15:50:28 +00:00
Robert Antoni Buj i Gelonch
881c030fc1
runner: Concatenating null strings in Java (JDK 1.5+)
...
JLS, Section 15.18.1.1:
If the reference is null, it is converted to the string "null".
http://docs.oracle.com/javase/specs/jls/se5.0/html/expressions.html#15.18.1.1
Change-Id: Idae09c02b24da38ec6f3475fd0af35ef48a2405b
Reviewed-on: https://gerrit.libreoffice.org/11930
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-12 15:48:44 +00:00
Robert Antoni Buj i Gelonch
d1c1c4e461
runner: remove import from same package
...
Change-Id: I4aeb7f58034f8808325639d07aa2dc55959d97a8
Reviewed-on: https://gerrit.libreoffice.org/11932
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-12 15:47:51 +00:00
Robert Antoni Buj i Gelonch
1610356e79
runner: remove import from java.lang Package
...
Change-Id: Iedad24dfbdd60a05a09888f699f2467960f5cbe9
Reviewed-on: https://gerrit.libreoffice.org/11933
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-12 15:47:20 +00:00
Robert Antoni Buj i Gelonch
268f4d179c
runner: 'static final' to declare constants when it isn't an interface
...
Change-Id: Iea1e672e5468b66fd1ba5389bd781f03d0c7f419
Reviewed-on: https://gerrit.libreoffice.org/11931
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-12 15:46:57 +00:00
Caolán McNamara
246cd66af2
coverity#706421 Uncaught exception
...
Change-Id: I91a6ac9d9bda0ea25f1f5385bbac71ea9d22d573
2014-10-12 16:39:56 +01:00
Caolán McNamara
e7d3f4b704
coverity#706404 Uncaught exception
...
Change-Id: I7717b61e89d95cb6d89bb273c22c0503b0853d96
2014-10-12 16:39:56 +01:00
Caolán McNamara
32db3f5dc4
coverity#706331 Uncaught exception
...
Change-Id: I48e11a07924418721d45fcac55bd5aeb68f115a3
2014-10-12 16:39:55 +01:00
Caolán McNamara
aeac20e7bd
coverity#706478 Uncaught exception
...
Change-Id: Ie37ebac80afb3e52668ae6ebeeb61eaddc892ef6
2014-10-12 16:39:55 +01:00
Caolán McNamara
92a65bd466
coverity#706476 Uncaught exception
...
Change-Id: I1461c99fccb57ccf5375e372e50948b0b355d4bb
2014-10-12 16:39:55 +01:00
Caolán McNamara
f2747a0354
coverity#706477 Uncaught exception
...
Change-Id: If44507458f8473d6fede3e430e69620f8fb1d698
2014-10-12 16:39:55 +01:00
Caolán McNamara
b8c9366803
coverity#735337 Unchecked return value
...
Change-Id: Ib1f27e51934d7deb4f30d74409554dfeb14928ff
2014-10-12 16:39:54 +01:00
Caolán McNamara
1119e4a98c
coverity#735334 Unchecked return value
...
Change-Id: I8023e8c11e76def505568125703f30531161dfa7
2014-10-12 16:39:54 +01:00
Caolán McNamara
63fa3ba80e
coverity#735322 Unchecked return value
...
Change-Id: I12f9392813f5fdd6f2d36398ea00a5cad812cd26
2014-10-12 16:39:53 +01:00
Caolán McNamara
68bb74ddab
coverity#735321 Unchecked return value
...
Change-Id: I3733471b72e96c8d020b8b5238fdb5fc4bfcacce
2014-10-12 16:39:53 +01:00
Caolán McNamara
7ec1643c9f
coverity#1226478 Unchecked return value
...
Change-Id: Idcd3f35d1b5f097e61963083f11712e4ab87bdaa
2014-10-12 16:39:53 +01:00
Caolán McNamara
34de4f3e1c
coverity#1130166 Unchecked return value
...
Change-Id: I0730a099463ac77afce4bb999f3f00ad7bb097c7
2014-10-12 16:39:52 +01:00
Caolán McNamara
06210e5ded
coverity#1078484 Unchecked return value
...
Change-Id: Ia9ce3d94aa5b825e0b7ba28240f00733332e606c
2014-10-12 16:39:52 +01:00
Miklos Vajna
22f92b8606
Remove dead code
...
Only doctok produced these tokens, so no need to handle them anymore.
Change-Id: Ied7df2515ac86562dd5ce782a1f01158fe3f684e
2014-10-12 16:26:02 +02:00
Miklos Vajna
b92cfa8829
Clean up now unnecessary boost::bind() magic in RTFSdrImport::initShape()
...
Change-Id: Ie373098959f8b3e04fe955a08031a4221faab3cc
2014-10-12 16:26:02 +02:00
Miklos Vajna
f99ebf4681
RTF filter: fix \acc* handling
...
The exporter didn't write circle and underdot at all.
Change-Id: Ia8f45f2b03fb14e9a0027ec24ee7f36adc8c018d
2014-10-12 16:26:01 +02:00
Miklos Vajna
997ce52eb7
DOCX filter: fix <w:em> handling
...
The real news here is that "comma" and "dot" was swapped on export, the
rest is just a fixup of recent breakage.
Change-Id: I54045f5837652dc38a30361e21ced25aeaf58257
2014-10-12 16:26:01 +02:00
Kohei Yoshida
352958b7c6
fdo#83901: Write a test for this.
...
Change-Id: If805ba07baa36cbf94ee22f77f98ef4057d8b306
2014-10-12 10:21:06 -04:00
Kohei Yoshida
0b29a16d1d
fdo#83901: ROW() and COLUMN() to be properly recalculated on cell move.
...
For cases where ROW or COLUMN references another cell that has shifted.
Change-Id: Ic4bef8672dab811ceff6886d9af0388306a66485
2014-10-12 10:21:00 -04:00
Adolfo Jayme Barrientos
bf8876bb7e
Remove a GtkFrame and its redundant label
...
It’s more than obvious that these are “Options”.
Change-Id: I192a1864bc43b3e20e98e179282dac02abbdbbf4
Reviewed-on: https://gerrit.libreoffice.org/11925
Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2014-10-12 13:42:54 +00:00
Samuel Mehrbrodt
4d7806f73b
Wording: 'Audio/Video' -> 'Audio or Video'
...
Change-Id: I9572d4c7fb5f50b869e69436302ac8c20e500392
2014-10-12 15:30:16 +02:00
Julien Nabet
4c12951a03
Typo: compatability->compatibility
...
Change-Id: If0b98a30452a9d1fcc340173deb6856755926471
2014-10-12 13:00:46 +02:00