summaryrefslogtreecommitdiff
path: root/sc
AgeCommit message (Collapse)Author
2013-05-15Spelling "separate" (etc) correctly is hardTor Lillqvist
2013-05-14cppcheck: fix arrayIndexThenCheck/optimize loopsJulien Nabet
Change-Id: If399abf5fb3eaea91f4f5d5e86b86b37790d3c9a Reviewed-on: https://gerrit.libreoffice.org/3869 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2013-05-14fdo#55582 calc partLennard Wasserthal
Since the actual Patch for fdo#55582 hangs on the writer part, I commit that bloody sc part NOW, to appear as early as in 4.1. Change-Id: I01ce4a7a7738304f47efc718c382a5b1dee68ea2 Signed-off-by: Lennard Wasserthal <Wasserthal@nefkom.net> Reviewed-on: https://gerrit.libreoffice.org/3872 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2013-05-14convert army of header/footer dialogs to .ui formatCaolán McNamara
Change-Id: Iee43ce2020faeaa87b6f60d1c7af70f3e1e9c70f
2013-05-14split ScHFEditDlg into multiple classesCaolán McNamara
Change-Id: I4b2216fac0ef33cb9f906b9a01aff05759d39e47
2013-05-14refactor raw use of ScHFEditDlg to use ScAbstractDialogFactoryCaolán McNamara
Change-Id: Id9591bef0845b65d496103f82b0af5a828c4eaac
2013-05-14remove unneccessary argument from CreateScHFEditDlgCaolán McNamara
Change-Id: I2e2fa80678375d49ea4b100515eecd932a79b471
2013-05-14SolarMutex does not belong into the URE interfaceStephan Bergmann
...so move it from osl/mutex.hxx to its own comphelper/solarmutex.hxx. It looks like a newbie mistake that 59e7685d8d812ee8773f57475cbe3aa2a0bdfc81 "Create an abstract interface to be used to implement a SolarMutex" put it here in the first place. I do not consider this an incompatible change really, as no external URE client code should have used SolarMutex anyway. (Also included some clean up, like removing unused {Clearable,Resettable}SolarGuard, and spelling out SolarGuard in the few places it is used.) Change-Id: I121ffb5b7cefbc19e88b5405e5a85ffc895be852
2013-05-14resolved fdo#60468 no special tab case workaround for CSV importEike Rathke
This reverts 322cbc3818b0553254aab2dfb3c5b196fe814097 "Import mal-formed csv files gracefully." (code now moved to a different location) which was a workaround for a specific situation that breaks things with other documents. With the rework of CSV import for 3.6 the import of the one failing document https://bugzilla.novell.com/attachment.cgi?id=294589 from https://bugzilla.novell.com/show_bug.cgi?id=507322 works almost fine without this workaround, with one difference in row 1805 where data is completely broken and parts of two rows end up in one cell P1805. That row wasn't correct with the workaround either, see also cell P1805 in earlier versions. As a result now without that workaround there is one data row less for the broken document but correct data for correct documents. Change-Id: Iacf56993619cd92c1df81f0c49de0eeb04c2e4e4
2013-05-14initialized with plain 0, instead of sal_False/falseTakeshi Abe
Change-Id: I2df1bd52293c4423de5ac4c41f9392be1e8d2ccf
2013-05-14coverity#1000855 Unitialized scalar variableNorbert Thiebaud
Change-Id: I2bece68ed33f3aa193a30d9686ba81d21c7ec55e Reviewed-on: https://gerrit.libreoffice.org/3896 Reviewed-by: Kohei Yoshida <kohei.yoshida@suse.de> Tested-by: Kohei Yoshida <kohei.yoshida@suse.de>
2013-05-13cppcheck: fix uselessAssignmentPtrArgJulien Nabet
Change-Id: I260bb1207cebb8cefb52fe1db3f51b63239b25a7 Reviewed-on: https://gerrit.libreoffice.org/3873 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-05-13set correct single tab page parentCaolán McNamara
Change-Id: I078240882f727aa5f71785d7a0039eff8b402541
2013-05-13unused helpidsCaolán McNamara
Change-Id: I88d8aab53bf18720ebea4f3cc07de0368e943c29
2013-05-13reenable left/right area swap in .ui layout termsCaolán McNamara
Change-Id: Ic680a0e9f0254722163c1bd1b822d1c51f96454f
2013-05-13and now we can convert single-tab mode tooCaolán McNamara
Change-Id: I1283844ee07ddb47e799d5fe2eb795526c6c76fa
2013-05-13Convert Calc page header/footer content to Widget UIOlivier Hallot
Change-Id: I26465f69a7fa50fa58643c00225376a82ba8a7fc
2013-05-13fix Workbooks.xls unit test ( was failing on windows )Noel Power
Change-Id: Id1e3a761765c1e860f611f40a78a6c24fa17d055
2013-05-13fix uninitialised warningsNoel Grandin
Change-Id: I20af2e294482657e2107b96381e400a609374032
2013-05-13fdo#46808, Convert some chart2 services to new styleNoel Grandin
The services already existed, they just needed IDL files Change-Id: Ia7bdae932c5fb4b47d23afd2bb0756ecc9cbf6f7
2013-05-13fdo#46808 Convert chart2::FormattedString service to new styleNoel Grandin
API CHANGE: dropped the following services from the new unified interface because the current service does not implement them. service ::com::sun::star::style::CharacterProperties; [optional] service ::com::sun::star::style::CharacterPropertiesAsian; [optional] service ::com::sun::star::style::CharacterPropertiesComplex; Change-Id: I7cb6a5d4e998975b1272f4f4da03feea30cd30b6
2013-05-13remove dead codeNoel Grandin
Change-Id: I501ad5d514fa9f33f92efa3756d2a7c7801bd45a
2013-05-13fdo#46808, Convert sheet::GlobalSheetSettings service to new styleNoel Grandin
Change-Id: If5fc10e408427fe5d87968a0ad51a3142f895709
2013-05-13fdo#46808, Convert some XMultiServiceFactory to XComponentContextNoel Grandin
Change-Id: I409d4820dd772aa761e806ac06a4f210c801fb41
2013-05-13fdo#46808, Convert util::PathSettings service to new styleNoel Grandin
Change-Id: I302be46b46518e1e872771e1c8a0647f7c330b30
2013-05-13Support IMR_QUERYCHARPOSITION in Writer and Calc.Yohei Yukawa
IMR_QUERYCHARPOSITION is one of optional but fundamental request message sent from IMEs to application. This message is used for retrieving the positional information for each character in a composition text especially when the composition text is drawn by the application. This information is critical for IMEs to align suggestion window with the composition text. Change-Id: I53a344a78688060004cc8bcbbf1127f22a468e20 Reviewed-on: https://gerrit.libreoffice.org/3849 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2013-05-12cppcheck: unusedVariable (pPreviewPattr)Julien Nabet
Change-Id: Id7ebcb6b2b8ea209ee6158afdb0416b057a3077c
2013-05-10try fix build failure ( on some platforms ) uno::makeAny( 1 )Noel Power
Change-Id: I0107fc919a785195a1247c08ae019ed3f48f7e7d
2013-05-10Broadcast only on deleted cells that were previously non-empty.Kohei Yoshida
Change-Id: I87e9cffcb50f879b699fe8df141281fdc6d2dbae
2013-05-10fix various problems with vba Names & Names objectsNoel Power
a) Name.Value attribute was read only b) Name.[Get|Set]Value not working property c) Name.ReferToR1C1xxx attributes not returning r1c1 related addresses d) Names.Add just not working( should return a reference to the new Name ) e) Names.Add not handling multi-area addresses, not constructing the Content for the names correctly Change-Id: I6f3c1cf029d5e4003c5900a4e9525f5a0d9a8ed6
2013-05-10resolved fdo#64384 check subtotal row filtered also for single referenceEike Rathke
Change-Id: Ic00b9135021f2c5f76755efbe88fc1f12e655320
2013-05-10resolved fdo#35756 import more than 64k HTML table cellsEike Rathke
Enhanced EditEngine to be able to hold more than 64k paragraphs. Used also in RTF import Calc and Writer, so that could benefit as well. * changed all EditEngine,Outliner,... related paragraph index/count variables from sal_uInt16 to sal_Int32 * sal_Int32 instead of sal_uInt32 to match accessibility API * matched some Outliner methods' paragraph parameters from sal_uLong to sal_Int32 * containers capable to hold size_t nevertheless are limited to a maximum of sal_Int32 * changed definition of EE_PARA_NOT_FOUND and EE_PARA_ALL to SAL_MAX_INT32 + added EE_PARA_MAX_COUNT and EE_TEXTPOS_MAX_COUNT to initialize ESelection with what previously were hard coded 0xFFFF all over the place + for similar reason added EE_TEXTPOS_ALL corresponding to EE_PARA_ALL to initialize an ESelection spanning all available text like aSel(0,0,EE_PARA_ALL,EE_TEXTPOS_ALL) Change-Id: I62d1b9c399cd709a4f93dbac31b219a61c46ec00 Reviewed-on: https://gerrit.libreoffice.org/3838 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-05-10temporarily disable unit test that fails on windowsNoel Power
Change-Id: Id3cc26b6fbb1ec0ddacf7228e1c147085db415e1
2013-05-09coverity#705449: comparing array against NULLMarkus Mohrhard
Change-Id: I92ba78e96ad4f7c4a661dd879a721e422b6d0d2e
2013-05-09coverity#705446: self assignmentMarkus Mohrhard
Change-Id: I950a6d971b1be742fa7c0ce26697cd84121a14d0
2013-05-09add missing exception specificationLuboš Luňák
Change-Id: I3dff13178c60d1abfbfdbaee1352af3b3dd98061
2013-05-09ScHint doesn't need to store broadcaster pointer. Let's not.Kohei Yoshida
Change-Id: I86f9b44c87f3a730902d12505252e4b7e0a24fe4
2013-05-09Test more broadcaster relocation scenarios.Kohei Yoshida
Change-Id: Ib34b86cfe6b96134dadf5f8da6dcd14ec0adb9d6
2013-05-09Simplify this a bit.Kohei Yoshida
By taking advantage of 1) cell array being std::vector, and 2) broadcasters are no longer stored with cells. Change-Id: I9ba1d3004e62d7bb7810d8fed0c4e8fd17605d0f
2013-05-09This is not necessary either.Kohei Yoshida
Change-Id: I9651d58209afd1dd9a77d859db0925b586c3c8ab
2013-05-09No need to check for broadcaster's presence here.Kohei Yoshida
The old code did because it would then have to create a ScNoteCell to optionally store the broadcaster. That's no longer the case. Change-Id: I5e031270e0ed77425b2be192a1705c64c6fa8f45
2013-05-09Script types are unsigned char now.Kohei Yoshida
Change-Id: I744d66da3abd18753550692b931c6a1a52b83401
2013-05-09Set page style name to the sheet directly via ScDocument, not UNO API.Kohei Yoshida
This alone saves about 20 or more seconds during import of large xlsx document. Change-Id: I267236afbd0284f56d4fd079042a71936db0c3e3
2013-05-09Remove using namespace statements that may cause naming clashes.Kohei Yoshida
Change-Id: Ibf695f7ddaac8fa44e1d6d4ed69aea37743d1c9b
2013-05-09Change of plan. ScColumn::DeleteRange() will NOT broadcast. Ever.Kohei Yoshida
Change-Id: I610cafaab2d29d0260ebeacdd9b2bf75722a95f2
2013-05-09The same thing applies in reverse direction.Kohei Yoshida
Change-Id: I3f5863d79ad948461d63dbc9addc8ca01e1b275e
2013-05-09Fix another broadcaster bug and a test code to catch it.Kohei Yoshida
Broadcasters are now independent of cell storage. We need to move them even when the cell array is empty. Change-Id: Ib26e544ad6e3842fa722d989c994c19d7c1b3005
2013-05-09Test to ensure that removing a listening formula cell remove the broadcaster.Kohei Yoshida
Change-Id: Iae816c68ffed30fda0115ac0f5ac2800ceed5e58
2013-05-09More test and more fix wrt broadcaster rework.Kohei Yoshida
Much of the fix went into mdds actually. Change-Id: Ia27b0bde31081a5a28fb4afb80960777bd4fdd4f
2013-05-09Start writing unit test for broadcaster storage. Found & fixed one bug.Kohei Yoshida
Change-Id: Ibc00f3fb4eb188b036b4f3ae70e45cb9c7385fe8