summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-01-21Resolves: fdo#88562 convert filename widget from ro-edit to selectable-labelCaolán McNamara
Change-Id: I56205bf5c28b6196aae10ecfa658111768f0e433
2015-01-21Related: fdo#88562 Nothing actually sets ID_FILETP_READONLY or ID_FILETP_TITLECaolán McNamara
so docs cannot be toggled r/o r/w from properties page or the file name changed. Unkink the logic a bit based on that and move now static widget settings to .ui and remove unused checkbox Change-Id: Ic55e41be8ffd02e214a233a2eb90736c070b5418
2015-01-21loplugin:cstylecastStephan Bergmann
Change-Id: Ib8575109cfe0339f2d8b56741d3ad2a538ecf164
2015-01-21sw: make SwTxtNode::RstTxtAttr() easier to understandMichael Stahl
Trying to figure out whether the other 2 asserts could trigger, the idea to just delay everything that could potentially re-sort the array and thereby invalidate the current iteration index seemed appealing. Should be faster too: the main loop now looks at each hint only once, but deleting a hint now requires a O(log(n)) GetStartOf() lookup. Change-Id: I5c7b8493b35ee71c8ebdc284d2508c9812dc29cf
2015-01-21sw: fix bogus assert in SwTxtNode::RstTxtAttr()Michael Stahl
The assert for case 3 is wrong and fires when importing ooo44732-2.doc but there is also a bug here where a hint could be skipped. Change-Id: I028d2d5df9e80cf0001d9bc11aa7fabcd01e83bb
2015-01-21callcatcher: update unused codeCaolán McNamara
Change-Id: I225cbb3a4a66a8f20bec91c4770ad78e72b663b1
2015-01-21Resolves: #i46871# Add French translation for Space keyAriel Constenla-Haile
(cherry picked from commit 58c7172ef98515e482bc87e219e58e1e126785d8) Conflicts: vcl/unx/generic/app/keysymnames.cxx Change-Id: Id8b9aa912cd3de9d69bddb0316c73d19ffcc4769
2015-01-21Resolves: fdo#88594 crash on F1 with local helpCaolán McNamara
regression from commit 1049511c0c5d881df4ba8042744d63d37878296f Date: Tue Jan 13 21:43:27 2015 +0900 infobar: add buttons one by one with addButton Change-Id: Icf758a9671191836bbe5bc7ca7d978574cb74479
2015-01-21Factor out SwFmtPageDesc::dumpAsXml() from docnodeMiklos Vajna
Change-Id: I813804ece7507fef84c43ba8fc290b151c8063ab
2015-01-20sw: add unit test for 5c363cf3f1d75e37835a6663a96b4e22c754c4cbMichael Stahl
Change-Id: If83f4900fcecde07f75d88c7f0b7c9088974b093
2015-01-20it's unnecessary to obtain the marked object in move mode, fdo#88339 followupEike Rathke
... just to determine there's nothing to do in that case. Change-Id: Ic962a5420afc5216e750b7fb578a4844ab6fc54a
2015-01-20Add documentation for AccessibleStates STALE, OFFSCREEN and COLLAPSENiklas Johansson
Change-Id: I6bfcd180f0c1d9e63577f58685ce64c509d91326 Reviewed-on: https://gerrit.libreoffice.org/14055 Tested-by: Michael Stahl <mstahl@redhat.com> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-01-20fix SwIndexReg::~SwIndexReg assert in fdo68332-2.docxCaolán McNamara
SwParaSelection sets a mark on the cursor, but there is no need to do that. DelFullPara will delete the SwTxtNode anyway. Change-Id: I99b8dd637bd4d2b49a555e147514a2def19fa0bf Reviewed-on: https://gerrit.libreoffice.org/14054 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-01-20vcl: remove dependency of SalShlData on GetVersionEx()Michael Stahl
4500afcc1be7774b3c35ab69a20e36165ca5445a was incomplete in that the result of GetVersionEx() is actually stored and other functions do manual checks on it. Change-Id: I1f66a13e98e6bfc40bc35fa5382c2f6257f905d6
2015-01-20change assert() to SAL_WARN_IF()Eike Rathke
It's a valid condition in some cases. Change-Id: I9c9bbcf0b506a88f89e4a420dd544e4bc6502e58
2015-01-20Maintain the sorting in sorted_vector after modifying the elements.Ashod Nakashian
Resort immediately after modifying the data to prevent invalid lookups. Change-Id: If132af401d8164fd5973d81a8327c1fa726c908c Reviewed-on: https://gerrit.libreoffice.org/13984 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-01-20Resolves: fdo#84943 make fodt non crashy like odt for formulas inside shapesCaolán McNamara
where odt checks for a null pTxtCrsr and skips the object and fodt just ploughed ahead. i.e. make fodt equally useless as odt (fdo#84942) Change-Id: I915cc1f7c065ea83377e895a932636c82698cf1f
2015-01-20Make the RAND() and RANDBETWEEN() Calc functions non-random when requestedTor Lillqvist
We don't want such a mode to affect other uses of randomness, though. Thus use a separate random number generator object for these two functions, and use a fixed seed for it if the SC_RAND_REPEATABLE environment variable is set. As RAND() is implemented in sc, and RANDBETWEEN() is implemented in scaddins, it was a bit hard to figure out where to add the new functions needed, without having to over-engineer things with UNO. (This functionality is totally Calc-specific, but neither sc nor scaddins has any public (non-UNO) API.) Caolan suggested the formula module, which seems like a good enough place to me. Change-Id: I4b0cb327392e51a18bce28478af91b0174d6b726
2015-01-20OSL_ENSURE->SAL_WARN_IF where conditional deref followsCaolán McNamara
Change-Id: I2648b0357c13699df2693968db4e57c81028c962
2015-01-20OSL_ENSURE->assert where unconditionally deref followsCaolán McNamara
Change-Id: I0cb2400e7ebb28cad2c98f9e69d68d312efb03ca
2015-01-20continue to implement drawChar for unpatched popplers without drawChar2 hackCaolán McNamara
Change-Id: Id4ad86f3f563d88777352722e397cd77cfad45e4
2015-01-20Related: ooo#34420-1.sxi concealed divide by zeroCaolán McNamara
on this and about 30 other documents where the NaN result is cast back to a long, giving rise to an assert in vcl/source/outdev/map.cxx:391 of long int ImplLogicToPixel(long int, long int, long int, long int, long int): Assertion `std::abs(n) < std::numeric_limits<long>::max() / nMapNum / nDPI' failed. Change-Id: Ia87e4ee6bbf0f10b7eba513e9a5ba3c42440d181
2015-01-20textranges are always in pairsCaolán McNamara
Change-Id: I3d98c26c7902bc89ab6701dd02e266fd466c6907
2015-01-20fdo#88547 allow inline date-arrays for array functionsWinfried Donkers
Change-Id: I090633944f6514964949566ffe94038b565abff4 Reviewed-on: https://gerrit.libreoffice.org/14019 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-01-20fdo#85174 PDF Import: fix character positionsVort
Change-Id: I0aa75b6cb834341e47bbeeaa15d39387a8cb5240 Reviewed-on: https://gerrit.libreoffice.org/14029 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-01-20Resolves: #i116863# remove the extra space before colon...Tsutomu Uchino
in the label for date number format (cherry picked from commit 2c11fc40e0500da7fc217e1bc1290adfdccab82f) Conflicts: officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu Change-Id: I8e5b6a141948fbce8361b74a3f29db3cdf7d71f4
2015-01-20Remove unused codeJuergen Funk
- a inline function not use - a variable will be set but not use Change-Id: I67674a6cd05ddb058d11d46188d5c9d039ed40fb Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2015-01-20accidentally ran make with VALGRIND set and walked away...Caolán McNamara
and found this bug triggered by CppunitTest_filter_eps_test when I got back Change-Id: I20943e5bd0fbf8aed923699dd5f1e88fada43e81
2015-01-20move OutputDevice:: Clear/Refresh inside AddTempDevFontCaolán McNamara
and drop now redundant ImplClearFontData(true); mpFontCache->Invalidate(); which is done on entry Change-Id: I217c203980e5fd6a54b85f1b1376ecc2b92181db
2015-01-20font cache gets broken on adding an embedded fontCaolán McNamara
Change-Id: I665cde5d4c89443238efb283c86277dedf621197
2015-01-20fdo#88623 replace std::deque with std::vector in xlsx savingLászló Németh
Change-Id: I0b9c44b405e2c617c60e11a1a15eaeb867cba57e
2015-01-20bail out early if there is no DisplayMarkus Mohrhard
Change-Id: I1d724ae9346a4df7207e737cf98bf0cd7293bc2b
2015-01-20scaddins: quick fix for conflict on ConvertData.Michael Meeks
Also used by VCL image plugins - defer the rest to an easy-hack. Mostly impacts mobile which uses scaddins linked without a map file. Change-Id: I49fd40146905f4de42c9b0e7355ab89689c776bf
2015-01-20lets do that before we delete our objectMarkus Mohrhard
Change-Id: I8c7166ba66f74f5c548bb6fb30dfc3d28880e9a2
2015-01-20some debug code for finding leaked OpenGLContextsMarkus Mohrhard
Change-Id: I10e8c344ae6aa2e0a4ef562154f57e2070c70e2f
2015-01-20I was just missing the code for the ARB versionMarkus Mohrhard
Change-Id: Id1a7eef76967a9fdc5279d3c5e7694e6c6b2b907
2015-01-20only enable these error handlers in dbgutil buildsMarkus Mohrhard
They might become expensive with our repeated calls to makeCurrent Change-Id: I1d30460f2cad34c6ab676754682651422e545c90
2015-01-20fix the life cycle of my RAII objectMarkus Mohrhard
Change-Id: Ifcd4ab79192be965b57439062354e27af80136b3
2015-01-20remove wrong commentMarkus Mohrhard
Looking into the code we handle more cases correctly so remove this misleading comment. Change-Id: Id738bb8af312dfce97560a43122a81a6708f64d3
2015-01-20Revert "vcl: increment ref in OpenGLSalGraphicsImpl::AcquireContext"Chris Sherlock
This reverts commit 3d580990643119cccb73f4f15d549863a6660aa6. Change-Id: Ib16fea0df909d41b2d51d5f3efe44dd4b3419352 Reviewed-on: https://gerrit.libreoffice.org/14033 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2015-01-20vcl: increment ref in OpenGLSalGraphicsImpl::AcquireContextChris Sherlock
Change-Id: Id8167dfe55eb6f7a83454f5eb7a3b5a96e252980
2015-01-20enable tcpNoDelay for loopback connections automaticallyNoel Grandin
it can make a significant speed difference for applications talking to the office binary via UNO Change-Id: If6e901908fe6a6119ac1fd0bf8feebabe5602ff7 Reviewed-on: https://gerrit.libreoffice.org/13856 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-01-20Some more loplugin:cstylecast: xmlhelpStephan Bergmann
Change-Id: I1aa45f669711a90cce52bafd839bd84eb711436a
2015-01-20Some more loplugin:cstylecast: slideshowStephan Bergmann
Change-Id: I5cba157aa69b979a1e821f267f0560dd16533677
2015-01-20Drop unused comphelper::service_decl::component_getFactoryHelper paramsStephan Bergmann
Change-Id: Ia47c0bc3539ddf8f925cd053a2431c742c46d337
2015-01-20Just use plain memcpyStephan Bergmann
Change-Id: I6f2014f3dfc650a61e8c0dc0bb7d7d4fdb88dbe9
2015-01-20Fix for Android gethostbyaddrStephan Bergmann
Change-Id: Icc8f5f71f07d0afb016b6188daea26068db93769
2015-01-20Some more loplugin:cstylecast: testtoolsStephan Bergmann
Change-Id: I28bce2f4bdbadef2d68130adc6fdc09c9840a005
2015-01-20Missing constStephan Bergmann
Change-Id: I13058a46526a1186deaa8fffde303c272c0cc8aa
2015-01-20Factor out SvxShadowItem::dumpAsXml() from swMiklos Vajna
Change-Id: Id25a050a9840d83cff4b390faec7478f17336524