summaryrefslogtreecommitdiff
path: root/sc
AgeCommit message (Collapse)Author
2016-12-22no need to catch exceptions in cppunit testsMarkus Mohrhard
The framework already catches exceptions and will fail the test. Change-Id: I8adfb5033fe11f6fefb1799c044b0a5a0acf2cbb
2016-12-21convert VclButtonsType to scoped enumNoel Grandin
Change-Id: I9b91108c18e190060dc71546977aa8a3c11f06e1 Reviewed-on: https://gerrit.libreoffice.org/32285 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
2016-12-21uitest: add selected area to gridwin stateMarkus Mohrhard
Change-Id: I27e17640cc426dc3a63c605e6a294c3f90f5350c Reviewed-on: https://gerrit.libreoffice.org/32279 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-12-21Unused declaration of 'Font'Stephan Bergmann
...used to be a declaration of vcl::Font prior to 60e78fbb806bb45e635ba1de45ceffe187938ac0 "fdo#82577: Handle Font" Change-Id: I8db61c2e6aa0a6a2931aafb6a4c0f51000ce9415
2016-12-21ODR violation (base class must be the same across compilation units)Stephan Bergmann
Change-Id: Ie95a45429cf2b512a302a50c701db9d8ac030c53
2016-12-21No apparent reason for an unnamed namespace in an include file hereStephan Bergmann
Change-Id: If93cef32c49d6fb05b45b60c6ba0a666c8858aaf
2016-12-21convert OutDevViewType to scoped enumNoel Grandin
Change-Id: Id980f09c198ca976c88b11030f5db9d6f010add1 Reviewed-on: https://gerrit.libreoffice.org/32274 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-12-21remove newly unused SfxImageManagerCaolán McNamara
Change-Id: If68637fe49b5d252ad4ec5d63d56261113be6a7c
2016-12-21drop GetImageManager use in sc and unwind ImageListCaolán McNamara
Change-Id: Ida10f14fa74785964efdc4b6645668562297895a
2016-12-21add T() test caseZdeněk Crhonek
Change-Id: Iadf479488df62e292c340e28f664b17faa5ca837 Reviewed-on: https://gerrit.libreoffice.org/32254 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-12-21convert EnumContext::Context to scoped enumNoel Grandin
Change-Id: I16ec63beb801073e5d604d852892c2fd6e8d8fc3 Reviewed-on: https://gerrit.libreoffice.org/32272 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-12-20add NEGBINOMDIST test caseZdeněk Crhonek
Change-Id: I61f734427dfd6e93457e11bd15cdbdf4c2093ecc Reviewed-on: https://gerrit.libreoffice.org/32248 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-12-20add NORM.S.INV test caseZdeněk Crhonek
Change-Id: I51263242ef9b228072f0820928986c0fcf20fc1f Reviewed-on: https://gerrit.libreoffice.org/32238 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-12-20add NORMSINV test caseZdeněk Crhonek
Change-Id: I4ef01af5538056e87cd2a0730fc946cdfce9bd32 Reviewed-on: https://gerrit.libreoffice.org/32239 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-12-20add NORMDIST, NORMSDIST test caseZdeněk Crhonek
Change-Id: I9916a3926e6b2174755e3d6ae63da4d8aa28e7c1 Reviewed-on: https://gerrit.libreoffice.org/32240 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-12-20add NORM.S.DIST test caseZdeněk Crhonek
Change-Id: Ie88ddb399f9db757b46ec4b70bbc8b75b244a6cd Reviewed-on: https://gerrit.libreoffice.org/32241 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-12-20convert SFX_EVENT constants to scoped enumNoel Grandin
SFX_EVENT_CLOSEAPP and SFX_EVENT_TOGGLEFULLSCREENMODE are never generated, so remove them and delete the code that receives them Change-Id: I2d003ba73fff0b02120ba29ff58e1d2399dedf00 Reviewed-on: https://gerrit.libreoffice.org/32168 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-12-19make IOS hack a DISABLE_DYNLOADING hack and extend for basctl+starmathCaolán McNamara
Change-Id: I07057dec477051ddc96600f467ffbb0c8bd1da5f Reviewed-on: https://gerrit.libreoffice.org/32144 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-12-19sc: Drop empty olkactTakeshi Abe
Change-Id: Idc23fd32fb5b3f411e874252c312ef73fa70698f Reviewed-on: https://gerrit.libreoffice.org/32131 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
2016-12-18sc: Drop empty drawvie2.cxxTakeshi Abe
Change-Id: Iaeb12e7456d79904e993bc3644066e0ef7d02316 Reviewed-on: https://gerrit.libreoffice.org/32132 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
2016-12-17Adapt to no-longer explicit OUStringLiteral ctorStephan Bergmann
...from previous commit Change-Id: I062b7cd212c17e7eb5274476e6859228d0477c7f Reviewed-on: https://gerrit.libreoffice.org/32098 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2016-12-16adjust rounding decimals to expected valuesEike Rathke
This may have been the cause for some tinderboxes choking on this test on Windows and Mac if the forecast results slightly differed due to the initialization with random values and the calculation taking place with a different internal floating point precision. So let's try. Blindly throwing ROUND(...,12) at all values is wrong anyway because that doesn't take the magnitude of the expected value into account. What we actually want is an accuracy of 12 digits, not an accuracy of 12 decimals. 0.123456789012 1.23456789012 12.3456789012 123.456789012 ... Change-Id: If88d75277c3d17cfd72f36d0f88d093b63da8add
2016-12-16tdf#104581 handle constraints for NEGBINOMDIST in compliance with ODFF1.2.Winfried Donkers
Also changed varaiable names for easier understanding of their meaning. Change-Id: I7c6f338c04898c7b07ebeb97fb331d51fa691f5b Reviewed-on: https://gerrit.libreoffice.org/31910 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2016-12-16Work around -Werror,-Wunused-macros (clang-cl)Stephan Bergmann
Change-Id: Iebe340f9594f0e1847055361cebce5930685efd9
2016-12-16tdf#71435: Accessible caret-moved events are missing when "freeze" is enabledTamás Zolnai
Two accessible document is created when "freeze" options is enabled. meSplitPos identifies which accessible document handle which part of the window. We should handle events only in that accessible document which handles the active part. Change-Id: Ic9674344951f620546dd272beaad796de611d258 Reviewed-on: https://gerrit.libreoffice.org/32065 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2016-12-16coverity#1397206 Resource leakCaolán McNamara
Change-Id: I497388a353425811ff18d9b1937ca536b562ddfc
2016-12-16coverity#1397200 Unchecked return valueCaolán McNamara
and coverity#1397201 Unchecked return value coverity#1397202 Unchecked return value Change-Id: I73cc6e3b08e6a44b27be2093ba568d46ebe0659a
2016-12-16remove superfluous this->Init() callEike Rathke
Init() does exactly the same, just that it didn't because it was already done ... Went in with IAccessible2 integration. Change-Id: Ib29bd000e283bbb500689914f1ceb692dd0ab380
2016-12-16Resolves: tdf#103543 disable mass broadcasts from drawing objects' changesEike Rathke
Specifically the a11y listeners are nasty bottle necks. A11y will get updated on paint/view. We're touching all objects on that drawing page to reposition so interdependencies that need to be broadcasted should not happen. Change-Id: Ic80446e22422a3097281ba20eecf0a078ac6a7cb
2016-12-16prevent mutiple broadcasts during the series of changes on one drawing objectEike Rathke
Change-Id: I3a26d3589cbbcb8359242f7e1709fa7c34bd2900
2016-12-15add HYPGEOM.DIST test caseZdeněk Crhonek
Change-Id: I6236428f8cfd17e52b5eac8c3747dcba6f83a440 Reviewed-on: https://gerrit.libreoffice.org/31964 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-12-15add LOGNORM.DIST test caseZdeněk Crhonek
Change-Id: I53983b90e8039caa6b104b160f3aba8f0e8f6363 Reviewed-on: https://gerrit.libreoffice.org/31969 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-12-15teach sallogareas plugin to catch inconsistenciesNoel Grandin
Change-Id: I8bcea5ffc74d48148bea78da8c17744e288c069a Reviewed-on: https://gerrit.libreoffice.org/32004 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-12-15add GAMMADIST test caseZdeněk Crhonek
Change-Id: I45f4e2905ee016a933f6ff6cc89fcd0ced106b18 Reviewed-on: https://gerrit.libreoffice.org/31962 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-12-14add to each calc export test name the export formatMarkus Mohrhard
Change-Id: I182826a224859a07fa264f3404aa2bef7013de3a Reviewed-on: https://gerrit.libreoffice.org/31992 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-12-13Calc tests - move statistical functions to new directoryZdeněk Crhonek
Change-Id: I38f9816a2d91eaa5825907a66ba99d98212b91ec Reviewed-on: https://gerrit.libreoffice.org/31958 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-12-13OSL_TRACE->SAL in avmedia..canvasNoel Grandin
Change-Id: Id9077ea29e7028c12f40abfd4c57756c863e3cd9
2016-12-13OSL_TRACE->SAL in sc..scriptingNoel Grandin
Change-Id: I389d8cb733a5ee24d3119a1ebac5a5b70daff04e Reviewed-on: https://gerrit.libreoffice.org/31900 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-12-12Calc function tests - move text function to new dirZdeněk Crhonek
Change-Id: I3a47c0e90e93050419326303c175cdc2adef6796 Reviewed-on: https://gerrit.libreoffice.org/31925 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-12-12tdf104532 handle constraints for NEGBINOM.DIST correctly.Winfried Donkers
Also changed variable names for easier understanding of their meaning. Change-Id: Iab558d7d1d9533f2a0c42e3d5f4acecead2e818e Reviewed-on: https://gerrit.libreoffice.org/31807 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2016-12-12loplugin:stringconstantTor Lillqvist
Change-Id: I5bf8adf86da9d2e9c53341cdbc94aba05557abfc
2016-12-12unwind RID_OUTLINEBITMAPS imagelistCaolán McNamara
Change-Id: I44a03f557d7a7aafeb17e5d662797203f975672f
2016-12-12manage OutlineBitmap imagelist directly in its owner userCaolán McNamara
Change-Id: I4437484192016db7ce72614ae07c5a7d1bd9ec5b
2016-12-12tdf#63593: revert 88f91adf266f19659014df22e09ce6c6761fb6f1Mike Kaganski
This patch caused a regression that on creation of a new sheet while there's an unfinished edit of a cell, by using "+" in bottom left corner, that edit is committed to newly created sheet instead of that in which it was performed. Also, fixing original problem (tdf#42432), it forced the pending edit on deleted page to go to an existing page, which could overwrite existing data without being noticed (dataloss). Reverting the patch does not reintroduce the original problem that it intended to fix (a crash) in master. Change-Id: I696a85ec9d08ebb3621ebdbce4d9f71eadcdb2c2 Reviewed-on: https://gerrit.libreoffice.org/31843 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-12-11Implement CSVDataProvider and perform some cleanup on itJaskaran Singh
Change-Id: Ic409bd4977fdf610294bd13b7ea83ef9a4c48667 Reviewed-on: https://gerrit.libreoffice.org/31750 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jaskaran singh <jvsg1303@gmail.com>
2016-12-10add NORM.DIST test caseZdeněk Crhonek
Change-Id: I6ee179f5a4418bd6d03694e26ff24b8e0264a795 Reviewed-on: https://gerrit.libreoffice.org/31828 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-12-10add NORM.INV test caseZdeněk Crhonek
Change-Id: Ic62fdcaf358031df87076373fedd3b2cf71943ba Reviewed-on: https://gerrit.libreoffice.org/31829 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-12-10Calc test case - move mathematical functions to new directoryZdeněk Crhonek
Change-Id: I0ca06b8d11b23d6a225026e8fd01622d4180201e Reviewed-on: https://gerrit.libreoffice.org/31831 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-12-10Calc tests - move spreadsheet tests to new directoryZdeněk Crhonek
Change-Id: Iae68359bb0e17412300db74ffdceed4341c5288e Reviewed-on: https://gerrit.libreoffice.org/31835 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-12-10add SUBSTITUTE test caseZdeněk Crhonek
Change-Id: I290710ee5242e33c4ce7b46a44068fcd54c245a8 Reviewed-on: https://gerrit.libreoffice.org/31840 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>