summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-11-17vcl: make OpenGLContext::makeCurrent unfeasibly faster.Michael Meeks1-2/+10
Don't set the same context if it is already set. Apparently this is something that is unbelievably costly on Windows, and very costly on Linux. Instead check if the context is already set, and don't re-set it. Change-Id: If4fed3e555e1388031446be76d6fdfde5b9f13e5
2014-11-17Build fix on WindowsKohei Yoshida1-0/+1
Change-Id: I5c24856bfe48646bc0e9cd00f0849a5db12dfef2
2014-11-17Build fix.Kohei Yoshida1-0/+1
Change-Id: Ifa6775384993900980c93df88162143aa7ac0a08
2014-11-17Build fix on Linux.Kohei Yoshida1-0/+1
Change-Id: Iea96991a3bef08c17a8a0cbc347408dadc0061af
2014-11-17Apply pimpl to Fraction.Kohei Yoshida2-91/+139
Change-Id: I60eb597a6374b807b2264af6d5841a42e9b1c0f3
2014-11-17Make these methods non-inline.Kohei Yoshida2-101/+109
Change-Id: I0b24e34dec6c452659b224b45a6849dafe708c3b
2014-11-17Updated coreAndras Timar1-0/+0
Project: translations 154fe50e9789ad67a6eadaa5d4290372720afe2f
2014-11-17coverity#1242891 Untrusted loop boundCaolán McNamara1-3/+9
Change-Id: I5859cef0fa6b9c49225c5d7b073bcbc521734854
2014-11-17coverity#1242824 Unused valueCaolán McNamara1-7/+2
Change-Id: I5f53e538f8f76c337cda8b90fcf4ed717ed2476e
2014-11-17fdo#85542: fix DOCX import of overlapping bookmarksBjoern Michaelsen5-14/+60
This was broken by 345a3a394e082595924bf219796627f6c00ae2dd. Kill the static variable and instead have some more state in the implementation. Still not ideal, but at least fixes the regression. Change-Id: I562f7d88a1983bd0ec2e01d6bb1e4a53551d0953 Reviewed-on: https://gerrit.libreoffice.org/12491 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2014-11-17editeng: Avoid calling expensive getLineBreak() if possibleMatúš Kukan1-27/+38
ImpEditEngine::ImpBreakLine: if nMinBreakPos == nMaxBreakPos just set nBreakPos to the same value directly. Change-Id: I4544cb6c56f68071cba739260161bb24ef5a3f7f
2014-11-17Missing includeStephan Bergmann1-0/+1
Change-Id: I767b9300568971c09c058347a9bbb66108dd792a
2014-11-17Remove dead codeStephan Bergmann1-46/+0
Change-Id: I1edce9e336650cc3317de8883e08fb6536c58c70
2014-11-17cid#1213388 etc.: Make reflread.cxx more robustStephan Bergmann1-209/+348
incl. revert of and proper fix for 8f69c7a11bf31f7134caf4e03fbcd4c6ef86382d "coverity#1213373 Use of untrusted scalar value," the data is tainted after all Change-Id: I19e4d544ccf6d02afe8d6e441cae6bbdadb8a6be
2014-11-17Work around warning C4702: unreachable codeStephan Bergmann1-1/+1
...introduced with 82d08580e368afbc9d73da3613845a36a89b0a8c " switch saxparser from expat to libxml2" Change-Id: I4e214fff0f3650b44f299f112b27c607c7936c03
2014-11-17DOCX import: handle <w:numId> from parent styles as wellMiklos Vajna3-2/+33
Without this, we may miss the <w:numId> of a paragraph and set no numbering style name; and that leads to not restarting numberings when needed. Change-Id: I9a4896266c5b7f1d7cc2adc43b84e227c004da7c
2014-11-17CppunitTest_sw_rtfimport: indentation fixesMiklos Vajna1-3/+3
Change-Id: I696489a60729426b9b14df6c9e79a2d8247d21fb
2014-11-17Blind fix attempt: include <osl/diagnose.h>Tor Lillqvist1-0/+1
Change-Id: Ic734b56852212d4cee352fc3669dbb16838be8ae
2014-11-17don't reuse old var remnantsCaolán McNamara1-11/+9
Change-Id: I1074d0431695ec21e22cdef334dbe419763e7ba2
2014-11-17officecfg: set VCL.WM.ShouldSwitchWorkspace to falseMichael Stahl1-1/+1
It's quite obnoxious of applications to switch virtual desktops, and i#45160 / i#96684 indicate the main reason for this was to avoid crashes 9 years ago; let's see if we get any crash reports with it disabled. Change-Id: Ib020380c9ad3b386c7cf00fb2144cb766d1f6c83
2014-11-17Add a bunch of allegedly common opcodes to the default subset for OpenCLTor Lillqvist2-2/+16
RAND, SIN, COS, TAN, ATAN, EXP, LN, SQRT, NORMSINV, ROUND, POWER, SUMPRODUCT, PRODUCT and NORMDIST. Change-Id: I9619a9a3b022fe00e53bf82735e160a2d449f105
2014-11-17afl: divide-by-zeroCaolán McNamara2-1/+8
Change-Id: Ided311873f654c0f40dae57c8876a6412ee97d3e
2014-11-17help coverity out with empty()Caolán McNamara1-2/+3
Change-Id: Icc28a0f0f4afcbda9e595fa753494a8161f82d4c
2014-11-17coverity#1242859 rework to silence Untrusted loop boundCaolán McNamara1-3/+15
Change-Id: Ic30dd457b0f2fdbd13aa1508f97cdda6364390e4
2014-11-17coverity#735399 Logically dead codeCaolán McNamara1-4/+0
we can only enter the bAssumeExprLParenMode controlled block once because the block sets bAssumeExprLParenMode to false bAssumeExprLParenMode is only true if the first token read in the method is LPAREN so we can only enter this block if the current token is LPAREN and its the first token processed, so the token can't be BYVAL Change-Id: I6e668fca4d127d7dbfe447e2d9f2231e05278a7d
2014-11-17OSL_ENSURE->assert where guaranteed deref followsCaolán McNamara1-4/+3
Change-Id: I241e13cbf440c1a7e208c2646ded7bf2628ca25b
2014-11-17coverity#1242523 we just need a copy hereCaolán McNamara1-2/+1
Change-Id: I238756de13a5bd2711538cbd92e78bbae8fced22
2014-11-17coverity#1242810 Untrusted loop boundCaolán McNamara1-0/+10
Change-Id: I457f0f92dc32630e52efbb2bd068208a8570c5d0
2014-11-17give all the open-url scripts the same starting permissionsCaolán McNamara2-0/+0
Change-Id: I35fcb2d73accf20baa96b62d99be6d0a3ebb3ba2
2014-11-17drop gnome-open-url binaryCaolán McNamara6-144/+2
we don't really need it anymore, fallback to our own open-url if there is nothing else to take it Change-Id: I7a4e841a53bda30e29d48b9c34d24af085f1b4b5 Related: coverity#706194 Use of untrusted string value
2014-11-17document coverity#706181 Use of untrusted string valueCaolán McNamara1-0/+1
Change-Id: If8c80568175b3a5380ee78dda5ebd161c5dba2f6
2014-11-17third argument should be SfxFilterFlagsCaolán McNamara3-3/+3
Change-Id: Id0a73ffbbddc7fd2b2190cc04f59769561f45dd0
2014-11-17coverity#705177 Missing break in switchCaolán McNamara1-0/+1
this is the "close toolbar" button on right clicking a toolbar. close toolbar continues to work as expected Change-Id: I436fbe9f133442136b6e60a1f6080926f64eaef6
2014-11-17coverity#1251174 help coverity out hereCaolán McNamara1-1/+1
Change-Id: I07d6d0356ee0093f7f10a7dfbbc37a620205f37a
2014-11-17coverity#738972 rework to help coverity outCaolán McNamara1-4/+4
Change-Id: I288eb5ba7a38844af1b517ae7480729c236ebd63
2014-11-17coverity#704257 Logically dead codeCaolán McNamara1-3/+0
since commit 4939fe9653430ae002056ca1481aa1716da1b368 Date: Tue Jan 29 14:23:27 2008 +0000 INTEGRATION: CWS dr58_SRC680 (1.32.188); FILE MERGED 2007/10/25 10:41:26 dr 1.32.188.1: #i81396# do not hide rows with default height Change-Id: Id185ae2ee37d1db8aaab493f7fc6a81d93424182
2014-11-17missing includeMatúš Kukan1-0/+1
Change-Id: Iac01fc756a74cbaeebd1d9a01ddea74bbaf18f4b
2014-11-17use already existing variableDavid Tardon1-1/+1
Change-Id: I3f2781e2a041845e732046ea591a15c9bb21f1a5
2014-11-17coverity#1251174 untrusted pointer readDavid Tardon1-2/+6
Change-Id: I894fc64d6ae6881347bd1379d2934654536a01cf
2014-11-17Add internal libjpeg-turbo library to be used instead of libjpegMatúš Kukan14-4/+250
Unfortunately requires nasm - the netwide assembler - http://www.nasm.us/ Upstream libjpeg-turbo is meant to be built with CMake on Windows but thanks to our gcc-wrappers we are able to avoid that. jpeg is kept mostly for platforms we are cross-compiling to. For now, it's used also for Mac OS X because jpeg-turbo does not build there, which should be fixed later. Change-Id: Id87b7072a8acc2578c3abf7e82cb1499e5094dbf
2014-11-18vcl: remove AnimViewList_impl typedef alsoChris Sherlock1-3/+2
Another typedef that destroys code readibility. I've removed AnimViewList_impl because it's just a vector of ImplAnimView pointers. Change-Id: I97e5867e1a7aeae575e45989ba7436867da9c808
2014-11-18vcl: remove AnimationBitmapList_impl typedefChris Sherlock1-2/+1
Severe overuse of typedefs makes baby Torvalds sad. :-) AnimationBitmapList_impl is just a typedef to a vector of AnimationBitmap pointers. It's used precisely once in the code - in animate.hxx. This just makes reading the code more difficult - too many layers of abstraction. Change-Id: If84892dc90220c7dfe8c071d629268efa226f069
2014-11-17loplugin:unreffunStephan Bergmann1-4/+2
Change-Id: Ifc7377fe1bb68b21e462818248706f53347b39b1
2014-11-17WaE: unused variablesTor Lillqvist1-2/+2
Change-Id: I82570a716a0dba6c466bc754ce66ac53e7c17efa
2014-11-17WaE: Unreferenced function definition [loplugin:unreffun]Tor Lillqvist1-0/+10
Change-Id: I55d6d1d403622e5ec04c29dd407274cf9db20c40
2014-11-17bridges: get at least the x86 bridge to buildMichael Stahl2-0/+2
Change-Id: Idd2f223e0c83e0a6a19e70bd677058b6899bf766
2014-11-17cid#1254675 Uncaught exceptionStephan Bergmann1-1/+4
just throw up hands in despair via std::abort instead of std::runtime_error Change-Id: I356932ed2d76558bb4febbd2ac0a7bb6ea27bd0f
2014-11-17Missing includeStephan Bergmann1-0/+3
Change-Id: I1dbf7a73ec60115f11d3a5455de2871041cd1605
2014-11-17Insert some fairly generic fallback whitelist entries for nowTor Lillqvist2-1/+10
Change-Id: I1887a32aeef8097e3e8297d6bddc51179dd65127
2014-11-17-Werror,-Wunused-const-variableStephan Bergmann1-22/+0
Change-Id: Ic6a8f6435e00c7b679c58bdfe57da4555107787d