summaryrefslogtreecommitdiff
path: root/sw/inc/shellio.hxx
AgeCommit message (Collapse)AuthorFilesLines
2015-11-25bin/rename-sw-abbreviations.shlibreoffice-5-1-branch-pointRobinson Tryon1-7/+7
This commit renames the most annoying abbreviations in Writer (and partially in the shared code too). Change-Id: I77e5134f42f25e3786afa36b7a505c7e3237a9e8
2015-11-24loplugin:unusedfields in sw/Noel Grandin1-1/+0
Change-Id: I0d9c79d0756ef85260d3b69cb1e879d7665bf356
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann1-9/+9
Change-Id: I01e11fa956a249974e77dce9deebe79311f098d0
2015-11-06com::sun::star->css in sw/incNoel Grandin1-8/+8
Change-Id: I6ffdb1deaa32156c65f997a1a1056928b7cd863d Reviewed-on: https://gerrit.libreoffice.org/19803 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann1-7/+7
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
2015-09-02SetXXX(bool) with a default value of false are just wrongNoel Grandin1-1/+1
Change-Id: I4888d0474199bb10ca81d1ad03118a150f574671 Reviewed-on: https://gerrit.libreoffice.org/18235 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-08-21allow differentiation between ww6 and ww8Caolán McNamara1-2/+2
Change-Id: Ia2181b3e9d01661aee521a763b0f87c65e6bad0c
2015-08-20more config skipping stuff and a tester toolCaolán McNamara1-0/+3
Change-Id: I5e93a4c84b3a0940239213766eb24d21fb5fd649 Reviewed-on: https://gerrit.libreoffice.org/17863 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-07-22loplugin:unusedmethods sw(part2)Noel Grandin1-8/+0
Change-Id: Ib95638267c5a7df73ccdd179dd62ac7c9a53a5e4 Reviewed-on: https://gerrit.libreoffice.org/17262 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-10do not include boost/utility.hppMichael Stahl1-1/+1
It just includes a bunch of other boost headers; mostly we need boost/noncopyable.hpp so include that directly. This eliminates 831 MB(!) of boost/preprocessor/seq/fold_left.hpp completely, which is the 2nd biggest header after ustring.hxx. Change-Id: I3df55770adcb46e56f389af828e8ba80da2dc1f2
2015-07-06improve the returnbyref lopluginNoel Grandin1-4/+4
Change-Id: I1b510a6194282dfa4a9001d473127c5ebc8b44eb Reviewed-on: https://gerrit.libreoffice.org/16731 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-05-20bin/rename-sw-abbreviations.shlibreoffice-5-0-branch-pointChristian Lohmaier1-25/+25
renames the most annoying abbreviations in Writer (and partially in the shared code too). Change-Id: I9a62759138126c1537cc5c985ba05cf54d6132d9
2015-05-07Unwind SotStorageStreamRef typedefStephan Bergmann1-1/+1
Change-Id: If7652a7c0251b741660365848a717c06954ca419
2015-05-07Unwind SotStorageRef typedefStephan Bergmann1-6/+6
Change-Id: I8d5363bb2ad813ef29b4078848914f4b0989b9f1
2015-05-05loplugin:staticmethodsNoel Grandin1-2/+2
Change-Id: I90dd921077bbfc57200e398e7959306f26c65cfe
2015-03-24SkipImages option for document importLászló Németh1-0/+3
This option allows images and drawings to be skipped while importing DOC and DOCX, for text-only conversion or indexing. Change-Id: Id4bfbbe48d8a8e970b1cb5922187768bf94dc918 Reviewed-on: https://gerrit.libreoffice.org/14733 Reviewed-by: Németh László <nemeth@numbertext.org> Tested-by: Németh László <nemeth@numbertext.org>
2015-03-23loplugin:constantfunction: swNoel Grandin1-4/+0
Change-Id: Ife8ccbe4625d87d1e3314c75604cb3d947011680
2015-01-29callcatcher: large newly detected unused methods post de-virtualizationCaolán McNamara1-1/+0
i.e lots now able to be detected after... commit b44cbb26efe1d0b0950b1e1613e131b506dc3876 Author: Noel Grandin <noel@peralex.com> Date: Tue Jan 20 12:38:10 2015 +0200 new loplugin: change virtual methods to non-virtual Where we can prove that the virtual method is never overriden. In the case of pure-virtual methods, we remove the method entirely. Sometimes this leads to entire methods and fields being eliminated. Change-Id: I605e2fa56f7186c3d3a764f3cd30f5cf7f881f9d
2015-01-26new loplugin: change virtual methods to non-virtualNoel Grandin1-1/+1
Where we can prove that the virtual method is never overriden. In the case of pure-virtual methods, we remove the method entirely. Sometimes this leads to entire methods and fields being eliminated. Change-Id: I138ef81c95f115dbd8c023a83cfc7e9d5d6d14ae
2015-01-09override the overloading of "overload" to decrease cognitive (over-)loadMichael Stahl1-1/+1
Change-Id: I4d0e1de89d0bbdbea23bc5a46bf75ae0ce4e2796
2015-01-03Writer::GetBookmarks can return boolMatteo Casalin1-1/+1
Change-Id: I4210fd4bc086c5cfdfe7dc01cd9387993b4916ca
2014-11-16SetStrmStgPtr can return bool instead of sal_True/sal_False in an intMatteo Casalin1-1/+1
Change-Id: I5348977de17d3f916cecabe4b5c3f7630a89667e
2014-11-14fdo#86023 - O[U]String needs a 'clear' methodBrij Mohan Lal Srivastava1-1/+1
Added clear() method to OString and OUString class, Updated appropriate call-sites. Change-Id: I0ba97fa6dc7af3e31b605953089a4e8e9c3e61ac Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-10-01sw: std::auto_ptr -> std::unique_ptrStephan Bergmann1-1/+1
Change-Id: I60ac3706b9be335c31039ed0997cb8215808ddaa
2014-10-01fdo#82577: Handle TimeNoel Grandin1-1/+1
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-08-26Remove unnecessary #ifndef SW_DECL_WRITER_DEFINEDStephan Bergmann1-3/+0
Change-Id: I867011761c1029d676db39ddc3e647c7708f42a7
2014-06-27loplugin:unreffun: also warn about redundant redeclarationsStephan Bergmann1-1/+0
Change-Id: I9a812220b58cf6da00d854e65794f7c673ab239d
2014-04-30sw: sal_Bool->boolNoel Grandin1-74/+74
Change-Id: I324a0ffde2ddcca105451c19e7aadcfad15211d8
2014-04-24Finish cleaning up ASCII art in the sw moduleChris Laplante1-3/+0
Change-Id: If4f11093b791902514dee8e216c92f66b075211d Reviewed-on: https://gerrit.libreoffice.org/9117 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-04-08sw: SetupFilterOptions for any Writer derived filter (html, ascii)Tomaž Vajngerl1-0/+2
Change-Id: I6f0147ea640a7ad767e2c0112b5e18dcb530fa7c
2014-04-07Replace SV_DECL/IMPL_REF macros with SvRef templateStephan Bergmann1-2/+1
Change-Id: I0ef2e67f6d61e0ce118c0f5e926b8194ef9d8058
2014-03-27Second batch of adding SAL_OVERRIDE to overriding function declarationsStephan Bergmann1-7/+7
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: Ie656f9d653fc716f72ac175925272696d509038f
2014-02-27Remove visual noise from swAlexander Wilms1-12/+0
Conflicts: sw/inc/unodraw.hxx sw/inc/unoframe.hxx sw/sdi/swriter.sdi sw/source/core/unocore/unoframe.cxx sw/source/core/unocore/unoparagraph.cxx sw/source/filter/ww8/rtfexportfilter.cxx sw/source/ui/inc/unotxvw.hxx sw/source/ui/lingu/hyp.cxx sw/source/ui/lingu/sdrhhcwrap.cxx sw/source/ui/uno/swdetect.hxx Change-Id: Ic0a3fb2392187c277c9b36915ffb10dcf0317908 Reviewed-on: https://gerrit.libreoffice.org/8322 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-01-16sw: make these public as well for unit testsMiklos Vajna1-2/+2
All are Sw-prefixed or are in Sw-prefixed namespace, so what can go wrong. Change-Id: Icbd8cead5e1db88d34519b09b21e64735ccb2734
2014-01-16sw: make these public, they will be needed in unit testsMiklos Vajna1-2/+2
And they have the Sw prefix already, so should be no issue. Change-Id: Ibbce389de83b462028dbcf338e5ce277f102d791
2014-01-15Related: #i17171# big xub_Strlen -> sal_Int32 changesCaolán McNamara1-1/+1
Change-Id: I31bce794c95062abfa1171c13cf565498688b5f3
2013-11-05fixincludeguards.sh: swThomas Arnhold1-2/+2
Change-Id: I8e0889200d1a1c36e53022a74792728efd66c2fc
2013-10-22Bin comments that claim to say why some header is includedTor Lillqvist1-1/+1
They are practically always useless, often misleading or obsolete. Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
2013-08-15String to OUString, some formattingMatteo Casalin1-48/+47
Conflicts: sw/source/filter/basflt/fltini.cxx sw/source/ui/dialog/ascfldlg.cxx Change-Id: Ifa12105aa6f747e2797891b6c71128bd96f78bf3
2013-08-14convert Read/WriteUserData methods to OUString and boolIvan Timofeev1-2/+2
Change-Id: I06a8158b7f503976b19383014a7c8a867c0184ea
2013-07-31String to OUStringMatteo Casalin1-14/+14
Change-Id: I412801fbc1a692c02badd15ce03d4d7ff82aab5e Reviewed-on: https://gerrit.libreoffice.org/5186 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-07-31String to OUStringMatteo Casalin1-2/+2
Change-Id: Ifc5e74f3a484229e05fe65b47ac5e8b763595fd0 Reviewed-on: https://gerrit.libreoffice.org/5183 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-07-15callcatcher: update unused codeCaolán McNamara1-4/+0
All FontSizeBoxs and SmFontPickListBoxs are now .ui loaded, .res ctors unused Change-Id: I50aa8606fefacab0b15b6795a7ba90dff8109802
2013-03-04remove unused and commented out codeThomas Arnhold1-1/+0
This code gets never called. Change-Id: I59228cba1444b7b09f74eb5cf8da9b755c7c32f7
2012-12-25sal_Bool to boolTakeshi Abe1-1/+1
Change-Id: Ibbf9e257fff19ab6305bd401a1746e6d0bcb47fd
2012-12-11remove wrong and unused forward declaration for 'class vector'Luboš Luňák1-1/+0
2012-11-30re-base on ALv2 code. Includes:Michael Meeks1-23/+14
Patches contributed by Oliver-Rainer Wittmann sw34bf06: #i117783# - Writer's implementation of XPagePrintable - apply print settings to new printing routines http://svn.apache.org/viewvc?view=revision&revision=1172115 sw34bf06: #o12311627# use <rtl_random> methods to create unique ids for list styles and list ids http://svn.apache.org/viewvc?view=revision&revision=1172112 sw34bf06 #i114725#,#i115828# - method <SwDoc::ClearDoc()> - clear list structures completely http://svn.apache.org/viewvc?view=revision&revision=1172122 i#118572 - remove ui string and help content regarding usage of Java Mail in Writer's Mail Merge as Java Mail is not used. http://svn.apache.org/viewvc?view=revision&revision=1197035 Patches contributed by Mathias Bauer cws mba34issues01: #i117718#: provide filter name in case storage of medium does not allow to detect one http://svn.apache.org/viewvc?view=revision&revision=1172350 cws mba34issues01: #i117721#: directly provide parameters retrieved from SfxMedium http://svn.apache.org/viewvc?view=revision&revision=1172353 gnumake4 work variously http://svn.apache.org/viewvc?view=revision&revision=1394707 http://svn.apache.org/viewvc?view=revision&revision=1394326 http://svn.apache.org/viewvc?view=revision&revision=1396797 http://svn.apache.org/viewvc?view=revision&revision=1397315 cws mba34issues01: #i117723#: convert assertion into trace http://svn.apache.org/viewvc?view=revision&revision=1172355 cws mba34issues01: #i117699#: keep layout alive until swdoc dies http://svn.apache.org/viewvc?view=revision&revision=1172362 cws mba34issues01: #i117943#: missing color attributes in RTF clipboard http://svn.apache.org/viewvc?view=revision&revision=1172363 Patch contributed by Henning Brinkmann imported patch i#103878 http://svn.apache.org/viewvc?view=revision&revision=1172109 Patches contributed by Michael Stahl sw34bf06: #i117955#: WW8 export: disable storing of section breaks in endnotes http://svn.apache.org/viewvc?view=revision&revision=1172119 Patch contributed by imacat Fixed the Asian language work count. http://svn.apache.org/viewvc?view=revision&revision=1241345 Patch contributed by Pedro Giffuni i#20878 - Add comment with BZ issue for reference. http://svn.apache.org/viewvc?view=revision&revision=1244517 Patch contributed by Andre Fischer Do not add targets for junit tests when junit is disabled. http://svn.apache.org/viewvc?view=revision&revision=1241508 add writerperfect dependency.
2012-07-28update comments about SvPtrArrCaolán McNamara1-1/+0
Change-Id: I627f65581f457f0b1485bc30abcd5e4a10434d14
2012-06-22Remove empty or non-called methodsThomas Arnhold1-1/+0
empty: ClearTip implOnShapeInserted ImpCopyMarkedPoints ImpMakeDragAttr ImpCopyMarkedPoints ImpMakeDragAttr ImpDelDragAttr ImpMakeCreateAttr Is1stLessThan2nd LinkToListTemplate NewCoreSelection ScrollStart ScrollEnd SetNoOutlineNum non-called: NewCoreSelection Change-Id: Ief273b741aaf49ff66c0dac898686e4def4de0c1
2012-03-02Convert SvPtrarr usage to std::vectorNoel Grandin1-1/+2
In GetBookmarks and Writer_Impl pFontRemoveLst field. Remove unused field pBkmkArr in Writer_Impl class. Convert SwBookmarkNodeTable to std::multimap, greatly simplifying code.