summaryrefslogtreecommitdiff
path: root/lotuswordpro
AgeCommit message (Collapse)AuthorFilesLines
2013-11-14-Werror,-Wduplicate-enumStephan Bergmann1-1/+2
Change-Id: I7ee0dee0ac35b9a678c76b8ebcb43c8ce5531709
2013-11-14remove unnecessary sal_Unicode casts in various placesNoel Grandin1-2/+2
Change-Id: Ibf04062ca86ed866202d748c3b62a210d30ed6ec
2013-11-11remove unnecessary use of OUString constructorNoel Grandin3-18/+18
Change-Id: Ifb220af71857ddacd64e8204fb6d3e4aad8eef71
2013-11-04cppcheck: fix '<type>::operator=' should return '<type> &'.Julien Nabet2-4/+6
See http://nabble.documentfoundation.org/About-quot-assignment-operators-quot-cppcheck-warning-td4081208.html Change-Id: Ie351058a30c5d2df5f5ec1327c575e129d022cd2
2013-11-04Related: fdo#71147 lwp-files open not or without charts/tablesJulien Nabet1-0/+2
It seems pContent may be NULL (see https://bugs.freedesktop.org/attachment.cgi?id=88539) Change-Id: I80249dd1d0afc3feaef5f1b1d134210beee3d029 Reviewed-on: https://gerrit.libreoffice.org/6536 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-11-04remove redundant calls to OUString constructorNoel Grandin2-3/+2
Change code like this: aStr = OUString("xxxx"); into this: aStr = "xxxx"; Change-Id: I31cb92e21658d57bb9e14b65c179536eae8096f6
2013-10-31Convert indexOf->startsWith and lastIndexOf->endsWithNoel Grandin1-2/+2
This is both an optimisation and a cleanup. This converts code like aStr.indexOf("XX") == 0 to aStr.startsWith("XX") and converts code like aStr.lastIndexOf("XXX") == aStr.getLength() - 3 to aStr.endsWith("XXX") Note that in general aStr.lastIndexOf("X") == aStr.getLength() - 1 converts to aStr.isEmpty() || aStr.endsWith("X") so I used the surrounding context to determine if aStr could be empty when modifying the code. Change-Id: I22cb8ca7c2a4d0288b001f72adb27fd63af87669
2013-10-22Bin comments that claim to say why some header is includedTor Lillqvist2-3/+3
They are practically always useless, often misleading or obsolete. Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
2013-10-22fdo#54938: Adapt supportsService implementations..Marcos Paulo de Souza1-9/+3
to cppu::supportsService Change-Id: I0b03d3910f094f2183bf9859db9d5bcaf35d1f14 Reviewed-on: https://gerrit.libreoffice.org/6370 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2013-10-20drop some tools/string includesCaolán McNamara3-4/+1
Change-Id: I83698b10c0c4fef1929d62be809ac7d77e9a3502
2013-10-14CID#738972 use after freeCaolán McNamara1-3/+9
Change-Id: I3c1329a55b53365945406c515ff4e8e72792dcb6
2013-10-09CID#736180 out of boundsCaolán McNamara1-0/+3
Change-Id: I2e775a49a1c852053e3c7996381f20d3eda1189c
2013-10-04HighLight -> Highlight.Jan Holesovsky6-14/+14
Change-Id: I2db5102fbc441c0b79d8c28023f3e3bb5613b3cf
2013-10-02-Werror,-Wunused-const-variableStephan Bergmann1-1/+0
Change-Id: I129acbac7c88285c45da84045fee0e42eaa9a9ad
2013-10-01fix OUString conversion in lotuswordproCaolán McNamara1-5/+8
second arg is number of input bytes, not number of resulting codepoints Change-Id: I76ab899fa3875f37075214363188cf897e018f22
2013-10-01convert String to OUString in lotuswordpro moduleNoel Grandin5-71/+71
Change-Id: I4af6a11084f3337df1f6278b28fd0fd9d94d6a6a
2013-09-11CID#738545 uninitialized scalarCaolán McNamara1-1/+1
Change-Id: I111ce1b7c8d6dc8e19b2f13a1897a66dec0417f8
2013-09-10CID#736398 resource leakCaolán McNamara1-16/+5
Change-Id: Ie1fc0aa191950bdf26fd376ec1e2c8ae69acde83
2013-09-01Remove pointless comments and ASCII artTor Lillqvist1-4/+1
Change-Id: I387d7b301643f359f2d6a4c5f51a4dd7f5e1c296
2013-08-31fdo#62475 - remove visual noisePhilipp Riemer1-4/+8
This is a follow up commit to - 22d1beb78a475e4846af945afde1c4d6c263b5d6 - 1c7af455ab9345304a7ac48ce2e0310de2ac8a75 Change-Id: I102685391125f3b4f7bdf838f8bd17a2283d558d
2013-08-22cppcheck: fix redundant assignmentsJulien Nabet1-2/+1
Change-Id: Ib0c2f0c2b67f40ce75469b434a67c62187aca93d
2013-08-21finish deprecation of O(U)String::valueOf()Luboš Luňák3-6/+6
Compiler plugin to replace with matching number(), boolean() or OUString ctor, ran it, few manual tweaks, mark as really deprecated. Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
2013-08-21osl_getThreadIdentifier(0) -> osl::Thread::getCurrentIdentifier()Stephan Bergmann1-3/+3
Change-Id: Ida9785c4b9fda0459769957734952e69d7a9de44
2013-08-20Re-work 8bit characters in source code, or remove them.Michael Meeks1-5/+5
Change-Id: I93e14d4936c0ffbe03425d4a54bb0e09bc62b3e3 Reviewed-on: https://gerrit.libreoffice.org/5550 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@suse.com> Tested-by: Michael Meeks <michael.meeks@suse.com>
2013-08-12Mark as constTakeshi Abe2-2/+2
Change-Id: I9277052ee9c6197cef7a46bd8f3ab9c5515c2502
2013-06-30Clean String and sal_Bool in toolsNorbert Thiebaud3-4/+6
Change-Id: I6a92196f33d7a5278c7dcc426112e9c56d582655 Reviewed-on: https://gerrit.libreoffice.org/4627 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-06-14Some more toInt32 clean upStephan Bergmann1-1/+1
Change-Id: I4f7911cb283d67e7c7b883d629b39588e96f32c2
2013-06-14cppcheck: fix operatorEqVarError (in lotuswordpro)Julien Nabet1-0/+1
Change-Id: I0fb3d99326ec3cb930b85626c749613f65ee8b6e Reviewed-on: https://gerrit.libreoffice.org/4281 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2013-06-13Resolves: #i121504# Support for alpha channel in clipboard for all systemsArmin Le Grand1-1/+2
(cherry picked from commit ef3931ff410117e1237b3bef7bc090e8b83b9519) Conflicts: automation/source/server/statemnt.cxx basic/source/runtime/methods.cxx canvas/source/vcl/devicehelper.cxx canvas/source/vcl/spritedevicehelper.cxx drawinglayer/source/processor2d/vclhelperbufferdevice.cxx drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx drawinglayer/source/tools/converters.cxx dtrans/source/win32/dtobj/FmtFilter.cxx editeng/source/items/bulitem.cxx extensions/source/scanner/sanedlg.cxx external/gcc3_specific/makefile.mk filter/source/graphicfilter/eos2met/eos2met.cxx filter/source/graphicfilter/ios2met/ios2met.cxx filter/source/msfilter/msdffimp.cxx fpicker/source/office/iodlg.cxx framework/source/fwe/classes/addonsoptions.cxx framework/source/fwe/helper/actiontriggerhelper.cxx sc/source/filter/excel/xiescher.cxx sc/source/ui/docshell/docsh.cxx sc/source/ui/inc/viewfunc.hxx sd/source/ui/app/sdxfer.cxx sd/source/ui/unoidl/unopage.cxx sd/source/ui/view/sdview3.cxx sfx2/source/appl/fileobj.cxx sfx2/source/appl/linkmgr2.cxx sfx2/source/dialog/filedlghelper.cxx sfx2/source/dialog/intro.cxx sfx2/source/doc/docinf.cxx sot/inc/sot/formats.hxx sot/source/base/formats.cxx svtools/bmpmaker/bmpcore.cxx svtools/bmpmaker/bmpsum.cxx svtools/inc/svtools/transfer.hxx svtools/source/filter/filter.cxx svtools/source/filter/wmf/emfwr.cxx svtools/source/filter/wmf/enhwmf.cxx svtools/source/filter/wmf/winwmf.cxx svtools/source/filter/wmf/wmfwr.cxx svtools/source/graphic/graphic.cxx svtools/source/graphic/provider.cxx svtools/source/misc/transfer.cxx svx/inc/svx/xoutbmp.hxx svx/source/sdr/overlay/overlaymanagerbuffered.cxx svx/source/xoutdev/_xoutbmp.cxx sw/source/core/view/viewsh.cxx sw/source/filter/ww1/w1filter.cxx sw/source/filter/ww8/ww8par.hxx sw/source/ui/dochdl/swdtflvr.cxx toolkit/source/awt/vclxbitmap.cxx toolkit/source/helper/vclunohelper.cxx vcl/Library_vcl.mk vcl/Package_inc.mk vcl/aqua/source/dtrans/DataFlavorMapping.cxx vcl/aqua/source/dtrans/OSXTransferable.cxx vcl/aqua/source/dtrans/PictToBmpFlt.cxx vcl/aqua/source/dtrans/PictToBmpFlt.hxx vcl/inc/vcl/alpha.hxx vcl/inc/vcl/bitmap.hxx vcl/inc/vcl/bitmapex.hxx vcl/inc/vcl/pngwrite.hxx vcl/inc/vcl/salbtype.hxx vcl/inc/vcl/wall.hxx vcl/source/gdi/animate.cxx vcl/source/gdi/bitmap2.cxx vcl/source/gdi/bitmapex.cxx vcl/source/gdi/bmpconv.cxx vcl/source/gdi/cvtsvm.cxx vcl/source/gdi/impgraph.cxx vcl/source/gdi/impimagetree.cxx vcl/source/gdi/metaact.cxx vcl/source/gdi/wall.cxx Change-Id: I79938bc412c048c3d4e64f430f216e73bec16167
2013-06-05fdo#46808, Convert some more XMultiServiceFactoryNoel Grandin2-6/+6
Change-Id: Ib96976e0a40c025d1b6408aeadfc70d7885c11d4
2013-05-15fix original intent of the lwp import codeCaolán McNamara1-0/+4
revert d2546346ac07e4a3483c339d202e75b99b9d063b and fix 8a9448aabcee0171b0dc3b0401600de09455fb10 Change-Id: Ide781e4f197d2fc1d42b0cda8e9d901ac1118d08
2013-05-15Fix warning: unused variable 'aFuncName' [loplugin]Tor Lillqvist1-2/+0
Change-Id: I34a2726123001de0b867b4f54d6f37c55dbc79f5
2013-05-15OUString::replaceAt() does not modify the OUStringTor Lillqvist1-1/+1
Change-Id: Id5d712364c3c8a1e4305ad036d9f51c30c2f9e80
2013-05-15String.AppendAscii DropRicardo Montania1-29/+13
Signed-off-by: Luboš Luňák <l.lunak@suse.cz> https://gerrit.libreoffice.org/#/c/3892/ Change-Id: I12175a81f0a74546b5e00633176f204b9a3fb35c
2013-05-15Spelling "separate" (etc) correctly is hardTor Lillqvist6-14/+14
2013-04-30Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks2-50/+26
2013-04-26fdo#63154: Remove all usages of the macro EXTERN_CMarcos Paulo de Souza1-2/+0
Change-Id: I25b7f509ba5d1007a16c84ad05870a8174c094ec Reviewed-on: https://gerrit.libreoffice.org/3621 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi> Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-25ditch libi18nlangtagicu againEike Rathke1-1/+0
Thanks to Fridrich for finding the real cause for why I thought this was necessary.. Change-Id: I77934b17c2b994a03cae5440253b165704de2fa4
2013-04-25removed commented out code that wouldn't be correct anywayEike Rathke1-45/+0
Change-Id: I1fc5f6b7e779ae0c9ac5f30934c2c5d75757581d
2013-04-24use LanguageTagIcuEike Rathke2-15/+7
Change-Id: I048d72c0cd633e3aa9e6a74e4f111703969b1d77
2013-04-24extend license filtering, and add fallback-checks.Michael Meeks1-4/+1
Change-Id: Ia1ec3564326cf898d756c231a64a54db8698bf20
2013-04-24Add license filtering to configure.Michael Meeks1-0/+4
Change-Id: Icd53c6ccfcca25d828d79ad62d1e075869998850
2013-04-22Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks7-165/+28
2013-04-07Some cppcheck cleaningJulien Nabet1-2/+1
Change-Id: I07ef58fd99bc9fc4fd601570b59f9a3581824aa9
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák133-818/+815
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-04-05new module i18nlangtagEike Rathke1-1/+1
Moved portions from module i18npool, all of former i18nisolang1 library that now is i18nlangtag. Included are languagetag, isolang and mslangid. This i18nlangtag code is now even used by module comphelper, so disentangling i18npool and making this an own module was needed to not create circular module dependencies. Change-Id: Ib887c3d6dde667403fd22d382310ba5f1a9b0015
2013-03-25remove external include guardsThomas Arnhold2-24/+1
Change-Id: If5758e02baa8e019923355b6c97043b306223fdd
2013-03-26Fix warning: unused variable 'sFormat' [loplugin]Tor Lillqvist1-1/+1
Presumably the call to m_pObjStrm->QuickReadStringPtr() is still necessary because of its side-effects (to update the stream pointer). Change-Id: I69f24de4e956d5fefb4fc5382c0cc7e0173a5a0f
2013-03-19reduce whitespaces between include and filenameThomas Arnhold180-453/+453
Change-Id: I15f6ad0a760a28cbac53f99ba4d14ff5c24ce005
2013-03-18coverity#736014 Using invalid iteratorJulien Nabet1-1/+1
Change-Id: I53c9079aa78a28f50e91474b8347c4830583a6f1 Reviewed-on: https://gerrit.libreoffice.org/2787 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>