summaryrefslogtreecommitdiff
path: root/svl
AgeCommit message (Collapse)Author
2015-10-20sfx items: No need to confuse with 'USHORT_ARG' that is an 'int'.Jan Holesovsky
Change-Id: I61326bc52a5da527930810ff4516c707c31d1fde
2015-10-20loplugin:defaultparamsStephan Bergmann
Change-Id: Ia10dd1577f677a5b27571fc58b0e00ef973660b4
2015-10-19loplugin:defaultparamsStephan Bergmann
Change-Id: I1594cfb1bbada16c9ef13d98adb6edfaf0205405
2015-10-19convert DBG_ASSERTWARNING to SAL_WARN_IFNoel Grandin
I know the comment in debug.hxx said to use SAL_INFO, but SAL_WARN makes much more sense. Change-Id: I3d81f9db89ef8cebe1e4f2983941d69b4c7e6b7d
2015-10-19convert remaing DBG_WARNING to SAL_INFONoel Grandin
and drop the macro Change-Id: I452ca373d0c277166e94928c1bce78bf37e39d7c
2015-10-19sfx items: Get rid of the TypeId check, nobody uses that any more.Jan Holesovsky
And introduce the appropriate assert() in the templatized version instead. Change-Id: I3e5b01e5e5ee49049fa6f35e3d05ef65a1890dc1
2015-10-13cppcheck:variableScopeNoel Grandin
Change-Id: I7cbd5a9e9bb5417f754d4e2445df309140fd40af Reviewed-on: https://gerrit.libreoffice.org/19329 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-12Replace "SAL_FINAL" with "final" in LIBO_INTERNAL_ONLY codeStephan Bergmann
Change-Id: Ifa5ba21308e32df44571fa2941370f2f11179580
2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
2015-10-12Replace "SAL_DELETED_FUNCTION" with "= delete" in LIBO_INTERNAL_ONLY codeStephan Bergmann
Change-Id: I328ac7a95ccc87732efae48b567a0556865928f3
2015-10-07clang-analyzer-deadcode.DeadStoresStephan Bergmann
Change-Id: I0c0475ea6a38ecfd72772d287b8217a0754238d6
2015-10-07clang-analyzer-deadcode.DeadStoresStephan Bergmann
Change-Id: I3659c9d7b0b88a59c60aaedc5305b354bb977768
2015-10-07clang-analyzer-deadcode.DeadStoresStephan Bergmann
Change-Id: I95e230d3a16f742cf996beb3a93b2c0906cdd72a
2015-10-07clang-analyzer-deadcode.DeadStoresStephan Bergmann
Change-Id: If0d69a8d3bfaef732e436fad6a91851095fdb3be
2015-10-06 tdf#94559: 4th step to remove rtti.hxxOliver Specht
replaced use of PTR_CAST, IS_TYPE, ISA in idl, editeng, sc, sd, sw, sfx2, sot, starmath Change-Id: I4a5bba4fdc4829099618c09b690c83f876a3d653 Reviewed-on: https://gerrit.libreoffice.org/19132 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de>
2015-10-01svl: fix build "invalid operands to binary operator!="Michael Stahl
Change-Id: I948423922b286f98531aad4406c1b36cb6ef95b6
2015-10-01tdf#94559: third step to remove rtti.hxxOliver Specht
replaced use of PTR_CAST, IS_TYPE, ISA in oox, reportdesign, svl, svtools, svx, tools Change-Id: I1f85ff92267a0668eba625fa61b4f07feb8f3d4e Reviewed-on: https://gerrit.libreoffice.org/19002 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de>
2015-09-30Fix typosAndrea Gelmini
Change-Id: Icd2055ee1f941383d0338ea3515a9fbb6db1712a Reviewed-on: https://gerrit.libreoffice.org/18979 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-09-29use exponential 'E' format for General when appropriateEike Rathke
Fixes all these test case scenarios: 1. in A1 enter =1E222 * move cell cursor back onto A1 * status bar displays Sum=100000... repeated until filled (or 222 '0' characters) 2. invoke number format dialog on A1 * for General format 100000... is displayed in the preview 3. move cell cursor to A2 * open Function Wizard (Ctrl+F2) * choose (double click) ABS function * enter A1 as parameter * see 100000... displayed as Function result and Result 4. save as .ods * in content.xml see display text of A1 being saved as 100000... Change-Id: I7c22c0461a6783c85c1d51c31e8607fb2edb821c
2015-09-29Nobody would go down the corridor anymoreMiklos Vajna
Change-Id: Ic2cb2c4d9534d503828308183d55cea5b8d88112
2015-09-18Some follow-up #include clean-upStephan Bergmann
Change-Id: I4e91748701becfc92a379a490c08e9c7950007e3
2015-09-17boost->stdCaolán McNamara
Change-Id: Ifde84627578283bd057d7393eb7e5578ef5c029a
2015-09-12nRepPos is never readMatteo Casalin
Change-Id: I6acb6517b6a62c59dff058e28a9e59342bb32510
2015-09-10convert Link<> to typedNoel Grandin
Change-Id: Iaeaa33b0b066723d561df0c58f3faedead259d8f
2015-09-07tdf#91383: sw: prevent style preview from actually creating stylesMichael Stahl
The dialog/sidebar should not actually create styles that don't exist yet, because it messes up Undo and the (unused) styles are then unnecessarily exported to documents. Due to Writer's ... unusual SwDocStyleSheet class this is a bit tricky. Add a new function GetItemSetForPreview() and use it from the style preview code. The implementation does not use FillPhysical so will temporarily create and then delete any non-existing styles. Skip page and numbering styles for now since they don't have a useful preview. (regression from ca95307638207db5d662059aa61594151a13e927) Change-Id: Id6ee30ea467fc24c991547a4c23a9ce14fdd86c7
2015-09-07svl: tdf#88206 replace cppu::WeakImplHelper*Takeshi Abe
with the variadic variants. Change-Id: I7aad512c4de034ed96b9a48e797e580e605d98a6 Reviewed-on: https://gerrit.libreoffice.org/18351 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-01sw: include limits.h to fix build on Ubuntu 12.04Justin Luth
Change-Id: I37d4d4a933cfd1df8dc8f8258e270bd3dbcef714
2015-08-31rename _Disconnect to DisconnectCaolán McNamara
Change-Id: Ia7b5dce6dbdfd3cfd066003762f449b8bf1ff41a
2015-08-31Disconnect and Connect don't do anything nowCaolán McNamara
Change-Id: If18f530f613e7cb9d0c8f0989752f31178c97dcd
2015-08-31warning C4100: 'nId' : unreferenced formal parameterCaolán McNamara
Change-Id: Ib7df410c79dcdae343d4e7b250aad606fd777526
2015-08-31aDisconnectLink is never called, so remove itNoel Grandin
Change-Id: I9eba6d3f5335060f697ad53e7e2360ef2142609f
2015-08-31aConnectLink is never set, so remove itNoel Grandin
Change-Id: Idd4ecc2f9f566b2d1fa0127dae12fefe1e4479e8
2015-08-31loplugin:stringconstant: OUStringBuffer: appendAscii -> appendStephan Bergmann
Change-Id: I5aa87d22f0b810597ba5dd2f8b98d148ddb99020
2015-08-20tweak config-less sysconfig pathCaolán McNamara
Change-Id: I9b93b740aab2e6e2a19612d8ec41e699c1032e9e
2015-08-20loplugin: defaultparamsNoel Grandin
Change-Id: Ibf0ea539d2a95073a12f84964759d9c7a94baa7b
2015-08-19Consolidate isFileUrl checksStephan Bergmann
Change-Id: I1b74fdfaa09c4d0d6c296253958e83e78b546a9a
2015-08-18Remove newly unused ucbhelper/fileidentifierconverter.hxxStephan Bergmann
Change-Id: I7c272383ecb115e19699ed96bf5622d979403a01
2015-08-18Simplify isLocalFile_Impl checkStephan Bergmann
(vnd.sun.star.wfs is long gone) Change-Id: I5e6659302d9ff3cd4e2ae4bb09066b73f842f17f
2015-08-18Content of theIndexTable is known staticallyStephan Bergmann
...and initializing it on-demand in SvNumberFormatter::ImpGenerateFormats wasn't even thread safe (despite theIndexTable.maMtx): While one thread was cleaning and then filling it in ImpGenerateFormats, another thread could also enter ImpGenerateFormats and clean it again (and only later fill it), and the first thread might use the half-filled table after it left ImpGenerateFormats but before the second thread re-filled it. Change-Id: Iba4e9d57519d2b288718b9cb2e6f7546ba2bd5df
2015-08-18nNewExtended++ values are all known staticallyStephan Bergmann
Change-Id: I4134029257248c8eaea03354d043db2bb4cdba0e
2015-08-17make Link<> typedNoel Grandin
Change-Id: If16adfa3310df94c79d1a4fe9a9bb4f4f56365f0
2015-08-14fix windows build, 'unreferenced formal parameter'Noel Grandin
Change-Id: I0761b3c2220b3fa0c40836b1cd984a8d012bf8d6
2015-08-14fix windows build, partial revert of my commitNoel Grandin
adbc556c91ea4afaf3e952aa0a8329e004add63e "make Link<> instances typed" Change-Id: Ia8dd0d755e1c1ccf15938fc9f29bc83759d724a5
2015-08-14remove default value from SfxPoolItem::PutValueNoel Grandin
more useful to make it explicit. Specifically, otherwise my defaultvalue clang plugin would want to remove lots of places that contains #define constants which, while technically the same as the default value, convey semantic information which is quite useful. Change-Id: I918ad5b0e73ba279fa1b1489b62d900339ff71eb
2015-08-14make Link<> instances typedNoel Grandin
and remove some unused code Change-Id: I934824401b5c528b07ad76f753f78440c4492885 Reviewed-on: https://gerrit.libreoffice.org/17703 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-08-12cppcheck: noCopyConstructorCaolán McNamara
Change-Id: I62da241f237b17fc192dd586bcd35b5bd6ea284a
2015-08-12move date/time guess work to SvNumberFormatter::GuessDateTimeFormat()Eike Rathke
Change-Id: I26f7c47f5b3cf4a3c4274832448d9c8076981af0
2015-08-11cppcheck: noCopyConstructorCaolán McNamara
Change-Id: I20dabf3106d8f74fac5cc59f93a006875b9e1f91
2015-08-11loplugin: defaultparamsNoel Grandin
Change-Id: I1d88744207f7fa7c8230f8b29d9cc123f488dfaa
2015-08-06unit test for short name ambiguity, tdf#93080Eike Rathke
Change-Id: I97f33c8db59d2fc084b5e4eb389bff3d8254d4f0