summaryrefslogtreecommitdiff
path: root/svl
AgeCommit message (Collapse)Author
2014-11-11coverity#1242875 Use of untrusted scalar valueCaolán McNamara
Change-Id: I923fac826d5495af7caaa709dd2e844d8714c80b
2014-11-07callcatcher: number format serialization cleanup falloutCaolán McNamara
Change-Id: Ib5b5f653b027bfe5c05c0db417a2aa713309d9a5
2014-11-06remove now superfluous SetUsed() callsEike Rathke
Change-Id: Iaaabed4d0b507dafb7873da42869a856fc6ba573
2014-11-06remove now meaningless "since number formatter version ..." commentsEike Rathke
Change-Id: I1b7aeb3d055baacbf67065f67991894a420897b7
2014-11-06assert( nNewExtended <= ZF_STANDARD_NEWEXTENDEDMAX )Eike Rathke
Change-Id: I51ceee96f246006802879d94964ca161b63139fc
2014-11-06change nNewStandardDefined to bAdditionalBuiltinEike Rathke
and remove SV_NUMBERFORMATTER_VERSION_ADDITIONAL_I18N_FORMATS Change-Id: I63f341e74a1eb7172dbb024a5cef66435a46e1df
2014-11-06eliminate ImpInsertNewStandardFormat()Eike Rathke
Change-Id: I66fd200f1a504af22430e0471e1c98927101a9de
2014-11-06remove unnecessary SV_NUMBERFORMATTER_VERSION_NEWSTANDARDEike Rathke
Change-Id: I63e8925e54c48cc35e09d9cd993520d6c85622eb
2014-11-06remove unnecessary SV_NUMBERFORMATTER_VERSION_NF_TIME_HH_MMSS00Eike Rathke
Change-Id: Ia6e9594654f89cadaedc19e7c3bddc1083cf9347
2014-11-06remove unnecessary SV_NUMBERFORMATTER_VERSION_NF_DATE_WWEike Rathke
Change-Id: Ia0bee4a370e130a7e6fddd7cc984c31aa9a39a5d
2014-11-06remove unnecessary SV_NUMBERFORMATTER_VERSION_NF_DATETIME_SYS_DDMMYYYY_HHMMSSEike Rathke
Change-Id: I97c0f9154828c1d3ce801482242d951de8eab7e7
2014-11-06remove unnecessary SV_NUMBERFORMATTER_VERSION_FIXED_FRACTIONEike Rathke
Change-Id: Ia4779dba9b8068d172d47ce2aff32219634a9616
2014-11-06Revert "use the new OUString::fromUtf8 method"Stephan Bergmann
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 Bergmann
Change-Id: I862e491068ac88659bfd1cc99e7403dba2929275
2014-11-06If XPersistObject support is dropped, all this unsupported old data can goCaolán McNamara
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 McNamara
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 McNamara
and coverity#1242727 Untrusted value as argument Change-Id: Ibb212c39f43bcd3f0e0ddf973d1512ed0d7c2fc6
2014-11-06svl: remove unused codeNoel Grandin
Change-Id: I5a01162d2925eede97f1cdc24aa876179b8b43b4
2014-11-06use the new OUString::fromUtf8 methodNoel Grandin
Change-Id: I771004b7ccab3344a67e827e45bc34c22ffa5f77
2014-11-05markup with event type not checker typeCaolán McNamara
Change-Id: I14c0c5d90b67000cb4fe9e6be647854abfe784da
2014-11-05fdo#38835 strip out OUString globalsNoel Grandin
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 Vajna
Change-Id: Id13e10f2ceed3985c78ccc542e6677eccc0cb1c7
2014-10-30eliminate now unnecessary temporary OUStringEike Rathke
Change-Id: I8461cb3f9a3c1cd662b1bcbfc53ee56a498a7b35
2014-10-30coverity#1242956 Untrusted loop boundCaolán McNamara
Change-Id: I590207eee56bf40fbd9138719bbfd1fd05cbcd28
2014-10-29remove unnecessary 'using namespace rtl' declarationsNoel Grandin
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 McNamara
Change-Id: I034fa25671cce8ba215d7b8b88f0dff5b26d40cb
2014-10-16Resolves: fdo#81496 crash in calc format pageCaolán McNamara
Change-Id: Ic70f6f605e13a5c95b504f1bf0322e11313a21e7
2014-10-08spelling: instanciated -> instantiatedNoel Grandin
Change-Id: I99f3010e30f81786b938dc11736ea1597cd5530d
2014-10-01svl: std::auto_ptr -> std::unique_ptrStephan Bergmann
Change-Id: I1b8a52a92ecd465c19fb368ba206b4fdd6d86364
2014-10-01fdo#82577: Handle TimeNoel Grandin
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 Stahl
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 Grandin
left over from our conversion of the SvStream output operators to more specific methods Change-Id: I1d848f19f82783e6eabf2da37dbde78fe36ea1e0
2014-09-26remove unnecessary casts in calls to SvStream.WriteInt32Noel Grandin
left over from our conversion of the SvStream output operators to more specific methods Change-Id: I0c0172519479be0535a447e41a592fbf782751bd
2014-09-26remove unnecessary casts in calls to SvStream.WriteUInt16Noel Grandin
left over from our conversion of the SvStream output operators to more specific methods Change-Id: I482ca7abb84613971e7e8f839f7aa67a65cd71ff
2014-09-26remove pointless commentsNoel Grandin
Change-Id: I8edfe830b8f6ca7f1809332870e06d1d286b90e8
2014-09-26remove unnecessary casts'sNoel Grandin
left over from our conversion of the SvStream output operators to more specific methods Change-Id: I63f18be8e940098c2acbbc73ee49ede3a949fcb2
2014-09-26remove unnecessary static_cast'sNoel Grandin
left over from our conversion of the SvStream output operators to more specific methods e Please enter the commit message for your changes. Lines starting Change-Id: Ibfe7635451ef7b8813d7a59c78c5223092a17ad5
2014-09-25loplugin: cstylecastNoel Grandin
Change-Id: I75267bf44d0fd36ff316f59300efd31524da36ef
2014-09-25fdo#75757: remove inheritance to std::vectorTakeshi Abe
from DdeItemImp. Change-Id: Idb26f982f96ddf1641fd8030d87c88b0cbc14f16 Reviewed-on: https://gerrit.libreoffice.org/11482 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-09-17callcatcher: update unused codeCaolán McNamara
Change-Id: I2ddda0600ee876e9886ee3221f0ac5ad515fbd22
2014-09-12svl: remove misleading comment obsoleted by 18fa868fMichael Stahl
Change-Id: Ib598a77cef98376089620b8f06fa34cfbf9a7a02
2014-09-12Turn SfxItemState into a C++11 scoped enumerationStephan Bergmann
...to gain further confidence in the claim "that none of the existing code tries to uses combinations of these enum values" (d92602c5b13d0a60439d86c5a033d124178726ca "more fixes for SfxItemState") Change-Id: I987922d945e8738e38adfde83b869adf3ff35b13 Reviewed-on: https://gerrit.libreoffice.org/11384 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2014-09-12svl: test lenght before accessNorbert Thiebaud
Change-Id: Ia0f41da43f150cd664dd9d4b5adef4e387253bf8
2014-09-10Replace uses of old SFX_ITEM_AVAILABLE alias with SFX_ITEM_DEFAULTStephan Bergmann
Change-Id: I88eeac06413fc3935cbbdb357ff8bf9acaa383a8
2014-09-06SfxHint: convert home-grown RTTI to normal C++ RTTINoel Grandin
Also note that I fixed a bug in SvxFontMenuControl::Notify where the if statement had the check the wrong way around. Change-Id: I611e8929c65818191e36bd80f2b985820ada4411 Reviewed-on: https://gerrit.libreoffice.org/11147 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-08-22Remove some useless tools/debug.hxx includesMarcos Paulo de Souza
Also remove the tools/solar.h included from tools/debug.hxx. The include of solar.h header was necessary in some cases because of a macro or a typedef that was needed. Change-Id: Ia6e15d5c2571c58c9e9138b0d0a7f08ae88053c9 Reviewed-on: https://gerrit.libreoffice.org/11075 Reviewed-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com> Tested-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
2014-08-20fix string out-of-bounds assert on gnome627759-1.odsCaolán McNamara
i.e. on soffice --headless --convert-to pdf gnome627759-1.ods Change-Id: I01289d5afcc79b7180cc12f8ee345ac760b6a637
2014-08-18detect * with no character following as invalid format codeEike Rathke
... so adding it to the list in Format Numbers using the checkmark button is not possible. Change-Id: I57ca6a7a3617583a82a99c87291373b1fe4e246d
2014-08-18more out-of-bounds string accessesEike Rathke
Change-Id: Id5df5775e4c5bfb1c484e60e6831f6bc77158d35
2014-08-18do not even append the 0x1B in this caseEike Rathke
Change-Id: I016869b9d2230dfe6af233b1c3ae9b6de4818ce7