summaryrefslogtreecommitdiff
path: root/sc
AgeCommit message (Collapse)Author
2015-03-23TyposJulien Nabet
Change-Id: Ie08a26a569b83bfe3ef4351dbb7b6e928745b95d
2015-03-23tdf#89387 Change summing loop to SumSquare methodŁukasz Hryniuk
Change-Id: I996a984763f9fece9074f8bc318db25f01b8f4ed Reviewed-on: https://gerrit.libreoffice.org/14954 Tested-by: David Tardon <dtardon@redhat.com> Reviewed-by: David Tardon <dtardon@redhat.com>
2015-03-23OutputDevice::LogicInvalidate: take a RectangleMiklos Vajna
At the end this gets exported in the LOK API as a rectangle anyway, so better to convert the vcl::Regions into a Rectangle, and not the other way around. Change-Id: I81fede6e30af112d17bb74328801915d90474863
2015-03-23OutputDevice::LogicInvalidate: clean up sc/sd duplicationMiklos Vajna
Writer is not affected, as there the map mode is disabled and everything is in twips internally. Change-Id: I3b5289f82e89be5943a0b14a5167b33132cf78d0
2015-03-23sc tiled rendering: add missing mm100 -> twips conversionHenry Castro
Change-Id: Id0b1d88d0852e9333538ca9cecf4605c06440494
2015-03-23sc tiled editing: Clear the right area behind the editeng.Jan Holesovsky
Based on a patch by Henry Castro. Change-Id: Ic463c97577d521e3c2e4d6bc904c517aa564edca
2015-03-23sc tiled editing: Use the correct device for PixelToLogic.Henry Castro
Change-Id: I55e4eb784694de889d7bb0a3a6043a5a2b74239c
2015-03-23sc tiled editing: Set the correct map mode for editeng.Jan Holesovsky
When we are entering some text into the sheet, now it happens at the correct place. Unfortunately we are still invalidating the wrong area, so it is not really visible unless you tweak the ScGridWindow::LogicInvalidate() to invalidate much more tiles. Change-Id: I74a568761c3b21522fe291649c33829aaea200e7
2015-03-23loplugin:constantfunction: scNoel Grandin
Change-Id: Id3268114041575d7dbb84e8d963ead566c78b928
2015-03-20Replace hardcoded UI string with string from .res fileAndras Timar
Change-Id: Iba362cc2ee624271dcc078d7e7ded1ef6ff44ae4
2015-03-20fix commentsEike Rathke
Change-Id: I5b6d1c47805e9f4258b7f7977dc296ca4235986e
2015-03-20tdf#89597: Resize formula buffers after adding a dummy sheetKatarina Behrens
for pivot table cache records. Regression from commit d17a83fa549f828f29e6939. On loading pivot table cache records, a dummy sheet is created to store them. Formula buffers are now vectors, not maps and need to be resized in such case. Change-Id: Ib6abeac1b139ffb74579712017eed2194cff592b
2015-03-20Add const version of getDocImportKatarina Behrens
Will need it for tdf#89597 Change-Id: I705d30422e2de9d5f75ac0c5c69c69ede05af48f
2015-03-20Resolves: tdf#89958 filter ends with / does not end with correctionEike Rathke
Regression of 8850633fe4cdac306c35caab1a0d14c13d9df864 String to OUString and xub_StrLen to sal_Int32 conversion, it worked by accident only anyway.. Change-Id: Id6fea7075949b98e58294d9fdaae4313f69f9b55
2015-03-20coverity#988421 unchecked return valueCaolán McNamara
Change-Id: I822c21cd3c3bd8f720e39f540b4931050d62fb91
2015-03-20Typo: intead->insteadJulien Nabet
Change-Id: I6aff104fa5749217d5c9628b5dfbfd3ac79bdc43
2015-03-19coverity#1209001 Unchecked return valueCaolán McNamara
Change-Id: I1d2615ed478417a965ebddb37539ce4697b8e92f
2015-03-19convert opaque numeric value to underlying symbolic constantsNoel Grandin
Change-Id: Id2f74c5104873e78b188c9a2b8c779c8ada3bacc
2015-03-19loplugin:constantfunction: svxNoel Grandin
Change-Id: Ib8c3599d245fbc371d00f28d812138b26c3f706d
2015-03-19loplugin:constantfunction: sotNoel Grandin
this appears to be completely unused Change-Id: I74dad8b0c478a1aed035ce9cc663a74de157816e
2015-03-19loplugin:constantfunction: sfx2Noel Grandin
Change-Id: I7b4c18b1f9644048f506fc1b1d1fb8c8c590ea7f
2015-03-19convert SFX_FILTER_ constants to enum classNoel Grandin
Change-Id: I7e53cfc90cefd9da7d6ecd795b09214bd44b1613
2015-03-18SotClipboardFormatId::FILE->SotClipboardFormatId::SIMPLE_FILECaolán McNamara
Change-Id: Ice4963da8a856b1d2ada13e5b699157a0217e06c
2015-03-18create new 'enum class' SotClipboardFormatId to unify typesNoel Grandin
of which there are several. There are some issues here I am unsure of - the SW and SC and CHART2 modules essentially ignore the enum values and assign their own ids Perhaps I should change them to use the common values and create new enum values where necessary? - the sc/qa/ and sq/qa/ and starmath/qa/ code was doing some dodgy stuff. I translated the code to pass down the stuff numeric values to the underlying code, but perhaps further fixing is necessary? Change-Id: Ic06d723e404481e3f1bca67c43b70321b764d923
2015-03-17Remove oox::core::FilterBase::implGetImplementationName indirectionStephan Bergmann
Change-Id: Ib275192452c6836cbaac2e517942ec5356dfd9ab
2015-03-17Fix various XServiceInfo implementationsStephan Bergmann
...to match what is recorded in the .component files Change-Id: Ie548cd37872d3b8540222201afaac73040e65c8f
2015-03-17SfxTabDialog: avoid changing const input parameterZolnai Tamás
* SfxTabDialog constructor has a const pointer parameter pointing to the input set and also the corresponding member is a const pointer which indicated that set is not changed by the dialog, but this is not true, const is casted away and the input set is changed. * So use a copy of the input set instead, pointed by a non-const member, so we can spare some const cast and misunderstandings. * GetRefreshedSet not behaves as a getter method, but changes the input set instead, so redeclare it accordingly. Change-Id: Ic63f9ae68c50e65d4498b20f597547c1c075b94e
2015-03-16sc tiled editing: EndTracking() is necessary in the tiled rendering case.Henry Castro
Change-Id: I0fc550ed669e08787b968ec03c09c1d8ad04dd65
2015-03-16sc tiled rendering: Avoid warnings about a non-existing SdrPaintWindow.Henry Castro
Change-Id: Idb9695515d9a829fb63ea37e02f4bf2b111bf6bf
2015-03-16Small cleanup - no need to have 2 OpenURL's.Jan Holesovsky
Change-Id: Ib76729004f36e087aaf5a6089a60675c606e9070
2015-03-16make format consistent with the rest of the file...Siqi Liu
2015-03-16tdf#89705: make hyperlinks clickable on impress/calcSiqi Liu
Change-Id: I3d35918a43dff789fad703cfc6b594a6dd3df47b
2015-03-16sc tiled mouse events: Fix the click coordinates in non-100% zooms.Jan Holesovsky
Change-Id: Ic535aaf9c1cac303dbade4dab7500d176aaaab2b
2015-03-16sc tiled rendering: Don't adjust the text width according to printer.Jan Holesovsky
When we don't set the 'wysiwyg' text, tiled rendering gets confused, because nPrtToScreenFactor is not 1.0, and everything gets horizontally shrunk. There is still a problem with vertical direction unfortunately - in order to have the same height of all the cells, the zooms where it does not fit the pixels can lead to an offset there too; but still this commit improves the situation a lot already. Also sort the includes when touching this, otherwise no idea where to add the inputopt.hxx :-) Change-Id: I15bf367af72a898248af81f34dc857ceb66187af
2015-03-16sc tiled rendering: RefreshZoom() is called already in SetZoom().Jan Holesovsky
Change-Id: I985275e3a1a944dffebe3987dee748f604e065f9
2015-03-14Related to tdf#89387 remove unused stuffŁukasz Hryniuk
Change-Id: I7c8963385874af1233a704faca1f5b173220ba37 Reviewed-on: https://gerrit.libreoffice.org/14861 Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2015-03-13add items to ScTableRefTokenEike Rathke
Change-Id: I23ddec273f7d3df0d5342b73c54ae411b9ef3782
2015-03-13add ScTableRefToken::AddItem()Eike Rathke
Change-Id: Iab74e027d9929bc100ad92c2126c17fca1e2e46a
2015-03-13tdf#43157: Fix format string violations in OSL_TRACE etc.Stephan Bergmann
...for a 32-bit build, similar to what ee11e221d2108212619e1bbe7f029e7d9afdba32 "tdf#43157: Fix format string violations in OSL_TRACE etc." did for a 64-bit build Change-Id: I05dd79ede3e66cb9ab7a33792319eb34b34c82dd
2015-03-13TableRef: scan whatever (translated) item name up to the next ']' closerEike Rathke
Change-Id: Ifd18e4dd369a0fbe98da7a7b972c012f5269af3e
2015-03-13V803 decreased performance postfix incrementMichael Stahl
These are pretty silly anyway, but apparently it complains even about integer variables which make this rather a waste of time. Change-Id: I15e847d33d5decd2adcab04e4f1567d3997d28a2
2015-03-13tdf#43157: Fix format string violations in OSL_TRACE etc.Stephan Bergmann
...in preparation of enabling the __attribute__((format(...))) in sal_detail_logFormat (include/sal/detail/log.h) Change-Id: I8a859199fa11ca0f9f4f4b4b23a8ebddec955a86
2015-03-13Presumably this is what was intendedStephan Bergmann
...in 70af05cf740d3b4639f110489dc0e9e1e7571931 "Convert Calc page header/footer content to Widget UI" Change-Id: I327318b6fc45a2e63c6398d657e766ac9b471324
2015-03-12TableRef: use existing ALL instead of yet another bitEike Rathke
Change-Id: I7f8cdba40d1d455927557c31867b822afb9dff7e
2015-03-12TableRef: parse away an optional #All in entire tableEike Rathke
Change-Id: Ibe7c67b608ab97c83fcac6adf95d67e00a74fd72
2015-03-12sc: PVS-Studio V595 'pCode' pointer could be nullMichael Stahl
Change-Id: I2400fde32a41395f5c118f80661ae2c2f21df7ad
2015-03-12TableRef: parse item specifiersEike Rathke
Change-Id: If1419844544be08fa14b6c78c755abba35fff353
2015-03-12speed-up shortcut for non-alnum one character operators and separatorsEike Rathke
Change-Id: I57281f8e98a7427a562ede1d2dcd9ed4624f33e1
2015-03-12init and compare opcode hashmap with uppercase symbolsEike Rathke
This is necessary now there are TableRef items like #All that need to be matched case insensitive but displayed preserving the case as coded / translated. As a side effect, OOXML functions with _xlfn. prefix are now matched in case that prefix was uppercase. Change-Id: Ie14700d13c40c3e39e6d6aff560bcdfe23707196
2015-03-12Enhancement tdf#87972 : Cannot repeat items labels on a pivot tableDeena Francis
Change-Id: I44b2521ea548b51a1b3e9b42cfa64c5f50d7798a Reviewed-on: https://gerrit.libreoffice.org/14504 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Kohei Yoshida <libreoffice@kohei.us> Tested-by: Kohei Yoshida <libreoffice@kohei.us>