summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* typo: te -> theThomas Arnhold2014-04-141-1/+1
|
* remove OV* debug stuffThomas Arnhold2014-04-141-6/+0
|
* remove outdated RS6000 checksThomas Arnhold2014-04-141-2/+2
|
* replace some SvStream seeking with calls to remainingSize()Michael Stahl2014-04-111-5/+2
| | | | Change-Id: I2905e98425b9991d6138ab0adc15083d313ca445
* coverity#984163 Uninitialized scalar fieldCaolán McNamara2014-04-111-0/+1
| | | | Change-Id: I3ad2a8d22ef274a63de5c01cc74c7d46f947f861
* coverity#1079187 Uninitialized pointer readCaolán McNamara2014-04-031-0/+1
| | | | Change-Id: Ie3044bebc7921b0fa98f9a9a01f99ef0f2d05eb8
* init a few more stream-read svm elementsCaolán McNamara2014-04-021-1/+1
| | | | Change-Id: I3dfa2485afbe66131b86764374d53181b55c2346
* valgrind: Conditional jump or move depends on uninitialised valueCaolán McNamara2014-04-021-1/+1
| | | | Change-Id: I1939d376afe5dd5c67f378ffb2520a066dc99077
* coverity#708559 Uninitialized pointer fieldCaolán McNamara2014-04-011-9/+27
| | | | Change-Id: Ic5b0d4634f223c57bb19c49cc853e8ec5582d1d1
* Kill FSYS_MAC which is for ancient non-OS X MacTor Lillqvist2014-04-011-85/+9
| | | | Change-Id: I51e91b97217507bcdca8c82f8a8683758d871185
* Remove now unused obsolete tools/debug.hxx functionalityStephan Bergmann2014-03-314-538/+0
| | | | Change-Id: I1bc585af8f0189dfa219bd42a5f09871a006c6ea
* MSVC helpfully provides warning C4310: cast truncates constant valueMichael Stahl2014-03-302-4/+4
| | | | Change-Id: I985216d7bade6cbb3a037b07fe44438543d63ba0
* tools, sc: fix GCC -Werror=type-limits (comparison is always true)Michael Stahl2014-03-301-1/+0
| | | | | | ... on 32 bit platforms. These asserts appear to be impossible anyway. Change-Id: I6bd332ca49e9992740315e0f6c58e98ac337817c
* deploy some asserts to detect truncated STREAM_SEEK_TO_ENDMichael Stahl2014-03-303-0/+10
| | | | | | | | | | | Since STREAM_SEEK_TO_END is now 64 bits it could happen that some existing code uses it in some indirect manner and it gets truncated to 32 bits somewhere (on 32 bit platforms); try to detect that with asserts. Of course the checked value is now a valid stream position, so perhaps the checks should eventually be removed. Change-Id: I4248c00d758220bdc3ee94c7aa7a7bd4c86c57f0
* tools: try to fix std::min ambiguity for MSVCMichael Stahl2014-03-291-2/+4
| | | | Change-Id: Id81ad8702d513c5bb3f4f8de2f9d7c75c7852d4d
* tools: remove unused SvStream::IsA() and associated ID_*STREAM macrosMichael Stahl2014-03-294-31/+0
| | | | Change-Id: I6ed0991fb5bd1d5085ee1b93323b57b1afc69860
* tools: support 64-bit file positions in SvStreamMichael Stahl2014-03-294-67/+67
| | | | | | | | | | | | | | | | | | Bump stream positions to 64 bits on: SvLockBytes::SetSize() SvStream::SeekPos() SvStream::SetSize() SvStream::SetStreamSize() SvStream::Seek() SvStream::SeekRel() SvStream::Tell() SvStream::remainingSize() SvStream::nActPos SvStream::nBufFilePos Change-Id: I0521fd60d31d1a33e5634cbf51dd42edc46ad919 TODO: adapt callers of Seek()/SeekRel()/Tell()/remainingSize()
* tools: allow 64-bit positions on SvLockBytesMichael Stahl2014-03-291-5/+5
| | | | | | | | | | | | | | Bump stream positions to 64 bits on: SvLockBytes::ReadAt() SvLockBytes::WriteAt() SvAsyncLockBytes::m_nSize SvOpenLockBytes::Seek() SvOpenLockBytes::Tell() SvOutputStreamOpenLockBytes::m_nPosition OInputStreamHelper::m_nActPos Change-Id: Ica3b674e0ab23a756260a51475e97a5396ecdddb
* Remove now unused DBG_CTOR etc. featureStephan Bergmann2014-03-281-504/+7
| | | | Change-Id: Id5e3191ea1a505bd7d46af355edb99e184b5fcb1
* Remove remaining DBG_NAME* usesStephan Bergmann2014-03-282-4/+0
| | | | | | ...that had been used for DBG_CTOR, DBG_PROF, etc. Change-Id: I8eac38e24b7110511feb7813aaf5a20ab82bdbe0
* Resolves: #i124453# check if the resulting polygon...Jürgen Schmidt2014-03-281-0/+13
| | | | | | | | | has already exceeded the number of points (2^16) that can be handled by a tools polygon (cherry picked from commit 804e547d70552fd64e1344d538427f8898824b43) Change-Id: I437a84493e264f7b650561599170e831da20c9aa
* Simplify #if blocks a littleStephan Bergmann2014-03-271-17/+13
| | | | Change-Id: I2867917e02ef808e4f74175bc146fcbb9bcba7be
* First batch of adding SAL_OVERRRIDE to overriding function declarationsStephan Bergmann2014-03-263-10/+10
| | | | | | | ...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
* Remove now unused tools/debug.hxx profiling functionalityStephan Bergmann2014-03-252-190/+1
| | | | Change-Id: I13adca8c2f929c8a9226b26ef57b26363dfdf0b3
* Reduce some functions to localStephan Bergmann2014-03-251-30/+4
| | | | Change-Id: Ia2d7eaaa1381fe46839b0d52a91bdc3a439fa418
* osl_setDetailedDebugMessageFunc is effectively doing nothingStephan Bergmann2014-03-251-44/+0
| | | | | | | ...since the osl/diagnose.h macros got rebased onto sal/log.hxx, so remove the corresponding tools/debug.h functionality. Change-Id: Ife4b5b1a2608230d0dbfc3fa8852243c89ed292f
* Remove unused DBG_FUNC_* slotsStephan Bergmann2014-03-251-19/+1
| | | | Change-Id: Ief6661ed4bb57546014deef5b10d20fc3a4894fe
* MI_DEBUG is never definedStephan Bergmann2014-03-251-51/+0
| | | | Change-Id: I6f5d74e892d9bdca5a39caa76feb4e3d05b95ba9
* DBG_OUT_WARNING is unusedStephan Bergmann2014-03-251-9/+0
| | | | | | ...and thus DgbData::nWarningOut is unused, too. Change-Id: I388d2be7dafbfdc173a731dc7daf1c8b5efcd61d
* drop spadminCaolán McNamara2014-03-211-7/+0
| | | | Change-Id: Ie10ee80f1d35b40c0baf9d7ba5c1181b52405b5f
* coverity#705325 Missing break in switchCaolán McNamara2014-03-151-0/+1
| | | | Change-Id: I575292a649ebdf8e16613f07d0c98a68c603a087
* CurrencyFields cannot be loaded from .src anymoreCaolán McNamara2014-03-131-1/+0
| | | | Change-Id: I3ccdb71e39a13dc8c697d3a52dc693cff10c614d
* MetricBoxes cannot be loaded from .src anymoreCaolán McNamara2014-03-131-1/+0
| | | | Change-Id: Id7b44402975ed75171f4475aa64ebd2a3d6bd687
* CurrencyBoxes cannot be loaded from .src anymoreCaolán McNamara2014-03-131-1/+0
| | | | Change-Id: I662aab01ecf5f78c4406838118ccea3988060521
* DateBoxes cannot be loaded from .src anymoreCaolán McNamara2014-03-131-1/+0
| | | | Change-Id: Ic9d3c73cf67e855dc5931e96bc03014998cce9e0
* TimeBoxes cannot be loaded from .src anymoreCaolán McNamara2014-03-131-1/+0
| | | | Change-Id: I1fa101656538c40c402fc8608f33961f293bd58d
* MoreButtons cannot be loaded from .src anymoreCaolán McNamara2014-03-131-1/+0
| | | | Change-Id: Ib831895b33323dd478cc125b3bf93c43826ef59d
* coverity#708556 Uninitialized scalar fieldCaolán McNamara2014-03-101-4/+5
| | | | Change-Id: Idf3cf19c9b95e2a1b21efbebd291d7bcd298dad4
* coverity#708553 Uninitialized scalar fieldCaolán McNamara2014-03-101-0/+7
| | | | Change-Id: I73b6127a7e1791392218731a9b9af0795e69222a
* coverity#708551 Uninitialized scalar fieldCaolán McNamara2014-03-101-0/+2
| | | | Change-Id: I04c727bd48a6b2cad9ae545a05fcdd53472bf667
* coverity#708548 Uninitialized pointer fieldCaolán McNamara2014-03-101-5/+7
| | | | Change-Id: I7c4326bee7a781cf512c112b78ddf420a834ca15
* coverity#708547 Uninitialized scalar fieldCaolán McNamara2014-03-101-0/+1
| | | | Change-Id: Ib74b633355cc35d02a2a3847d2c98f2d52ca4a70
* drop the SimpleErrorHandlerCaolán McNamara2014-03-101-32/+0
| | | | Change-Id: I968300664c386e6cf33461c5858833832e452e28
* ooxml: export date controls properlyJacobo Aragunde Pérez2014-03-081-0/+20
| | | | | | | | | | | | | | | | | | | | | | | Export date controls as ooxml Standard Document Tags (SDT) instead of replacing them with plain text. SDT date controls contain the date in ISO format as an attribute of <date> tag, a custom date format that can be specified by the user in the <dateFormat> tag and the date formatted in that custom format in the <w:sdtContent> tag. The unit test testFormControl from ooxmlexport suite was removed, it only checked if the date control was exported as text and it obviously fails now. A new test that checks the values of the exported control was written instead. A pair of date format functions were added to datetimeutils.hxx. TODO: to avoid supporting all the posible custom formats that can be specified in the <dateFormat> tag, it is forced to dd/mm/yyyy on export. Change-Id: I9d1b6f840ee9e133831fdb04ad399fe31bcb2063
* made ListBox handle more than 64k elements, fdo#61520 relatedEike Rathke2014-03-051-2/+2
| | | | | | | | | | | | ListBox and related now handle up to sal_Int32 elements correctly. sal_Int32 instead of sal_Size or size_t because of UNO and a11y API. Also disentangled some of the mess of SvTreeList and other containers regarding sal_uInt16, sal_uLong, long, size_t, ... type mixtures. Change-Id: Idb6e0ae689dc5bc2cf980721972b57b0261e688a Reviewed-on: https://gerrit.libreoffice.org/8460 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
* callcatcher: update unused codeCaolán McNamara2014-03-011-6/+0
| | | | Change-Id: I429eeb3fc0dd0d0c55612eb482d99ab4ceda2f56
* remove unused code BigInt::GetString()Noel Grandin2014-02-281-43/+0
| | | | Change-Id: I0e1b1e07103b7aafd0b6691e0fcf0d2c8f612ac8
* debug only code Resource::TestRes()Noel Grandin2014-02-281-0/+2
| | | | Change-Id: I00743ded162ea2772b2fe74df8aecf1fd3a390fa
* do not crash if allocation failedDavid Tardon2014-02-271-19/+27
| | | | Change-Id: I2fbc259de52a3c7f2c8c33027d74bb857d44b437
* Remove visual noise from toolsAlexander Wilms2014-02-263-15/+15
| | | | | | | Change-Id: I779bb5cf991e1fee1e2a2c0a4cd45af3c5f502bd Reviewed-on: https://gerrit.libreoffice.org/8327 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>