summaryrefslogtreecommitdiff
path: root/svl
AgeCommit message (Collapse)AuthorFilesLines
2015-08-20tdf#93071 Remove trailing zeroes of scientific in General formatLaurent Balland-Poirier1-1/+1
(cherry picked from commit a6fbbfd2f42f5361d53bd4b330a507d94d636923) Change-Id: I408bab7edf58020fc1ec541dc940c84d387bb56c Reviewed-on: https://gerrit.libreoffice.org/17770 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-08-20Resolves: tdf#93080 short day name and month name may interfereEike Rathke2-6/+52
(cherry picked from commit c7d66949beecab92dc8f1380c54751710aa0b7a2) Conflicts: svl/source/numbers/zforfind.cxx Change-Id: I088633e4cff278e1add8eeea8828f9ba9c9fb140 Reviewed-on: https://gerrit.libreoffice.org/17546 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-06-03Resolves: tdf#91420 "Jan1, 2015" is a valid dateEike Rathke1-2/+6
Regression introduced with 43624d9370c4384f71c6b13fed900eaec222cf64 that fixed tdf#34724 Change-Id: I44b5eac6e4ce5a38855148efecea5f2a987ed213 (cherry picked from commit fe2c7b25152df4c89e44c6516081d43d68075736) Reviewed-on: https://gerrit.libreoffice.org/16018 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-03-03Resolves: tdf#89500 catch ISO 8601 datetime in all localesEike Rathke1-7/+26
Change-Id: I906ebdc6aa5c365df98a29e9e0f319f89f6833c6 (cherry picked from commit 5d572e673dec3396487b14bb1f9e86aa8ab86786) Reviewed-on: https://gerrit.libreoffice.org/14565 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-11-25Adjust ref undo to ensure group area listeners are used.Kohei Yoshida1-1/+3
When undoing row deletion (and possibly other similar undo's). And write test for it. Change-Id: I04b4fd9932f4236f124dcd25967355c6055dec33 (cherry picked from commit 0dae7466fff1e742543ef7512b7dd22472c75624)
2014-11-18Apply pimpl to svl::SharedStringPool.Kohei Yoshida2-50/+77
Change-Id: I351505f0c1cb25c47897e0cfffdb258f8e87081f
2014-11-18cppuhelper: clean up public headers with include-what-you-useMichael Stahl6-1/+7
Change-Id: I41ba46831f24b2960a1fe982b74a2b623e682e0b
2014-11-18cppu: clean up public headers with include-what-you-useMichael Stahl1-0/+1
Unfortunately iwyu gets quite confused by the weird cyclic dependencies between various foo.h/foo.hxx and cppumaker generated headers, so it's not obvious if any improvement here is realistic... Change-Id: I0bc66f98b146712e28cabc18d56c11c08418c721
2014-11-18Make these non-inline and add the const version of the getter.Kohei Yoshida1-0/+9
Change-Id: I8c175dcaaa51e2b05895226907697b070a2e2f77
2014-11-18java: make fields final where possibleNoel Grandin1-1/+1
found by PMD Change-Id: I87780366119c141cd2dafe6ca1bf2d9798b10aec
2014-11-17coverity#1242810 Untrusted loop boundCaolán McNamara1-0/+10
Change-Id: I457f0f92dc32630e52efbb2bd068208a8570c5d0
2014-11-17sal: clean up public headers with include-what-you-useMichael Stahl28-0/+31
Sadly cannot forward declare "struct {...} TimeValue;". rtl/(u)?string.hxx still include sal/log.hxx but removing osl/diagnose.h was painful enough for now... Change-Id: Id41e17f3870c4f24c53ce7b11f2c40a3d14d1f05
2014-11-17"#pragma hdrstop" looks quite obsoleteMichael Stahl1-4/+0
Change-Id: Id4b01f02d5d90215164c07b8076498df65978fa3
2014-11-16coverity#1242630 reorganize to help coverity outCaolán McNamara1-1/+6
Change-Id: I18124cd8d7aadbab22114fa9d38607b43862f9ea
2014-11-14coverity#1242630 Untrusted loop boundCaolán McNamara1-3/+17
Change-Id: I985f47d6e5f5aa86099b86ad4666b194f4b25b83
2014-11-14fdo#86023 - O[U]String needs a 'clear' methodBrij Mohan Lal Srivastava8-9/+9
Added clear() method to OString and OUString class, Updated appropriate call-sites. Change-Id: I0ba97fa6dc7af3e31b605953089a4e8e9c3e61ac Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-11-12drop pool ver 1 import supportCaolán McNamara1-278/+2
this unloved streaming format is internal only now and used for editengine c&p and (reportedly) autotable format storage. So we shouldn't encounter version 1 files anymore coverity#1242764 Untrusted loop bound Change-Id: If8e5717e997cf915f45f6e9484bb97d472e4dc2f
2014-11-12Fix common typos. No automatic tools. Handmade…Andrea Gelmini5-9/+9
Change-Id: I1ab4e23b0539f8d39974787f226e57a21f96e959 Reviewed-on: https://gerrit.libreoffice.org/12164 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-11-11coverity#1242875 Use of untrusted scalar valueCaolán McNamara1-4/+9
Change-Id: I923fac826d5495af7caaa709dd2e844d8714c80b
2014-11-07callcatcher: number format serialization cleanup falloutCaolán McNamara2-77/+0
Change-Id: Ib5b5f653b027bfe5c05c0db417a2aa713309d9a5
2014-11-06remove now superfluous SetUsed() callsEike Rathke1-10/+5
Change-Id: Iaaabed4d0b507dafb7873da42869a856fc6ba573
2014-11-06remove now meaningless "since number formatter version ..." commentsEike Rathke1-6/+5
Change-Id: I1b7aeb3d055baacbf67065f67991894a420897b7
2014-11-06assert( nNewExtended <= ZF_STANDARD_NEWEXTENDEDMAX )Eike Rathke1-0/+1
Change-Id: I51ceee96f246006802879d94964ca161b63139fc
2014-11-06change nNewStandardDefined to bAdditionalBuiltinEike Rathke2-5/+5
and remove SV_NUMBERFORMATTER_VERSION_ADDITIONAL_I18N_FORMATS Change-Id: I63f341e74a1eb7172dbb024a5cef66435a46e1df
2014-11-06eliminate ImpInsertNewStandardFormat()Eike Rathke1-19/+10
Change-Id: I66fd200f1a504af22430e0471e1c98927101a9de
2014-11-06remove unnecessary SV_NUMBERFORMATTER_VERSION_NEWSTANDARDEike Rathke1-45/+30
Change-Id: I63e8925e54c48cc35e09d9cd993520d6c85622eb
2014-11-06remove unnecessary SV_NUMBERFORMATTER_VERSION_NF_TIME_HH_MMSS00Eike Rathke1-3/+2
Change-Id: Ia6e9594654f89cadaedc19e7c3bddc1083cf9347
2014-11-06remove unnecessary SV_NUMBERFORMATTER_VERSION_NF_DATE_WWEike Rathke1-3/+2
Change-Id: Ia0bee4a370e130a7e6fddd7cc984c31aa9a39a5d
2014-11-06remove unnecessary SV_NUMBERFORMATTER_VERSION_NF_DATETIME_SYS_DDMMYYYY_HHMMSSEike Rathke1-3/+2
Change-Id: I97c0f9154828c1d3ce801482242d951de8eab7e7
2014-11-06remove unnecessary SV_NUMBERFORMATTER_VERSION_FIXED_FRACTIONEike Rathke1-6/+4
Change-Id: Ia4779dba9b8068d172d47ce2aff32219634a9616
2014-11-06Revert "use the new OUString::fromUtf8 method"Stephan Bergmann1-1/+1
This reverts commit 05050cdb23de586870bf479a9df5ced06828d498, not all places that use e.g. OStringToOUString to convert potential UTF-8 are guaranteed to fulfil the prerequisites necessary to use fromUtf8 (and some places like e.g. in codemaker are happy with the best-effort effect of OStringToOUString's OSTRING_TO_OUSTRING_CVTFLAGS).
2014-11-06-Werror,-Wunused-const-variableStephan Bergmann1-4/+0
Change-Id: I862e491068ac88659bfd1cc99e7403dba2929275
2014-11-06If XPersistObject support is dropped, all this unsupported old data can goCaolán McNamara6-745/+4
Change-Id: I7000df307920b1b04b81cc4c436009cf6b6548e0 Reviewed-on: https://gerrit.libreoffice.org/12282 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-11-06drop XPersistObject support from SvNumberFormatsSupplierServiceCaolán McNamara2-37/+0
why should css.util.NumberFormatsSupplier support XPersistObject and need read/write support ? Change-Id: I62bc2fa3a0adef6cf5b7006f4e2bf3a9a157043d Reviewed-on: https://gerrit.libreoffice.org/12281 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2014-11-06coverity#1242693 Untrusted value as argumentCaolán McNamara1-0/+7
and coverity#1242727 Untrusted value as argument Change-Id: Ibb212c39f43bcd3f0e0ddf973d1512ed0d7c2fc6
2014-11-06svl: remove unused codeNoel Grandin1-6/+0
Change-Id: I5a01162d2925eede97f1cdc24aa876179b8b43b4
2014-11-06use the new OUString::fromUtf8 methodNoel Grandin1-1/+1
Change-Id: I771004b7ccab3344a67e827e45bc34c22ffa5f77
2014-11-05markup with event type not checker typeCaolán McNamara2-8/+3
Change-Id: I14c0c5d90b67000cb4fe9e6be647854abfe784da
2014-11-05fdo#38835 strip out OUString globalsNoel Grandin1-3/+3
they are largely unnecessary these days, since our OUString infrastructure gained optimised handling for static char constants. Change-Id: I07f73484f82d0582252cb4324d4107c998432c37
2014-11-02unused includes in RTF filter and related filesMiklos Vajna1-4/+0
Change-Id: Id13e10f2ceed3985c78ccc542e6677eccc0cb1c7
2014-10-30eliminate now unnecessary temporary OUStringEike Rathke1-3/+1
Change-Id: I8461cb3f9a3c1cd662b1bcbfc53ee56a498a7b35
2014-10-30coverity#1242956 Untrusted loop boundCaolán McNamara1-5/+7
Change-Id: I590207eee56bf40fbd9138719bbfd1fd05cbcd28
2014-10-29remove unnecessary 'using namespace rtl' declarationsNoel Grandin2-2/+0
It turns out that almost none of them were necessary. Change-Id: I1311ed28409c682b57ea8d149bcbaf2c49133e83 Reviewed-on: https://gerrit.libreoffice.org/12133 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-17coverity#1242604 attempt to silence Untrusted loop boundCaolán McNamara1-2/+4
Change-Id: I034fa25671cce8ba215d7b8b88f0dff5b26d40cb
2014-10-16Resolves: fdo#81496 crash in calc format pageCaolán McNamara1-1/+4
Change-Id: Ic70f6f605e13a5c95b504f1bf0322e11313a21e7
2014-10-08spelling: instanciated -> instantiatedNoel Grandin1-1/+1
Change-Id: I99f3010e30f81786b938dc11736ea1597cd5530d
2014-10-01svl: std::auto_ptr -> std::unique_ptrStephan Bergmann1-4/+13
Change-Id: I1b8a52a92ecd465c19fb368ba206b4fdd6d86364
2014-10-01fdo#82577: Handle TimeNoel Grandin1-2/+2
Put the TOOLS Time class in the tools namespace. Avoids clash with the X11 Time typedef. Change-Id: Iac57d5aef35e81ace1ee0d5e6d76cb278f8ad866 Reviewed-on: https://gerrit.libreoffice.org/11684 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-09-30SfxBroadcaster: add some SolarMutex assertsMichael Stahl1-0/+3
It is extremely likely that calling SfxBroadcaster methods without SolarMutex lock is a bug; in case somebody finds a counterexample, this should be reverted. Change-Id: I4706671cfa22a3cfaed9cd33d4a77b14a57bb661
2014-09-26remove unnecessary casts in calls to SvStream.WriteUInt32Noel Grandin1-1/+1
left over from our conversion of the SvStream output operators to more specific methods Change-Id: I1d848f19f82783e6eabf2da37dbde78fe36ea1e0