summaryrefslogtreecommitdiff
path: root/sc
AgeCommit message (Collapse)Author
2017-03-23loplugins:redundantcast teach it about c-style typedef castsNoel Grandin
Change-Id: I1ac11a2481c0f4d8be1e1fd7c7637ac0ece3d65c Reviewed-on: https://gerrit.libreoffice.org/35558 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-03-23convert SC_CELL_SHIFT_DISABLE to o3tl::typed_flags enumNoel Grandin
Change-Id: Iae4358828edc6bad26ef5c769a8ff42fe63ade7b Reviewed-on: https://gerrit.libreoffice.org/35556 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-03-23convert NAME constants to CreateNameFlags o3tl::typed_flags enumNoel Grandin
Change-Id: I6265c76067402808454184f1318feeb78a140617 Reviewed-on: https://gerrit.libreoffice.org/35555 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-03-23convert INS_CONT constants to o3tl::typed_flags enumNoel Grandin
Change-Id: Ic59dad906c58ee765f36fac685c038c79bca9f3b Reviewed-on: https://gerrit.libreoffice.org/35557 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-03-23“Hyperlink” is NOT a dated word, it’s just a precise oneAdolfo Jayme Barrientos
We should always be clear and precise, given that LibreOffice handles various kinds of links. Nobody at L10n wanted this change, but they were ignored. This should fix tdf#103093, which was a consequence of the introduced ambiguity. This reverts commit a1297fc2df243d765ffb14f18bbdde158459b9f4. Change-Id: I29232c7a8384c3fa501c61aab26e061ebcb1a0d8
2017-03-23Typo: boder->borderJulien Nabet
Change-Id: I46940c5b584f93b478b1dfca9aa66e036fe951c2 Reviewed-on: https://gerrit.libreoffice.org/35547 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-03-22Use rtl::isAscii* instead of ctype.h is* (and fix passing plain char)Stephan Bergmann
Change-Id: Ia3cc11ed882bf7e58c008f68af4340336c82b119
2017-03-22tdf#96099 Reduce no of typedefs used for trivial containersDennis Nielen
Change-Id: Idf7bd4c80f9dc1fb9f93859e1e1106dd620d2311 Reviewed-on: https://gerrit.libreoffice.org/35511 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-03-22fix typo: bee --> be or beendennisroczek
* Removed old comment cruft * clean up some indentation Change-Id: I0ddbd66aec0f27d7563dc4c2cfa2e095a48cda46 Reviewed-on: https://gerrit.libreoffice.org/35134 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-03-22loplugin:redundantcast find redundant c-style enum castsNoel Grandin
Change-Id: I2dab376d87804521aed6b6bd41ad7762830fa349 Reviewed-on: https://gerrit.libreoffice.org/35467 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-03-20remove unused defines from HRC files in misc(2)Noel Grandin
Change-Id: I6d27c03925e7756022c3e343c0873c4dd1dd90dc Reviewed-on: https://gerrit.libreoffice.org/35324 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-03-20remove unused defines from HRC files in sc(2)Noel Grandin
Change-Id: I368abd0c39151c65ac8f0d56cbb6f2c498131534 Reviewed-on: https://gerrit.libreoffice.org/35322 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-03-20impower test case - repairZdeněk Crhonek
Change-Id: Iada2cf246b46c316c3127a27fced6569704d7a9b Reviewed-on: https://gerrit.libreoffice.org/35446 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Zdenek Crhonek <zcrhonek@gmail.com>
2017-03-19add test for tdf#93151Markus Mohrhard
Change-Id: Ia51c50d29b4790d88e8b8e4b0708d6995d4226f7 Reviewed-on: https://gerrit.libreoffice.org/35440 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-03-19TyposJulien Nabet
Change-Id: I13020539fe121151e884a90d72d47788fb3ae65c Reviewed-on: https://gerrit.libreoffice.org/35436 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-03-19impwer testcase - repair buildbot errorZdeněk Crhonek
roundsig(, 15) -> roundsig(, 12) Change-Id: I5b9b09f136fc1cf0c1842a4767ee4e2b9f8b45b5 Reviewed-on: https://gerrit.libreoffice.org/35431 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Zdenek Crhonek <zcrhonek@gmail.com>
2017-03-19Fix typos + some German translationsAndrea Gelmini
Change-Id: I1c5bb725ffdf72363279436ad9bbb88064228253 Reviewed-on: https://gerrit.libreoffice.org/35406 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2017-03-18add test for tdf#95306Markus Mohrhard
Change-Id: I5f7b38eda7555f0d485318f1b43cf7c890260a89
2017-03-18add test for tdf#105909Markus Mohrhard
Change-Id: Iba9922f40b4b72039f35371c42aa24bac52a8adc Reviewed-on: https://gerrit.libreoffice.org/35383 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-03-18extend the test for invalid names, related tdf#86214Markus Mohrhard
Change-Id: Ia47ed333ffc2cc9510f3f971ee5de93f2db7b908
2017-03-18add test for tdf#86214Markus Mohrhard
We should extend the test and check for all invalid names. At the same time this can be used as indirect documentation of the names that are not allowed. Change-Id: I9c8b760d49ce2bfe40158a9096246a75f727ff9d
2017-03-18remove EE_RESSTR preprocessor abuseBjoern Michaelsen
Change-Id: I83b35c4e2d4275ac76a36bec03807be69a605c58 Reviewed-on: https://gerrit.libreoffice.org/35370 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2017-03-17Use SfxObjectFactory::GetFactoryName/URLMatteo Casalin
instead of OUString::createFromAscii( GetShortName() ), in one case manually added to factory URL prefix. Change-Id: I762fc1bcd6dcf7246531816faad2682caf9133fb Reviewed-on: https://gerrit.libreoffice.org/35371 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Matteo Casalin <matteo.casalin@yahoo.com>
2017-03-17remove unused defines from HRC files in sc(1)Noel Grandin
Change-Id: I7803a0564b2f7a2308bd7d009dbd300bec8a755f Reviewed-on: https://gerrit.libreoffice.org/35316 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-03-17cleanup double includes and declarationsJochen Nitschke
Change-Id: I770e09f48b1a3e8299f59a8e475ba3c18d436d7b Reviewed-on: https://gerrit.libreoffice.org/35312 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
2017-03-17convert SvxBorderStyle to scoped enumNoel Grandin
and rename to SvxBorderLineStyle Change-Id: I19e530f162e4ca6290a0ad076e7fe3d5775ae6bc Reviewed-on: https://gerrit.libreoffice.org/35265 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-03-17add more conditional format one cell to range tests, related tdf#106242Markus Mohrhard
Change-Id: I6daa394618f7d2b06251091497128fa96391d386 Reviewed-on: https://gerrit.libreoffice.org/35296 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-03-17add test for tdf#106242Markus Mohrhard
Change-Id: I11f67c118617c78fa86b87afed87fcddba4e69e1 Reviewed-on: https://gerrit.libreoffice.org/35295 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-03-17CopyOneCellFromClip also copies one row ranges, tdf#106242Markus Mohrhard
Change-Id: I1750d411766ba2b4128fc1c00769a8b2e56e7547 Reviewed-on: https://gerrit.libreoffice.org/35294 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-03-17add test for tdf#106459Markus Mohrhard
Change-Id: I2a8c8d5fe253c08c5e3c7b57e6df677ebe7e384d Reviewed-on: https://gerrit.libreoffice.org/35305 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-03-17tdf#104383: prevent crash during file load.Kohei Yoshida
Apparently xView may be null sometimes. Change-Id: Icef81159eeaf5c9bdb0a91e036019b820952d20b Reviewed-on: https://gerrit.libreoffice.org/35304 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
2017-03-16add tests for tdf#104026Markus Mohrhard
Change-Id: I928828f5f3ee22429e174e6e761d6683a36fdb24 Reviewed-on: https://gerrit.libreoffice.org/35290 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-03-16the range should be updated after the references, tdf#104026Markus Mohrhard
Change-Id: I2cb674b8b3bc64df031b473b337d266a2eaab43d Reviewed-on: https://gerrit.libreoffice.org/35289 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-03-16use forward declaration for SfxItemSetJochen Nitschke
Change-Id: I81f5d1ca22868d278662a55443e2038581dd3246 Reviewed-on: https://gerrit.libreoffice.org/35280 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-03-16sc lok: Edit annotation by idPranav Kant
Change-Id: Iaea08b7a31fab1a8c9b8edc193754821c6608c53 Reviewed-on: https://gerrit.libreoffice.org/35249 Reviewed-by: pranavk <pranavk@collabora.co.uk> Tested-by: pranavk <pranavk@collabora.co.uk>
2017-03-16sc lok: Delete cell note by IdPranav Kant
Change-Id: I97224afb4eb7af36abefd0c3b59ee07de7eaa601 Reviewed-on: https://gerrit.libreoffice.org/35247 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: pranavk <pranavk@collabora.co.uk>
2017-03-16Fix typosAndrea Gelmini
Change-Id: I1488e2147fa0cd4a821eb5bfe172a58a4e396ace Reviewed-on: https://gerrit.libreoffice.org/35224 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2017-03-16drop GetId() from SfxUndoActionNoel Grandin
mostly so that the subclasses can use proper enum types for their own IDs. It turns out that nothing at the svl/sfx2 level needs an ID anyhow. Change-Id: I3c020aeafb812fa30d896216d4e3bc1a82cbfeab Reviewed-on: https://gerrit.libreoffice.org/35222 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-03-15remove useless castsJochen Nitschke
Change-Id: I900b72372a56d341d18091b0d4721d31002d147f Reviewed-on: https://gerrit.libreoffice.org/35223 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-03-15tdf#105040 Notebookbar: added shortcuts toolboxSzymon Kłos
In the tabbed notebookbar the shortcuts toolbox is introduced. It is placed before tab labels, after the menu button. Customization is possible, buttons are loaded from the newly created toolbar "Notebookbar shortcuts". NotebookbarTabControl was moved to the sfx module. Change-Id: Ifa4a1688c6e92c2f03bd386608e3e9d1c28069d4 Reviewed-on: https://gerrit.libreoffice.org/35194 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2017-03-15remove trailing blanks on empty lineEike Rathke
Change-Id: Ie6f34729b70ffc7e002c8fb9d88f343ac97a0dac
2017-03-15revert header move of viewdata.hxx and viewutil.hxxEike Rathke
It is better to have two exceptions than making these UI files globally available. This effectively reverts commit a0f6374670f67646e802aef45d927a8746b2ae12 Change-Id: I0f7f1159058be0f5038fbffd7efb5c3a9da3f27c
2017-03-15introduce ScGeneralFunction scoped enumNoel Grandin
to abstract over css::sheet::GeneralFunction and css::sheet::GeneralFunction2 Change-Id: I4d4df35a249bf66e12240a3b94948918f1f3ef8a Reviewed-on: https://gerrit.libreoffice.org/35168 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-03-15Make the header file more readable.Gulsah Kose
Change-Id: I855f61a474eb423335d58853173b56f91949b6d5 Signed-off-by: Gulsah Kose <gulsah.1004@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/34994 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com>
2017-03-15tdf#90290 use custom asserter in ucalc_formula.cxxkerem
Change-Id: I77d3507f263660a7f35ef84a26e4a9860a2be802 Reviewed-on: https://gerrit.libreoffice.org/34984 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com>
2017-03-15convert SvxFrameDirection to scoped enumNoel Grandin
Based on the casts in chart2/source/view/main/ChartView.cxx and the similarity of naming of values, I conclude that this enum was intended to abstract over css::text::WritingMode2. Added a comment to that effect. Change-Id: I3af8bbe8b6ac8c4a9375f6ccde145b98b9c69a57 Reviewed-on: https://gerrit.libreoffice.org/35164 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-03-15tdf#106253 Test Precision as shown for thousand separatorsLaurent Balland-Poirier
Change-Id: I2e07667884d072a875b7bf5e5c7cf4c3e5d98332 Reviewed-on: https://gerrit.libreoffice.org/35098 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins <ci@libreoffice.org>
2017-03-14tdf#106253 Precision as shown for thousand dividorLaurent Balland-Poirier
Info().nThousand contains number of thousands dividors after which digits are not displayed, i.e. 12345 is displayed as 12 with format 0, (in en_US) Change-Id: Ifa5540f2efd8ab006a07eade53f7aa0d31a19eac Reviewed-on: https://gerrit.libreoffice.org/35097 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com>
2017-03-14Translate German comments in sc/source/ui (part of its sub-dirs)Johnny_M
Change-Id: I9149316b71a897404a248276cc0ded9cdd50d627 Reviewed-on: https://gerrit.libreoffice.org/34886 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com>
2017-03-14properly align the confusing bracesEike Rathke
Change-Id: Idd02e2eace5313ae419bfe99e3ad34e67e1c970b