summaryrefslogtreecommitdiff
path: root/lotuswordpro/source/filter/lwpfilter.cxx
AgeCommit message (Collapse)Author
2019-01-07use unique_ptr in BenOpenContainerNoel Grandin
Change-Id: Idc9d728e711f70cc11974020aa507552f31d4c9c Reviewed-on: https://gerrit.libreoffice.org/65919 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-10-17clang-tidy readability-redundant-smartptr-getNoel Grandin
redundant get() call on smart pointer Change-Id: Icb5a03bbc15e79a30d3d135a507d22914d15c2bd Reviewed-on: https://gerrit.libreoffice.org/61837 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-09-17New loplugin:externalStephan Bergmann
...warning about (for now only) functions and variables with external linkage that likely don't need it. The problems with moving entities into unnamed namespacs and breaking ADL (as alluded to in comments in compilerplugins/clang/external.cxx) are illustrated by the fact that while struct S1 { int f() { return 0; } }; int f(S1 s) { return s.f(); } namespace N { struct S2: S1 { int f() { return 1; } }; int f(S2 s) { return s.f(); } } int main() { return f(N::S2()); } returns 1, both moving just the struct S2 into an nunnamed namespace, struct S1 { int f() { return 0; } }; int f(S1 s) { return s.f(); } namespace N { namespace { struct S2: S1 { int f() { return 1; } }; } int f(S2 s) { return s.f(); } } int main() { return f(N::S2()); } as well as moving just the function f overload into an unnamed namespace, struct S1 { int f() { return 0; } }; int f(S1 s) { return s.f(); } namespace N { struct S2: S1 { int f() { return 1; } }; namespace { int f(S2 s) { return s.f(); } } } int main() { return f(N::S2()); } would each change the program to return 0 instead. Change-Id: I4d09f7ac5e8f9bcd6e6bde4712608444b642265c Reviewed-on: https://gerrit.libreoffice.org/60539 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-01-16ofz#5420 Out-of-memoryCaolán McNamara
Change-Id: I22166a14a03e5e803f8f032034e05a2da501379f Reviewed-on: https://gerrit.libreoffice.org/48008 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-23loplugin:includeform: lotuswordproStephan Bergmann
Change-Id: I1ff35dd6242accf0a8e71086a14a72e85eef1c5a
2017-08-01loplugin:constparams in lotuswordproNoel Grandin
Change-Id: I2ad14fa797c99d26975dc472c1db115d94160eee Reviewed-on: https://gerrit.libreoffice.org/40615 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-06-12cleanup unused css/frame/* includesJochen Nitschke
Change-Id: I173a29fd1ee889127369d2bc2fce8e010b89ca65 Reviewed-on: https://gerrit.libreoffice.org/38633 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-03-20Resolves: ofz#820 an exception is an acceptable outcomeCaolán McNamara
Change-Id: Ifc5be483387202c371596fd52f1e2ce682151ca8
2017-03-01ofz: oom on seeks past end of SvMemoryStreamCaolán McNamara
cause it grows to fit if its a resizable stream Change-Id: I28b42becdfc8eb591d19d2512cdc1f1ec32c3bbe
2017-02-27ofz: fix leakCaolán McNamara
Change-Id: I631ea0012f8e999f14aa08b42f28d6115a73d084
2016-06-06tools: rename SvStream::Read/Write to ReadBytes/WriteBytesMichael Stahl
Change-Id: Ib788a30d413436aa03f813aa2fddcbc4d6cd2f9a Reviewed-on: https://gerrit.libreoffice.org/25972 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-04-12cleanup: remove unused com/sun/star/uno includesJochen Nitschke
Sequence.h(xx), Any.h(xx) and Type.h(xx) and remove unused using-declarations from these files. Add a few missing includes provided by them. Change-Id: I6b91b6d1fdf9d0496dd546c0aab9bdcc6831a5d4 Reviewed-on: https://gerrit.libreoffice.org/23805 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-12-08valgrind: jump or move depends on uninitialised valueCaolán McNamara
Change-Id: I02e507f4b7d78efacc5b735ca24adb83633749b9
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
Change-Id: Id11454397abad090741c5d98e2ae585531c886f6
2015-10-27Reduce scope of #include <tools/stream.hxx>Matteo Casalin
Change-Id: I0752cbb0cb2e0f89607d81d9eda7ce7091449fd6
2015-09-17boost->stdCaolán McNamara
Change-Id: Ifde84627578283bd057d7393eb7e5578ef5c029a
2015-04-29redundant castCaolán McNamara
Change-Id: Ib812a7cafabc4820946da67fb3f8896b6aad1461
2014-09-30lotuswordpro: std::auto_ptr -> std::unique_ptrStephan Bergmann
Change-Id: I205b84f6dcb996935bd59ac9927313c6a88066b4
2014-05-19lwp: remove using namespace css from headersThomas Arnhold
Change-Id: I0461ef7af824e1fda04135154682fc4dba8a8693
2014-05-13unusedcode.easy: remove LWPFilterReader::LWPFilterReader()Thomas Arnhold
Change-Id: Iefbf36d2ce0f98c61a0d9f5d04b77a3505980e80
2014-04-23lotuswordpro: sal_Bool->boolNoel Grandin
Change-Id: I017d284a2fbc8d50a9928c9d934ffe710b0c652f
2014-04-18Unused functionsTor Lillqvist
Change-Id: I6c1f8dc33e3ba3257044889d7aae1223572590e9
2014-04-18callcatcher: update unused codeCaolán McNamara
Change-Id: Ia88d83a209113fa4c351c0300d407da0c71baeac
2014-04-14Remove unused codeStephan Bergmann
Change-Id: I4e1e9f8c9b98fa77c8149fc5f876a2e7777b19e8
2014-03-17lotuswordpro: prefer passing OUString by referenceNoel Grandin
Change-Id: Ic94616a7bc34ec5a85ea84178c7d798194201ebe
2014-02-26Remove visual noise from lotuswordproAlexander Wilms
Change-Id: Ie161a2aa1a434d0778e1937a833819c934ed1889 Reviewed-on: https://gerrit.libreoffice.org/8281 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-26cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-12convert SvStream::operator>> methods to ReadXXX methodsNoel Grandin
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>
2013-11-11remove unnecessary use of OUString constructorNoel Grandin
Change-Id: Ifb220af71857ddacd64e8204fb6d3e4aad8eef71
2013-10-22fdo#54938: Adapt supportsService implementations..Marcos Paulo de Souza
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-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák
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-02-25loplugin: unused variablesThomas Arnhold
Change-Id: I63553a09eec81e5ae28aa79ee1d3281053b23d06
2012-05-29targeted string re-workNorbert Thiebaud
Change-Id: Ie527fc87d2ef18e60524ef235c1332fdd02be829
2012-05-24Removed unused SfxMedium::bDirectStephan Bergmann
See the TODO comment in sfx2/inc/sfx2/docfile.hxx about a temporary SfxMedium ctor overload to find not yet adapted uses of another overload, to be removed again in due time. Change-Id: Ie22c33c32f8870ce6ebf6d500abc7a4e33d97183
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi
Pattern used: find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\)) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
2012-03-03Avoid temporary rtl::OUStringJulien Nabet
2012-02-13WaE: unreachable codeTor Lillqvist
2011-08-29use standard copy-ctor signatures, assignments, etcCaolán McNamara
2011-08-25regenerate listCaolán McNamara
2011-08-24callcatcher: remove various unused methodsCaolán McNamara
2011-05-22fix up endianness of lowhanging QuickReadsCaolán McNamara
2011-04-11fix what there is to fixCaolán McNamara
2011-03-13convert tools type in lotuswordproNorbert Thiebaud
2011-03-04Remove useless comments in filters.Guillaume Poussel
Signed-off-by: Luboš Luňák <l.lunak@suse.cz>
2010-11-30RTL_CONSTASCII_USTRINGPARAM in filters 17Gert Faller
2010-11-28RTL_CONSTASCII_USTRINGPARAM in filters 13Gert Faller
2010-10-18remove non-compiled codePovilas Kanapickas
2010-10-13Remove redundant include directives & commentsJ. Graeme Lingard
2010-10-13remove first chunk of lotuswordpro warningsCaolán McNamara
2010-10-13Add vim/emacs modelines to all source filesSebastian Spaeth
Fixes #fdo30794 Based on bin/add-modelines script (originally posted in mail 1286706307.1871.1399280959@webmail.messagingengine.com) Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>