summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-11-04use uno::Reference::set method instead of assignmentNoel Grandin
Change-Id: I11822c50fa66d038a3d6f38054ab35c2e613f077
2015-11-04yyyyyNoel Grandin
Change-Id: I9a947beefd2dfe21da8239e841ea3fb416bd1548
2015-11-04STR_MASTERPAGESSELECTOR appears to be unusedStephan Bergmann
...since d023339c2f85555212bdb9804854dcc2c403b50e "Turn sidebar back to non-experimental" Change-Id: I91bbeb60b2bd87cbd06139b586f93ec546df9e13
2015-11-04-Werror,-Wabsolute-valueStephan Bergmann
("using integer absolute value function 'abs' when argument is of floating point type; use function 'std::abs' instead") Change-Id: I3634186a10607f3b3fc6fc7c0aef968b32892156
2015-11-04tdf#95298: corrected some out-of-bound accesses to arrayArmin Le Grand
the index variable m_FrameList used to reference the current frame uses the state EMTY_FRAMELIST to mark as invalid, which is the max integer number. Thus all usages have to be secured to not use m_FrameList if set to EMPTY_FRAMELIST. This was missing in some places. the max integer number. Thus all usages have to be secured to not use m_FrameList if set to EMPTY_FRAMELIST. This was missing in some places. Change-Id: Ie1cf4ae2cb79d821f634ec78b621a2647abc61a8 Reviewed-on: https://gerrit.libreoffice.org/19753 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2015-11-04vcl: What we want here is exactly std::copysignTakeshi Abe
Change-Id: I888ca84342a6c34b99a1f03d44d686e1f50622f4 Reviewed-on: https://gerrit.libreoffice.org/19778 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2015-11-04Bin some use-once variables, use literals insteadTor Lillqvist
Change-Id: I3ccdc7c92b53f1f385cec8ebfa1a325f355da9ed
2015-11-04loplugin:stringconstantNoel Grandin
Change-Id: I9dde988e95e3c574c6643c4e008a1090270bad5f
2015-11-04loplugin:stringconstantNoel Grandin
Change-Id: Ic135382652966e80c288f3407508bdaf0c60316e
2015-11-04Resurrect CppunitTest_sal_osl_getsystempathfromfileurlStephan Bergmann
Change-Id: I41007c46e945f4fe19a6dd197fded9fa503bf8c4 Reviewed-on: https://gerrit.libreoffice.org/19771 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2015-11-04tdf#93296 dashes in decimal part => 0 min decimal placesLaurent Balland-Poirier
During import, as well during export, "0.--" must be considered as 0 min decimal places Change-Id: I33d06dd95c0678660bc0bb222972f82ef54f2c6e Reviewed-on: https://gerrit.libreoffice.org/19647 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-11-04loplugin:stringconstantNoel Grandin
Change-Id: Iff0ab7716d76dc44693fca49d341a6fd88b89b01
2015-11-04lokdocview: Don't render tiles while tile buffer has changedPranav Kant
This is common when widget gets a zoom request, resulting in a new tile buffer, and the tiles from the old tile buffer are still waiting to be processed in the LOK thread, for old tile buffer. If we allow these useless operations to execute successfully, they would end up writing in new tile buffer giving false results. Lets tag every paint tile operations with their respective tile buffer during `task` creation, and then check whether the tile buffer has changed or not before writing to the tile buffer. Change-Id: If784341a67ad430bc3415b765137badaad6b97f6 Reviewed-on: https://gerrit.libreoffice.org/19726 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2015-11-04CppunitTest_desktop_lib: test absolute positions for row/column headersMiklos Vajna
Change-Id: If2526647221fef2c6b18b21b589192239d8a89ad
2015-11-04sc lok: return absolute positions for row/column headersMiklos Vajna
This simplifies both LOK API implementation and client code, and also clients are no longer required to floor() the twip -> pixel conversion result. Change-Id: I63dbc05f53e8f7582b964c43d5da3aad51ede10d
2015-11-04loplugin:stringconstantNoel Grandin
Change-Id: Id5a07591a1d3a7264a0a979f25e8c2c859ec0492 Reviewed-on: https://gerrit.libreoffice.org/19767 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-04boost->std in include/toolsNoel Grandin
Change-Id: I387340162d791bca2e589a2bad0575030138bd89 Reviewed-on: https://gerrit.libreoffice.org/19772 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-04boost::array->std::array in include/ooxNoel Grandin
Change-Id: I9c33a42d037c50dc05915f889a0f3a31bb8f0fb9 Reviewed-on: https://gerrit.libreoffice.org/19777 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-04tdf#95077 Check Index != 0ccsheller
follow code: ScVbaCollectionBase::getItemByIntIndex .... return createCollectionObject( m_xIndexAccess->getByIndex( nIndex - 1 ) ); .... my test code of vba: Application.ActiveWindow.Panes(1).View Change-Id: I5229142377364f374e4bbc24bd3b8dfd5d351f56 Reviewed-on: https://gerrit.libreoffice.org/19239 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2015-11-04tdf#94716 allow Oracle's JDK to be used on OS X 10.10 and 10.11Patrick Luby
Change-Id: Ide9b4beebb407e4ceee30f1d99f29d028c848d8c Reviewed-on: https://gerrit.libreoffice.org/19131 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2015-11-04Handle URLs with query or fragment (or containing NUL chars)Stephan Bergmann
Change-Id: Ib6ba723b59fb5af69b45456a19e1bff085a75c92 Reviewed-on: https://gerrit.libreoffice.org/19775 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2015-11-04remove unused boost headerNoel Grandin
Change-Id: Ie9e036a119af144fe9690393fc68f7bdb3577941 Reviewed-on: https://gerrit.libreoffice.org/19776 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-04Bin some use-once variables, use literals insteadTor Lillqvist
Change-Id: Ic6e3540dce776b7851e41124d8dcceec73aadb4b
2015-11-04remove remaining boost/noncopyable includes from /includeNoel Grandin
Change-Id: I2dfed038d97f91df9e86828620df1a46dd158292 Reviewed-on: https://gerrit.libreoffice.org/19773 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-04sw: fix non-dbgutil buildMiklos Vajna
Change-Id: I2b521c516caf85892dafe782da79364a534d55a2
2015-11-04editeng: Eliminate unecessary padding in classesDaniel Robertson
Edit the order of SvxLRSpaceItem and PaintFirstLineInfo members to remove unecessary padding due to data alignment. Change-Id: Icf2c92ef86a32384e51d1cb6f1a079b10995dfd5 Reviewed-on: https://gerrit.libreoffice.org/19763 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2015-11-04sw: prefix members of SwCacheObjMiklos Vajna
Change-Id: I416c43f5f6819029e279bc2f5fb696b59917ef06
2015-11-04sw: prefix members of SwOrderIterMiklos Vajna
Change-Id: I9bea22d07a95eb521d9c3729b2aba1694cf02def
2015-11-04sw: prefix members of SwRegionRectsMiklos Vajna
Change-Id: Ib59572c45a1404840c379318e4987f5223edca15
2015-11-04sw: prefix members of SwSelUnionMiklos Vajna
Change-Id: I636454036f007dbf568f74b17e1c4c79fb36f40b
2015-11-04loplugin:stringconstantNoel Grandin
Change-Id: I9d3b60bb9f0d8c09968e2be1035fb8e654ac9c95 Reviewed-on: https://gerrit.libreoffice.org/19769 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-04loplugin:stringconstantNoel Grandin
Change-Id: I6cc11a273902da8acdb6adbccccc31fe30ab274e Reviewed-on: https://gerrit.libreoffice.org/19768 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-04Clean up osl_getSystemPathFromFileURL implementationStephan Bergmann
Change-Id: I2daa355c4a46c4edc73c30185f2b31852351c45f
2015-11-04Don't dereference null pointerStephan Bergmann
Change-Id: If35672fae14541d5aa5f28e117bd63b69013d418
2015-11-04Tweak MenuBarManager a bit for use with context menusMaxim Monastirsky
Change-Id: Ie28277e692d3b3286f1961e66f90b5ae59810fe7
2015-11-03loplugin:simplifyboolStephan Bergmann
Change-Id: I7fdcc939154ca6804707039c3311728a0249dec7
2015-11-03-Werror,-Wformat-securityStephan Bergmann
Change-Id: I23f4b906456fdba84f2772a4ed15ac6c141a094d
2015-11-03get-bugzilla-attachments: RSS query doesn't work with '+' characterXisco Fauli
eg. image/xml+svg Change-Id: I1b6b6f71d02fa415c3470faadbe8d316aaf0f677 Reviewed-on: https://gerrit.libreoffice.org/19761 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-11-03Support of popupmenu resource typeMaxim Monastirsky
Reusing the same xml format as the menubar, except that a popup menu use menu:menupopup as the root element. Change-Id: I2987af0dc698b09aeeb757cff828617515bc3009
2015-11-03tdf#81144 Chinese full-width punctuation does not align properlyMark Hung
Ideographic fullstop and comma in most Chinese fonts are centered, while those in Japanese fonts align closer to the left. Original compression algorithm trimed right side of the punctuation, making fullwidth fullstop or comma in Chinese font visually unbalanced. In worst case, it crowds together with the followed compressed punctuation. This patch fix the situation in the folowing way 1) make compression less stronger. 2) Trim space according to glyph bearing to font height ratio. 3) fix a memory access violation issue Change-Id: Icff215064e6c442fd36eac8e01b01fb6acb27594 Reviewed-on: https://gerrit.libreoffice.org/19517 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2015-11-03dynamic_cast fixed againOliver Specht
changes commit 5ae015fc74330ac4c24b67370c59518084f1d201 to check the SvxFieldItem Change-Id: I2c327a0a16fdd3e9341365554e10fb6fe04e1efe Reviewed-on: https://gerrit.libreoffice.org/19757 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de>
2015-11-03vcl: Prefer std::abs to a home-brewed macroTakeshi Abe
The arguments in use are of type sal_Int16, so now it's the overloaded one of type int in <cstdlib>. Change-Id: I83336c093cf58a351e9390c0eb4e20a5d5340f9e Reviewed-on: https://gerrit.libreoffice.org/19754 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-11-03lok: Fix crash due to non-initialized callback.Jan Holesovsky
Yay for unit tests! :-) Change-Id: I06b3f929b53d5c03f5722acfdaf0eaf841325e34
2015-11-03lok: Unit test for LOK_CALLBACK_UNO_COMMAND_RESULT.Jan Holesovsky
Change-Id: I917d47478504dc6fafd3fc675fe8458690c7cc2a
2015-11-03sc lok: avoid placeholder row when providing all headersMiklos Vajna
In case the logic visible area is known, info is provided only about the visible headers. Given that only relative sizes (no absolute positions) are provided, a placeholder row/col is added to the result that contains the total size of the skipped items. These placeholder items are not needed when providing all headers, so don't emit them. Change-Id: I48ccb73554313f4d2bb420e4402995719b0f9f7d
2015-11-03-Werror,-Wformat-securityStephan Bergmann
Change-Id: I34976a4900a73505a91d3e58736675ab39ad174c
2015-11-03sc lok: allow requesting column headers only for a logic areaMiklos Vajna
Change-Id: Iacd8f11917e929c6a1579c6a1553eb7840df5fba
2015-11-03sc lok: allow requesting row headers only for a logic areaMiklos Vajna
So that for large documents it's not needed to query all of them on load, but (similar to tiled rendering itself) it's possible to query the data that affects the visible area. One catch is that the row sizes are relative, so there is a placeholder row in case the visible area is not the top left corner, and constructing its size needs special care. Normally the handed out twip values have to be floored after twip->px conversion, but this one is already rounded (as the total is a sum of px values, again becase of the previous floor rule), so need to play the +0.5 trick to allow clients always just flooring the logic conversion result they get. Change-Id: I64a155582acdee7b2acc741d77a2c462409b91a8
2015-11-03ScGlobal::UpdatePPT: make conversion more preciseMiklos Vajna
Old situation was (96 DPI, 100% zoom): 0.06669 factor, 1088 pixels, result is 16311 twips (1087.4 pixels). New situation is: 0.066669 factor, 1088 pixels, result is 16319 twips (1087.93 pixels). Change-Id: I0ff11520fd719aefd2b351a6d4ef949d66b66282
2015-11-03Bin a few pointless variablesTor Lillqvist
Change-Id: I5198163e43b17786d3646cf398ec1b8e6ab1b438