summaryrefslogtreecommitdiff
path: root/sw/inc/SwNodeNum.hxx
AgeCommit message (Collapse)Author
2020-11-19tdf#123936 Formatting files in module sw with clang-formatPhilipp Hofer
Change-Id: I6243bc95129bf81a124d006ce0fc1aa1b5f618bb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105718 Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Tested-by: Jenkins
2019-11-07Looks like UBSan still needs various RTTI for some reasonStephan Bergmann
After 5d7af3c38b618d438e065da9d90668e7c4baa849 "make some classes module-private" various tests in my Linux ASan+UBSan build failed due to missing symbols. Identified the problematic types with > make check screenshot gb_SUPPRESS_TESTS=x && for i in $(find instdir/program workdir/LinkTarget/CppunitTest -type f); do LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}instdir/program:workdir/UnpackedTarball/cppunit/src/cppunit/.libs ldd -r "$i" 2>/dev/null | grep 'undefined symbol: _ZTI'; done and fixed the ensuing > sw/source/core/SwNumberTree/SwNodeNum.cxx:190:32: error: dynamic_cast from 'SwNumberTreeNode' with hidden type visibility to 'SwNodeNum' with default type visibility [loplugin:dyncastvisibility] > SwNodeNum* pChild( dynamic_cast<SwNodeNum*>(pNode) ); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > sw/inc/SwNumberTree.hxx:114:7: note: base class 'SwNumberTreeNode' with hidden type visibility defined here [loplugin:dyncastvisibility] > class SwNumberTreeNode > ~~~~~~^~~~~~~~~~~~~~~~ > sw/inc/SwNodeNum.hxx:29:26: note: derived class 'SwNodeNum' with default type visibility defined here [loplugin:dyncastvisibility] > class SAL_DLLPUBLIC_RTTI SwNodeNum : public SwNumberTreeNode > ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fallout. Change-Id: I7abafdb4d02216e1a047f886d5e72ad3420115ce Reviewed-on: https://gerrit.libreoffice.org/82210 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2019-11-06make some classes module-privateNoel Grandin
Change-Id: I00ab3a3f6a8bbc85320e7b4fd1aa13af798e7e4c Reviewed-on: https://gerrit.libreoffice.org/82062 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-11-15sw_redlinehide_3: add flag to SwNodeNumMichael Stahl
Disable the NumRule/DocumentListsItemManager manipulations on the second tree; only the "main" tree does that. Change-Id: I0da8ced53f8d55758e3c02fd24b9253bbf603b38
2018-06-18tdf#108523 Remove @author annotationsAbhyudaya Sharma
Change-Id: I85e364da59ce70ddd97fdae9bc03a4ea76b007fc Reviewed-on: https://gerrit.libreoffice.org/55263 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2018-04-25sw: fix remaining IWYU warnings in inc/*.hxxMiklos Vajna
Also check for not needed forward declarations. Change-Id: I92759f3f40d9458fd192665b39b87a78d8b97e5a Reviewed-on: https://gerrit.libreoffice.org/53418 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2017-10-23loplugin:includeform: swStephan Bergmann
Change-Id: Ifc3c4c31a31ee7189eeab6f1af30b94d64f2f92a
2016-09-13loplugin:override: No more need for the "MSVC dtor override" workaroundStephan Bergmann
The issue of 362d4f0cd4e50111edfae9d30c90602c37ed65a2 "Explicitly mark overriding destructors as 'virtual'" appears to no longer be a problem with MSVC 2013. (The little change in the rewriting code of compilerplugins/clang/override.cxx was necessary to prevent an endless loop when adding "override" to OOO_DLLPUBLIC_CHARTTOOLS virtual ~CloseableLifeTimeManager(); in chart2/source/inc/LifeTime.hxx, getting stuck in the leading OOO_DLLPUBLIC_CHARTTOOLS macro. Can't remember what that isAtEndOfImmediateMacroExpansion thing was originally necessary for, anyway.) Change-Id: I534c634504d7216b9bb632c2775c04eaf27e927e
2016-04-22Avoid reserved identifiersStephan Bergmann
Change-Id: I27ff0f4f0eb395d7e0a60dd604758c220a3134c4
2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
2015-10-12Replace "SAL_DELETED_FUNCTION" with "= delete" in LIBO_INTERNAL_ONLY codeStephan Bergmann
Change-Id: I328ac7a95ccc87732efae48b567a0556865928f3
2015-05-20bin/rename-sw-abbreviations.shlibreoffice-5-0-branch-pointChristian Lohmaier
renames the most annoying abbreviations in Writer (and partially in the shared code too). Change-Id: I9a62759138126c1537cc5c985ba05cf54d6132d9
2015-02-07loplugin:deletedspecialStephan Bergmann
Change-Id: Ia2b137e0167966a3d0b60f3c642a106834da8f1c
2014-06-09loplugin: inlinesimplememberfunctionsNoel Grandin
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
2014-03-27Second batch of adding SAL_OVERRIDE to overriding function declarationsStephan Bergmann
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: Ie656f9d653fc716f72ac175925272696d509038f
2013-11-05fixincludeguards.sh: swThomas Arnhold
Change-Id: I8e0889200d1a1c36e53022a74792728efd66c2fc
2012-11-30re-base on ALv2 code. Includes:Michael Meeks
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.
2011-04-22left arrow comments removed // <--Júlio Hoffimann
2010-11-15Comment translations, bogus comments, commented code removed from SW includesRobert Roth
2010-10-14Add 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>
2010-02-12changefileheader2: #i109125#: change source file copyright notice from Sun ↵Jens-Heiner Rechtien
Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision)
2008-06-13INTEGRATION: CWS swlists01 (1.7.390); FILE MERGEDRüdiger Timm
2008/05/08 16:16:53 od 1.7.390.8: RESYNC: (1.8-1.9); FILE MERGED 2008/05/07 07:12:40 od 1.7.390.7: #i86732# further changes/adjustments for new list handling 2008/04/16 08:15:44 od 1.7.390.6: #i86732# further changes/adjustments for new list handling 2008/03/20 17:12:14 od 1.7.390.5: correction of merge 2008/03/20 16:12:12 od 1.7.390.4: correction of merge conflict solution 2008/03/20 14:27:16 od 1.7.390.3: RESYNC: (1.7-1.8); FILE MERGED 2008/03/20 07:46:22 od 1.7.390.2: #i86732# class <SwNodeNum>: remove no longer needed methods 2008/03/06 07:48:14 od 1.7.390.1: #i86732# class <SwNumberTreeNode> and <SwNodeNum> - refactoring of class interfaces
2008-04-10INTEGRATION: CWS changefileheader (1.8.56); FILE MERGEDRüdiger Timm
2008/03/31 16:52:33 rt 1.8.56.1: #i87441# Change license header to LPGL v3.
2008-02-26INTEGRATION: CWS swcrossref01_DEV300 (1.7.166); FILE MERGEDOliver Bolte
2007/11/22 13:27:21 od 1.7.166.2: #i83479# classes <SwNumberTree> and <SwNodeNum> - minor refactorings - made <SwNumberTree::AddChild(..)> virtual and override it in sub class <SwNodeNum> 2007/09/17 12:12:05 od 1.7.166.1: #i81002# class <SwNodeNum> - new method <GetPrecedingNodeNumOf(..)>
2007-04-25INTEGRATION: CWS os94 (1.6.156); FILE MERGEDRüdiger Timm
2007/03/12 08:07:27 os 1.6.156.1: #i75235# unused methods removed
2006-12-01INTEGRATION: CWS swautomatic01 (1.5.84); FILE MERGEDRüdiger Timm
2006/09/11 12:04:46 ama 1.5.84.1: #i65476#: Automatic Styles, numbering
2006-05-05INTEGRATION: CWS swqbf62 (1.4.50); FILE MERGEDRüdiger Timm
2006/04/26 19:22:42 od 1.4.50.1: #i64010# class <SwNumberTree> and <SwNodeNum> - adjustments for correct handling of text node, which are counted, but have no number/bullet
2006-03-21INTEGRATION: CWS swqbf57 (1.3.150); FILE MERGEDOliver Bolte
2006/03/08 09:41:34 od 1.3.150.1: #131436# class <SwNodeNum> - new static method <HandleNumberTreeRootNodeDelete(..)
2005-11-17INTEGRATION: CWS swqbf44 (1.2.6); FILE MERGEDOliver Bolte
2005/11/16 09:46:33 od 1.2.6.1: #i57919# class <SwNodeNum> - introduce new method <GetStartValue()>, needed by HTML export
2005-11-08INTEGRATION: CWS swnumtree (1.1.2); FILE ADDEDRüdiger Timm
2005/09/28 07:54:34 hbrinkm 1.1.2.7: #i54903# license changed 2005/09/14 13:15:04 hbrinkm 1.1.2.6: #i51089# NotifyNode: no const 2005/08/19 15:16:39 hbrinkm 1.1.2.5: #i51089# place SW_DLLPUBLIC correctly 2005/07/08 14:42:48 hbrinkm 1.1.2.4: #i51089# SW_DLLPUBLIC 2005/07/07 12:39:25 hbrinkm 1.1.2.3: #i51089# GetNumFmt 2005/06/29 07:56:13 hbrinkm 1.1.2.2: #i51089# SwPosition is a struct 2005/06/22 09:25:51 hbrinkm 1.1.2.1: #i51089# the number of a node (a node of a numbering tree)