summaryrefslogtreecommitdiff
path: root/tools
AgeCommit message (Collapse)AuthorFilesLines
2014-03-28Remove remaining DBG_NAME* usesStephan Bergmann2-4/+0
...that had been used for DBG_CTOR, DBG_PROF, etc. Change-Id: I8eac38e24b7110511feb7813aaf5a20ab82bdbe0
2014-03-28Resolves: #i124453# check if the resulting polygon...Jürgen Schmidt1-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
2014-03-27Simplify #if blocks a littleStephan Bergmann1-17/+13
Change-Id: I2867917e02ef808e4f74175bc146fcbb9bcba7be
2014-03-26First batch of adding SAL_OVERRRIDE to overriding function declarationsStephan Bergmann3-10/+10
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
2014-03-25Remove now unused tools/debug.hxx profiling functionalityStephan Bergmann2-190/+1
Change-Id: I13adca8c2f929c8a9226b26ef57b26363dfdf0b3
2014-03-25Reduce some functions to localStephan Bergmann1-30/+4
Change-Id: Ia2d7eaaa1381fe46839b0d52a91bdc3a439fa418
2014-03-25osl_setDetailedDebugMessageFunc is effectively doing nothingStephan Bergmann1-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
2014-03-25Remove unused DBG_FUNC_* slotsStephan Bergmann1-19/+1
Change-Id: Ief6661ed4bb57546014deef5b10d20fc3a4894fe
2014-03-25MI_DEBUG is never definedStephan Bergmann1-51/+0
Change-Id: I6f5d74e892d9bdca5a39caa76feb4e3d05b95ba9
2014-03-25DBG_OUT_WARNING is unusedStephan Bergmann1-9/+0
...and thus DgbData::nWarningOut is unused, too. Change-Id: I388d2be7dafbfdc173a731dc7daf1c8b5efcd61d
2014-03-21drop spadminCaolán McNamara1-7/+0
Change-Id: Ie10ee80f1d35b40c0baf9d7ba5c1181b52405b5f
2014-03-15coverity#705325 Missing break in switchCaolán McNamara1-0/+1
Change-Id: I575292a649ebdf8e16613f07d0c98a68c603a087
2014-03-13CurrencyFields cannot be loaded from .src anymoreCaolán McNamara1-1/+0
Change-Id: I3ccdb71e39a13dc8c697d3a52dc693cff10c614d
2014-03-13MetricBoxes cannot be loaded from .src anymoreCaolán McNamara1-1/+0
Change-Id: Id7b44402975ed75171f4475aa64ebd2a3d6bd687
2014-03-13CurrencyBoxes cannot be loaded from .src anymoreCaolán McNamara1-1/+0
Change-Id: I662aab01ecf5f78c4406838118ccea3988060521
2014-03-13DateBoxes cannot be loaded from .src anymoreCaolán McNamara1-1/+0
Change-Id: Ic9d3c73cf67e855dc5931e96bc03014998cce9e0
2014-03-13TimeBoxes cannot be loaded from .src anymoreCaolán McNamara1-1/+0
Change-Id: I1fa101656538c40c402fc8608f33961f293bd58d
2014-03-13MoreButtons cannot be loaded from .src anymoreCaolán McNamara1-1/+0
Change-Id: Ib831895b33323dd478cc125b3bf93c43826ef59d
2014-03-10coverity#708556 Uninitialized scalar fieldCaolán McNamara1-4/+5
Change-Id: Idf3cf19c9b95e2a1b21efbebd291d7bcd298dad4
2014-03-10coverity#708553 Uninitialized scalar fieldCaolán McNamara1-0/+7
Change-Id: I73b6127a7e1791392218731a9b9af0795e69222a
2014-03-10coverity#708551 Uninitialized scalar fieldCaolán McNamara1-0/+2
Change-Id: I04c727bd48a6b2cad9ae545a05fcdd53472bf667
2014-03-10coverity#708548 Uninitialized pointer fieldCaolán McNamara1-5/+7
Change-Id: I7c4326bee7a781cf512c112b78ddf420a834ca15
2014-03-10coverity#708547 Uninitialized scalar fieldCaolán McNamara1-0/+1
Change-Id: Ib74b633355cc35d02a2a3847d2c98f2d52ca4a70
2014-03-10drop the SimpleErrorHandlerCaolán McNamara1-32/+0
Change-Id: I968300664c386e6cf33461c5858833832e452e28
2014-03-08ooxml: export date controls properlyJacobo Aragunde Pérez1-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
2014-03-05made ListBox handle more than 64k elements, fdo#61520 relatedEike Rathke1-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>
2014-03-01callcatcher: update unused codeCaolán McNamara1-6/+0
Change-Id: I429eeb3fc0dd0d0c55612eb482d99ab4ceda2f56
2014-02-28remove unused code BigInt::GetString()Noel Grandin1-43/+0
Change-Id: I0e1b1e07103b7aafd0b6691e0fcf0d2c8f612ac8
2014-02-28debug only code Resource::TestRes()Noel Grandin1-0/+2
Change-Id: I00743ded162ea2772b2fe74df8aecf1fd3a390fa
2014-02-27do not crash if allocation failedDavid Tardon1-19/+27
Change-Id: I2fbc259de52a3c7f2c8c33027d74bb857d44b437
2014-02-26Remove visual noise from toolsAlexander Wilms3-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>
2014-02-25remove unused code SvStream::WriteUCharPtr(unsigned char const*)Noel Grandin1-6/+0
Change-Id: I7f341a10d2fffb8eda45478756bc221127ab72cf
2014-02-24make the implementation use the same type than the declarationNorbert Thiebaud1-13/+13
Change-Id: I860e6db6ea4a7a7194283ba4fc23ae30cb1de4f8 Reviewed-on: https://gerrit.libreoffice.org/8201 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-02-23Remove unneccessary commentsAlexander Wilms2-2/+2
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb Reviewed-on: https://gerrit.libreoffice.org/8182 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-23coverity#708554 Uninitialized scalar fieldCaolán McNamara1-0/+2
Change-Id: Ib604b25f8c2855439171e0606838b7cc36161976
2014-02-20fdo#66507 - accelerate date calculations as used vs. empty cells.Michael Meeks1-2/+10
Change-Id: I5cd642db4e0595c96e1af8adf7c7a45f589a259e
2014-02-20Add SvStream::ReadCharAsBoolStephan Bergmann1-0/+24
Change-Id: I9dc0525e04de5ae79205872b779dcd0115a9cc14
2014-02-18GCC 4.9, LTO: libvcl uses GZCodec but it is not linked with the implementationJan Hubicka1-5/+0
This is not valid C++ and GCC now resolves the virtual calls and inlines destructor that leads to undefined symbols. Change-Id: I841d25bc6f994f0e73665b174994f9471597131e
2014-02-18tools: sal_Bool -> boolStephan Bergmann1-33/+33
Change-Id: I3aad235d92b3972b44199294c0f3de65ad57f450
2014-02-12more SvStream:operator>> conversionNoel Grandin3-8/+8
Convert the template based read_lenPrefixed methods to regular methods. Change-Id: Ifd0e93aca055e55a0575e4377ec2b8e266dfb019 Reviewed-on: https://gerrit.libreoffice.org/7895 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-02-12convert SvStream::operator>> methods to ReadXXX methodsNoel Grandin12-58/+58
First, I updated the clang rewriter to do the conversion. Then I lightly hand-tweaked the output for the few places where the rewriter messed up, mostly when dealing with calls on "this". Change-Id: I40a6a977959cd97415c678eafc8507de8aa3b1a9 Reviewed-on: https://gerrit.libreoffice.org/7879 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-02-11coverity#705324 Missing break in switchCaolán McNamara1-1/+1
Change-Id: I72c9a16c5236824424b33df353606e3e14aa4607
2014-02-07Simplify InternalStreamLock instance handlingStephan Bergmann1-57/+32
Change-Id: Id5bd445ad4f2397cbff01099ba3779736bb47e61
2014-02-07coverity#708893 unused pointer valueNoel Grandin1-1/+1
Change-Id: Ib029e08f7dc29330b1a0b5d93c1c0a356dbd59dd
2014-02-04convert specialised SvStream::operator>> methods to ReadXXX methodsNoel Grandin6-11/+11
as preparation for converting the SvStream::operator>> methods on primitive types Change-Id: I62f134bced15c687d6e0d46924f56e8d1c3d95b9 Reviewed-on: https://gerrit.libreoffice.org/7798 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2014-02-04fdo#74425 Remove deprecated static function ResMgr::GetLang()Chris Sherlock1-180/+0
ResMgr::GetLang() has been deprecated for a long time now. It is used by only one function, SubstitutePathVariables::SetPredefinedPathVariables() in the framework module. I have therefore removed it from ResMgr and placed it as a function in framework/source/services/substitutepathvars.cxx where it is actually used. Change-Id: I5f0d8f701aa45f8653020affeff6339f8fc9bc0e Reviewed-on: https://gerrit.libreoffice.org/7791 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-03At least warn when DBG_TESTSOLARMUTEX has not been set upStephan Bergmann1-0/+3
Change-Id: I5ae5318685ffe45bd9616d06eea21a93585715f2
2014-01-29coverity#100870 : Uninitialized scalar fieldNorbert Thiebaud1-0/+1
Change-Id: Ica1af6017aedf94ad4daa92352691675bf6378fd
2014-01-28bool improvementsStephan Bergmann1-2/+2
Change-Id: Ia3fd76aa70564cbc683d0d66cc39aa368bea29d9
2014-01-22remove SvStream::operator<< methodsNoel Grandin1-2/+2
.. and convert the last few places still using those methods. Change-Id: Id2cd8f9c0dd281df43af439d4fef65881f34a6fd Reviewed-on: https://gerrit.libreoffice.org/7495 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>