Commit Graph

380866 Commits

Author SHA1 Message Date
Noel Grandin
e6534a6099 com::sun::star->css in embeddedobj/
Change-Id: Ia04fc28ce8e1d70f86520edf2df8c98f7b455465
Reviewed-on: https://gerrit.libreoffice.org/19024
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-01 08:03:29 +00:00
Noel Grandin
6a93b970c5 com::sun::star->css in embedserv/
Change-Id: Iaf1e30ae7dc9710a16a031ea623d531e9e65a6a5
Reviewed-on: https://gerrit.libreoffice.org/19025
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-01 08:01:49 +00:00
Stephan Bergmann
7756a9581d Don't let old Clang using -std=c++11 mis-detect HAVE_CXX14_CONSTEXPR
...where an assert in a constexpr function merely triggers a -Wc++1y-extensions
(so doesn't stop configure from assuming HAVE_CXX14_CONSTEXPR, but will later
break with --enable-werror when building include/o3tl/typed_flags_set.hxx).  So
stuff back the complex constexpr test function that was swapped out with
6cc5491307 "Work around GCC 5.1 ICE."

Change-Id: I04ba1dc08d96f776b331fa9d0cae1703f2796532
2015-10-01 09:42:57 +02:00
Daniel Robertson
ebfc6b6863 vcl: Fix possible memory leak in OpenGLSalBitmap
Fix possible memory leak in OpenGLSalBitmap::CreateTexture

Change-Id: Ic2d259569a5e89f60af7065b9d66ef03f82f90e7
Reviewed-on: https://gerrit.libreoffice.org/19049
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-01 07:36:51 +00:00
Noel Grandin
e209d115d4 remove old standalone Sun bug numbers
Sun bug numbers without any accompanying text are completely useless.

Fixed with
   git grep -lP '//\s*#\d+#\s*$'
       | xargs perl -i -ne'/\/\/\s*#\d+#\s*$/d or print'
And then hand-checking the result to restore places where it deleted code.
And then some more grepping and hand-editing to kill the others.

Change-Id: Ia96ce4466db8bb8da363ebf41f0ae7f45f28bf29
Reviewed-on: https://gerrit.libreoffice.org/19023
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-01 06:57:19 +00:00
Miklos Vajna
8e27c68847 basebmp: these headers are not used from other modules
Change-Id: I88c5c341b88a6ea62730e5d3dd1962365c531f70
2015-10-01 08:31:46 +02:00
Markus Mohrhard
6e8e898acb Revert "by default use the system memory allocator"
It seems that even on Linux the system allocator is worse than our
internal allocator. e.g:
http://perf.libreoffice.org/perf_html/chitest_of_cppu_sc_on_vm139.details.html

This reverts commit 006d30b1a2.
2015-10-01 07:38:47 +02:00
László Németh
4f1dca5083 tdf#92702 Unable to select menu items that were initially off-screen
Revert "Last item of menu with title cannot be hilighted"

This reverts commit 8ced97caa4.
2015-09-30 22:30:51 +02:00
Michael Stahl
592b43acb6 bridges: fix build with --enable-assert-always-abort
Change-Id: I6079481046ca3f7d66975d41fccc15b862a3223b
2015-09-30 21:16:21 +02:00
Caolán McNamara
358ca9eaa3 don't believe xls wrt size to reserve
Change-Id: Id9864f199e270d13d801348b12f1e94dd80558c7
2015-09-30 19:37:33 +01:00
Caolán McNamara
ac9e7af60b add xls support to fftester
Change-Id: I23e219cec1a8d98e02c3584041f67ff42dd29bd8
2015-09-30 19:37:32 +01:00
Caolán McNamara
9e481f6036 cppcheck: uninitMemberVar
Change-Id: I8409a6f00803e357a20b53fd59d77f155e057753
2015-09-30 19:37:32 +01:00
Caolán McNamara
80c4130367 titchy typo ScImportExcel->ScExportExcel
Change-Id: I05624acbdf4695ef652e619662996ac41afed410
2015-09-30 19:37:32 +01:00
Michael Stahl
5efad73918 vcl: clean up before error returns in OpenGLContext::ImplInit()
JunitTest_chart_unoapi fails here with "assert(!hasCurrent())" because
the initialization apparently fails due to lack of a
wglCreateContextAttribsARB in the VM, so ensure that the hTempRC is not
active and also deleted in all cases.

Change-Id: I7e03b95d1146af48a24e34692c3c2827298fccee
2015-09-30 18:28:22 +02:00
Stephan Bergmann
08ba2b2886 Blind fix for cross compilation
Change-Id: I3b44f153f66dfc8cbd95c23e5456ffad8df46949
2015-09-30 16:43:02 +02:00
Stephan Bergmann
8217c99f6e Mention the relevant GCC bug ID
Change-Id: I3edd39ce3180383c5274380896a0b3884bd08998
2015-09-30 16:25:12 +02:00
Michael Stahl
37d243651b vcl: even in the newfangled OpenGL world, initializing members is ...
... still a good idea.

Change-Id: Iecbc9dc8481b0ccc85f1fb82d9e9884bdba61b28
2015-09-30 16:13:53 +02:00
Stephan Bergmann
6cc5491307 Work around GCC 5.1 ICE
in constexpr expansion of ‘operator|<ImplFontAttrs>((ImplFontAttrs)33554432u,
   (ImplFontAttrs)16777216u ...

in unotools/source/config/fontcfg.cxx, at least with "g++ (GCC) 5.1.1 20150618
(Red Hat 5.1.1-4)"

Change-Id: I715e92d524ceaffdd2f0e73a39d1c816ee8f1644
2015-09-30 15:56:26 +02:00
Andrea Gelmini
a18fc918d5 Fix typos
Change-Id: I051caee9ec6181074201ac4a8cb6fcec4fdf2293
Reviewed-on: https://gerrit.libreoffice.org/18951
Reviewed-by: Oliver Specht <oliver.specht@cib.de>
Tested-by: Oliver Specht <oliver.specht@cib.de>
2015-09-30 13:50:06 +00:00
Andrea Gelmini
1f03430e3d Fix typos
Change-Id: I8450ed77094094b19d77a0ffa37fe9fbaa889fa3
Reviewed-on: https://gerrit.libreoffice.org/18969
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-09-30 13:46:23 +00:00
Andrea Gelmini
3f6da86e9f Fix typos
Change-Id: I13c3dc33722f139582f27412d5d336264d3d15a3
Reviewed-on: https://gerrit.libreoffice.org/18942
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-09-30 13:05:20 +00:00
Andrea Gelmini
a50539e2aa Fix typos
Change-Id: Iab78219aff60a7a45a319a96f326e27a6e8e25b8
Reviewed-on: https://gerrit.libreoffice.org/18953
Reviewed-by: Oliver Specht <oliver.specht@cib.de>
Tested-by: Oliver Specht <oliver.specht@cib.de>
2015-09-30 12:41:09 +00:00
Andrea Gelmini
eab0904f0e Fix typos
Change-Id: I81f6f356c1a6873fcc9a3bde487127b673fa9a61
Reviewed-on: https://gerrit.libreoffice.org/18952
Reviewed-by: Oliver Specht <oliver.specht@cib.de>
Tested-by: Oliver Specht <oliver.specht@cib.de>
2015-09-30 12:39:01 +00:00
Andrea Gelmini
f891d8cf6b Fix typos
Change-Id: I9dbe1e05cf73af20c25392e639a807854e87fc6e
Reviewed-on: https://gerrit.libreoffice.org/18946
Reviewed-by: Oliver Specht <oliver.specht@cib.de>
Tested-by: Oliver Specht <oliver.specht@cib.de>
2015-09-30 12:38:37 +00:00
Andrea Gelmini
ae13a6819e Fix typos
Change-Id: Id66432ef80fc2963fd2cbc6fad5d8e135e8975b0
Reviewed-on: https://gerrit.libreoffice.org/18956
Reviewed-by: Oliver Specht <oliver.specht@cib.de>
Tested-by: Oliver Specht <oliver.specht@cib.de>
2015-09-30 12:38:23 +00:00
Andrea Gelmini
d344d2b1f5 Fix typos
Change-Id: I6dfb5fb468c1305a8f248bf5788c5760135fd835
Reviewed-on: https://gerrit.libreoffice.org/18955
Reviewed-by: Oliver Specht <oliver.specht@cib.de>
Tested-by: Oliver Specht <oliver.specht@cib.de>
2015-09-30 12:38:10 +00:00
Andrea Gelmini
b3ebda451f Fix typos
Change-Id: Ia8b2176a439742769e61fb6a981000f316033071
Reviewed-on: https://gerrit.libreoffice.org/18954
Reviewed-by: Oliver Specht <oliver.specht@cib.de>
Tested-by: Oliver Specht <oliver.specht@cib.de>
2015-09-30 12:36:37 +00:00
Caolán McNamara
ed25a000ab implement save slide background for impress
to go along with the existing "set background",
same sort of thing as the competitor's effort

Change-Id: I2a1106771ead2cd926f3d631850447499340697c
2015-09-30 13:35:44 +01:00
Caolán McNamara
739094745e drop unused headers
Change-Id: If28362f97b36e378c426c3747beaddce6933b771
2015-09-30 13:35:43 +01:00
Caolán McNamara
66343a8aeb shared_array->unique_ptr<[]>
where we don't need to share the data

Change-Id: I0edc9d62186d96095ee67e3c93f5cf186dffcb71
2015-09-30 13:35:43 +01:00
Caolán McNamara
78c83032b2 maSvgDataArray only populates a uno::Sequence, so use that instead
Change-Id: I335d5ee70e95e1a3b204d34f6df4cb62f3fb3cad
2015-09-30 13:35:43 +01:00
Andrea Gelmini
00d2eeebc8 Fix typos
Change-Id: Iaa9dd3f02f21947742643349d3b878126017477d
Reviewed-on: https://gerrit.libreoffice.org/18947
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-09-30 12:25:15 +00:00
Julien Nabet
5e26444005 Prefer getSelectedFiles to getFiles
Anyway, add extension dialog allows to select only 1 file.
So getFiles and getSelectedFiles both return a 1 cell array which contain the full path of the file.

See http://nabble.documentfoundation.org/Multiselection-needs-work-tt4153207.html

Change-Id: I475ea519648d075b482a07d23b15af2ddb8f4637
Reviewed-on: https://gerrit.libreoffice.org/18711
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2015-09-30 12:13:21 +00:00
Julien Nabet
652158c3f2 tdf#94173: Calc doesn't save your own created autoformat presets
Auformat list (maData) is defined as "MapType" which itself is defined like this:
boost::ptr_map<OUString, ScAutoFormatData>
so default sorting is ascii

2 consequences:
1) Default didn't appear first
2) When adding a new autoformat entry when it was new first one of the list
wasn't saved because of iterator was incremented first before looping
See https://bugs.documentfoundation.org/show_bug.cgi?id=94173#c5
There were some other weird behaviors too according to comments of the bugtracker

Regression from http://cgit.freedesktop.org/libreoffice/core/commit/?id=72c1b6141d590fb4479925ed8bc88b79357c2bfc

Solution:
Add a Compare so Default entry is always first one so the first time incremented iterator is ok and
new entry (even if new first one in list) is saved

Thank you Markus for the idea! (I was lost in Compare syntax)

Change-Id: I9ba0cdc63c66b747db102bb661cd09fbfe5996ae
Reviewed-on: https://gerrit.libreoffice.org/18598
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2015-09-30 12:11:35 +00:00
Tor Lillqvist
8727afe771 Probably good to move the more complicates test after the light-weight ones
We will return false if any of the tests here match, so good to test
the trivial things first before ones involving a potentially complex
function call.

Change-Id: I531282041c888799d37d95ae773daa349e60a37d
2015-09-30 14:51:33 +03:00
Andrea Gelmini
cf2921ccae Fix typos
Change-Id: Iad3a3d77c5d4412a5c0e0b6adcb9bff3389f863c
Reviewed-on: https://gerrit.libreoffice.org/18983
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-30 11:44:19 +00:00
Stephan Bergmann
e261881452 Avoid unhelpful -Wunused-variable
...at least from "g++ (GCC) 5.1.1 20150618 (Red Hat 5.1.1-4)" with
--disable-debug, when a namespace-scope const variable with a "complex"
initializer declared in an include file remains unused.

Avoid that warning via SAL_CONSTEXPR, which in turn requires large parts of
o3tl::is_typed_flags to be SAL_CONSTEXPR, which in turn requires a new
HAVE_CXX14_CONSTEXPR to allow assert in constexpr functions, which in turn
requires using -std=c++14 instead of -std=c++11 where available, which in turn
(a) requires to /not/ use -std=c++14 if it would run into a bug between Clang
and libstdc++ discussed at <https://llvm.org/bugs/show_bug.cgi?id=24115>
"llvm-nm fails to build with gcc 5.1's libstdc++" (and which hits us in
sfx2/source/control/thumbnailview.cxx), and (b) requires a new
HAVE_CXX14_SIZED_DEALLOCATION to work around GCC 5.1 -Werror=sized-deallocation
(where Clang >= 3.7 only supports C++14 sized deallocation when explictly
enabled via -fsized-deallocation, btw).

This effectively reverts ff6462e630 "avoid unused
variable warning:" again.

Change-Id: I424e3561452a3e6d8c8a9604d6c737cab49840c4
Reviewed-on: https://gerrit.libreoffice.org/18918
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
2015-09-30 11:06:14 +00:00
Andrea Gelmini
638b6d7e0b Fix typos
Change-Id: I8e9c6c72c89411d8de04e5edd9317cd54f7c472a
Reviewed-on: https://gerrit.libreoffice.org/18958
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-09-30 11:03:34 +00:00
Andrea Gelmini
9956b99e68 Fix typos
Change-Id: I44bdb63bef76e9686e995661a24a3bef7cd50ab7
Reviewed-on: https://gerrit.libreoffice.org/18959
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-09-30 11:03:11 +00:00
Andrea Gelmini
3764f7435e Fix typos
Change-Id: Id27f5a357c1333dec5c24c4f5e0fdaed7a775774
Reviewed-on: https://gerrit.libreoffice.org/18963
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-09-30 10:59:35 +00:00
Andrea Gelmini
6d623c9ebc Fix typos
Change-Id: Ibe0a436f38da760267d9b33893e3c2e8fef2f1d5
Reviewed-on: https://gerrit.libreoffice.org/18964
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-09-30 10:58:04 +00:00
Andrea Gelmini
8e4388f6dc Fix typos
Change-Id: I42c0ab2012553e11f8c1372103488ba1d291d5a9
Reviewed-on: https://gerrit.libreoffice.org/18965
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-09-30 10:52:13 +00:00
Andrea Gelmini
7319f5facc Fix typos
Change-Id: Ic3d2171521e308261c354d8f699b44b26c95f1ea
Reviewed-on: https://gerrit.libreoffice.org/18978
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-09-30 10:45:48 +00:00
Andrea Gelmini
82f0a4f930 Fix typos
Change-Id: I3926eca56ac9f54f9ddbf88610888ce97cf00b34
Reviewed-on: https://gerrit.libreoffice.org/18990
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-30 10:41:48 +00:00
Andrea Gelmini
835d7774e7 Fix typos
Change-Id: I2cf36eb80068adcf57238a286f09bdc96b4e01f8
Reviewed-on: https://gerrit.libreoffice.org/18994
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-30 10:39:51 +00:00
Andrea Gelmini
f45ac62a20 Fix typos
Change-Id: I89ff6d31662824d83961d6457b82db8d8031168c
Reviewed-on: https://gerrit.libreoffice.org/18977
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-09-30 10:34:17 +00:00
Andrea Gelmini
e90848edfd Fix typos
Change-Id: Ib96bf8adc3f94fa0b8b306d2a609dd2eea940dd1
Reviewed-on: https://gerrit.libreoffice.org/18974
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-09-30 10:21:25 +00:00
Andrea Gelmini
5566a469c8 Fix typos
Change-Id: Ic205d774251cd5657cc5ba66ab548935aeaf1eb5
Reviewed-on: https://gerrit.libreoffice.org/18973
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-09-30 10:18:52 +00:00
Bryan Quigley
3de49e44c5 Update apparmor profiles for 5.0/5.1
Java's position was moved.  Add workaround instructions
to use with debs built upstream (not ubuntu/debian version)

Change-Id: Ia42426aabbcfabb2ca46d811d8b742e23b33d4b6
Reviewed-on: https://gerrit.libreoffice.org/18999
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-30 10:11:52 +00:00
Andrea Gelmini
24b60f65a5 Fix typos
Change-Id: Ifb52f4a5a547a5a52462c0f9166aad13cbf21cd9
Reviewed-on: https://gerrit.libreoffice.org/18971
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-09-30 10:10:42 +00:00