Commit Graph

42 Commits

Author SHA1 Message Date
Alexander Wilms
a27462189d Remove visual noise from sw
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-02-27 09:41:00 -06:00
Michael Meeks
caaeb0a046 re-base on ALv2 code. Includes:
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-11-30 10:10:38 +00:00
Elton Chung
d30b4e9fb6 Get rid of size() == 0 2012-02-19 17:07:46 +04:00
Marcel Metz
53d27eb207 Removed unnecessary tools includes. 2012-01-05 15:38:51 +01:00
Michael T. Whiteley
dcfd4beb21 childs -> children 2011-12-08 11:32:41 +02:00
Norbert Thiebaud
dff7e08711 remove include of pch header from sw 2011-11-27 13:25:10 -06:00
Michael Stahl
ae64bf3051 sw: remove debug instance counting
There are various classes that in DBG_UTIL mode count their instances
with a global variable, and give each instance a unique serial number.
The purpose of this exercise is somewhat unclear to me.
This removes the instance counting from:
SwNumberTree, SwIndex, SwNodeIndex, SwNumRule
2011-11-24 00:52:09 +01:00
Michael Stahl
279a176397 sw: replace abuses of OSL_DEBUG_LEVEL with DBG_UTIL
OSL_DEBUG_LEVEL is set by make debug=t, which should never result in ABI
incompatible objects.
2011-11-24 00:52:00 +01:00
Júlio Hoffimann
ac6c250d9e left arrow comments removed // <-- 2011-04-22 16:04:20 +02:00
Júlio Hoffimann
4f51d1b7bb all bogus comments removed keeping the indentation 2011-04-18 16:43:16 +02:00
Thomas Arnhold
64378f446e Move OSL_ENSURE(false,...) to OSL_FAIL(...) 2011-03-13 16:54:59 +01:00
Thomas Arnhold
957791409a Remove all traces off ASSERT_ID 2011-02-21 18:04:50 +01:00
Fridrich Štrba
d824e51d4b Visual Studio is picky about constness of iterators 2011-02-12 12:08:40 +01:00
Guillaume Poussel
2b0f7be0e3 Clean-up bogus comments in writer. 2011-02-08 18:49:16 +01:00
Thomas Arnhold
c7c6be20b0 Remove some dead code 2011-02-06 17:38:16 +01:00
Thomas Arnhold
66f9ad3f69 Remove #refactorlists# comments. 2011-01-17 20:49:33 +01:00
Joseph Powers
51d9137c1a cppcheck: prefix instead of postfix 2010-11-27 20:27:15 -08:00
Cédric Bosdonnat
c16ba8a04f Removed DBG_UTIL from sw
* Fixed the different dbglevel builds
* This needed to change all the sw local ASSERT to OSL_ENSURE...
2010-11-25 17:12:34 +01:00
Sebastian Spaeth
61355e51b8 Add vim/emacs modelines to all source files
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-10-14 17:16:56 +02:00
os
8b64eb3c83 rebase to m76 2010-04-21 08:33:47 +02:00
Jens-Heiner Rechtien
1a359bd2a8 changefileheader2: #i109125#: change source file copyright notice from Sun Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision) 2010-02-12 15:01:35 +01:00
os
2ac42e9f96 #i105646# unused code removed 2010-01-11 15:11:11 +01:00
Mathias Bauer
b2bebad784 #i103452#: replace PRODUCT by !DBG_UTIL; replace assert by OSL_ASSERT where possible 2009-07-10 14:03:42 +02:00
Rüdiger Timm
24adb0c2f7 CWS-TOOLING: integrate CWS sw301bf04_DEV300 2008-12-11 09:52:14 +00:00
Rüdiger Timm
caa5f54a10 INTEGRATION: CWS swlists01 (1.13.36); FILE MERGED
2008/06/10 07:26:07 od 1.13.36.7: RESYNC: (1.16-1.18); FILE MERGED
2008/05/08 16:26:09 od 1.13.36.6: RESYNC: (1.14-1.16); FILE MERGED
2008/05/07 07:16:24 od 1.13.36.5: #i86732# further changes/adjustments for new list handling
2008/04/16 08:23:35 od 1.13.36.4: #i86732# further changes/adjustments for new list handling
2008/03/20 14:20:51 od 1.13.36.3: RESYNC: (1.13-1.14); FILE MERGED
2008/03/20 08:02:32 od 1.13.36.2: #i86732# class <SwNumberTreeNode>
	 - adjust method <AddChild(..)>
	 - implementation of method <SetLevelInListTree(..)>
2008/03/06 09:31:48 od 1.13.36.1: #i86732# - changes due to refactoring of class interfaces
	 - usage of new paragraph list attributes instead of class members
2008-06-13 08:29:51 +00:00
Rüdiger Timm
17df0134f8 INTEGRATION: CWS sw30bf05 (1.16.66); FILE MERGED
2008/05/30 13:14:00 od 1.16.66.2: RESYNC: (1.16-1.17); FILE MERGED
2008/05/21 13:00:21 od 1.16.66.1: #i74748# applying patch from garnier_romain:
	 method <SwNumberTreeNode::ValidateContinuous(..)>
	 - number tree node has to be validated.
2008-06-06 07:44:41 +00:00
Kurt Zenker
2503079f47 INTEGRATION: CWS c17v003_DEV300 (1.12.110.1.22); FILE MERGED
2008/04/17 20:25:01 fme 1.12.110.1.22.1: #b6688018# #b6688132# Interrupted and restart lists in tagged pdf / better caption handling
2008-05-20 16:21:22 +00:00
Rüdiger Timm
39fba03ca9 INTEGRATION: CWS changefileheader (1.15.14); FILE MERGED
2008/03/31 16:53:37 rt 1.15.14.1: #i87441# Change license header to LPGL v3.
2008-04-10 11:30:08 +00:00
Vladimir Glazounov
0a5ece6d12 INTEGRATION: CWS sw8u10bf05 (1.12.120); FILE MERGED
2008/02/25 08:28:41 od 1.12.120.2: RESYNC: (1.12-1.13); FILE MERGED
2008/01/25 10:40:46 ama 1.12.120.1: Fix #85182#: Remove unused functions
2008-03-18 14:54:26 +00:00
Oliver Bolte
73939c748c INTEGRATION: CWS swcrossref01_DEV300 (1.10.164); FILE MERGED
2008/02/01 08:13:00 od 1.10.164.4: RESYNC: (1.12-1.13); FILE MERGED
2007/12/03 09:23:24 od 1.10.164.3: RESYNC: (1.11-1.12); FILE MERGED
2007/10/01 11:23:42 od 1.10.164.2: RESYNC: (1.10-1.11); FILE MERGED
2007/09/17 12:20:16 od 1.10.164.1: #i81002# class <SwNumberTreeNode>
	 - implementation of new method <GetPrecedingNodeOf(..)>
2008-02-26 09:33:27 +00:00
Vladimir Glazounov
311b2a9498 INTEGRATION: CWS tagged01 (1.12.64); FILE MERGED
2007/11/28 09:59:27 fme 1.12.64.1: #i84014# Lists in tagged pdf: Reopen list tag
2008-01-29 07:19:38 +00:00
Ivo Hinkelmann
e4f2952999 INTEGRATION: CWS c07v015_SRC680 (1.10.82); FILE MERGED
2007/10/09 14:38:53 od 1.10.82.1: #b6600435# method <SwNumberTreeNode::IsFirst()>
	   - correction: child with previous phantom isn't the first one,
	     if its previous phantom has non-phantom childs.
2007-10-15 16:32:39 +00:00
Jens-Heiner Rechtien
b9f6076117 INTEGRATION: CWS swwarnings (1.9.130); FILE MERGED
2007/05/29 11:08:01 os 1.9.130.3: RESYNC: (1.9-1.10); FILE MERGED
2007/04/03 12:59:19 tl 1.9.130.2: #i69287# warning-free code
2007/03/12 08:05:26 fme 1.9.130.1: #i69287# Warning free code
2007-09-27 07:18:16 +00:00
Rüdiger Timm
727882da1c INTEGRATION: CWS os94 (1.9.156); FILE MERGED
2007/03/12 08:10:34 os 1.9.156.1: #i75235# unused methods removed
2007-04-25 07:58:40 +00:00
Rüdiger Timm
4306292321 INTEGRATION: CWS swautomatic01 (1.7.24); FILE MERGED
2006/10/10 17:00:20 fme 1.7.24.3: RESYNC: (1.7-1.8); FILE MERGED
2006/09/11 12:06:41 ama 1.7.24.2: #i65476#: Automatic Styles, numbering
2006/09/08 10:57:39 ama 1.7.24.1: #i65476#: Automatic Styles
2006-12-01 14:36:15 +00:00
Oliver Bolte
932dac7764 INTEGRATION: CWS pchfix02 (1.7.2); FILE MERGED
2006/09/01 17:51:10 kaib 1.7.2.1: #i68856# Added header markers and pch files
2006-09-16 19:33:41 +00:00
Jens-Heiner Rechtien
0c237e7f66 INTEGRATION: CWS writercorehandoff (1.2.84); FILE MERGED
2006/05/30 06:35:10 fme 1.2.84.5: RESYNC: (1.5-1.6); FILE MERGED
2006/05/08 12:52:24 fme 1.2.84.4: RESYNC: (1.4-1.5); FILE MERGED
2006/04/05 13:05:01 tra 1.2.84.3: RESYNC: (1.3-1.4); FILE MERGED
2006/03/17 07:58:03 tra 1.2.84.2: RESYNC: (1.2-1.3); FILE MERGED
2006/01/20 10:01:30 tra 1.2.84.1: #i50348#removed inactive code
2006-08-14 14:40:35 +00:00
Vladimir Glazounov
a6ed684844 INTEGRATION: CWS swqbf65 (1.5.12); FILE MERGED
2006/05/12 10:43:36 od 1.5.12.1: #i65284# method <SwNumberTreeNode::ValidateContinuous(..)>
	 - avoid unnecessary recursive and thus looping calls
2006-05-16 07:03:58 +00:00
Rüdiger Timm
1ebe04b751 INTEGRATION: CWS swqbf62 (1.4.48); FILE MERGED
2006/05/03 14:20:32 od 1.4.48.3: #135352# - correct fix for issue i64311
2006/04/26 19:27:48 od 1.4.48.2: #i64010# class <SwNumberTree> and <SwNodeNum>
	 - adjustments for correct handling of text node, which are
	   counted, but have no number/bullet
2006/04/25 13:26:55 od 1.4.48.1: #i64311# - correct consecutive numbering
2006-05-05 08:13:54 +00:00
Oliver Bolte
18d0b52992 INTEGRATION: CWS swqbf57 (1.3.74); FILE MERGED
2006/03/08 09:46:42 od 1.3.74.1: #131436# <SwNumberTree::MoveChildren(..)>
	 - correct STL usage
2006-03-21 14:31:15 +00:00
Jens-Heiner Rechtien
33777becb3 INTEGRATION: CWS stlusagefix01 (1.2.106); FILE MERGED
2006/01/17 11:42:01 od 1.2.106.1: #i60652# class <SwNumberTreeNode>
         - assure that, before elements are deleted from STL:set
           <mChildren>, member <mItLastValid> is adjusted.
           Otherwise, the element, which is referenced by <mItLastValid>,
	   is destroyed.
2006-01-25 12:41:06 +00:00
Rüdiger Timm
cec3424a87 INTEGRATION: CWS swnumtree (1.1.2); FILE ADDED
2005/11/02 10:34:51 od 1.1.2.23: #126009# - further adjustments are needed to consider phantoms, which are
	   children of not counted text nodes.
2005/10/21 11:17:50 od 1.1.2.22: #126009# <SwNumberTreeNode::AddChild(..)>
	 - consider not counted phantoms correctly.
2005/10/20 08:41:59 od 1.1.2.21: #126009# <SwNumberTreeNode::ValidateHierarchical(..)>
	 - correction: consider case that parent node isn't counted and
	   isn't the first child.
	 - correction: only node, which are counted, restart the numbering
	 <SwNumberTreeNode::AddChild(..)>
	 - correction: invalidation of not counted parent and notification
	   of its siblings.
	 <SwNumberTreeNode::SetLastValid(..)>
	 - correction: invalidation of children of next node, if next node
	   is not counted.
	 <SwNumberTreeNode::NotifyInvalidChildren()>
	 - correction: nofication of children of next node, if next node
	   is not counted.
2005/10/14 12:03:26 od 1.1.2.20: #125991# <SwNumberTreeNode::MoveGreaterChildren(..)>
	 - add parameter <_rCompareNode> to distinguish between
	   the compare node and the destination node
	 <SwNumberTreeNode::AddChild(..)>
	 - move greater childrens of previous node recursively through
	   the children levels.
2005/10/06 08:35:39 hbrinkm 1.1.2.19: #i51089# GetIterator: prevent crash when creating string for assertion
2005/10/05 09:00:27 hbrinkm 1.1.2.18: #i51089# ValidateHierarchical: first increase aIt then increase number
2005/09/28 07:55:12 hbrinkm 1.1.2.17: #i54903# license changed
2005/09/21 16:42:07 hbrinkm 1.1.2.16: #i54903# MoveGreaterChildren: removed unnecessary assertion
2005/09/20 11:14:36 hbrinkm 1.1.2.15: #i51089# RemoveChild: call NotifyChildren on correct node
2005/09/19 15:46:11 hbrinkm 1.1.2.14: #i51089# ValidateHierarchical: handle uncounted nodes at beginning correctly, NotifyInvalidSiblings
2005/09/16 08:04:02 hbrinkm 1.1.2.13: #i51089# Validate: only validate invalid nodes, IsValid: ask for correct parent
2005/09/14 13:58:02 hbrinkm 1.1.2.12: #i51089#
2005/09/14 13:34:59 hbrinkm 1.1.2.11: #i51089# -m[bn]Level{Valid}, ValidateHierarchical: Set number on every node, GetFirstNonPhantomChild, MoveGreaterChildren: handle nodes only containing phantom children, MoveChildren: SetLastValid, AddChild: invalidate on phantom insert, ValidateMe, deconst Notify...
2005/09/12 14:38:56 hbrinkm 1.1.2.10: #i51089# ValidateHierarchical: reimplementation, SetLastValid: new parameter bValidating
2005/08/30 12:53:44 hbrinkm 1.1.2.9: #i51089# ValidateHierarchical: Get start value from the numbered node not from its parent
2005/08/26 13:39:55 hbrinkm 1.1.2.8: #i51089# ValidateHierarchical: use child when reading restart properties
2005/08/19 15:18:01 hbrinkm 1.1.2.7: #i51089# only compile IsSane if __SW_NUMBER_TREE_SANITY_CHECK is set
2005/08/09 12:35:35 hbrinkm 1.1.2.6: #i51089# IsFirst
2005/07/08 14:34:27 hbrinkm 1.1.2.5: #i51089# Solaris compiler does not like sDefaultIndent
2005/07/07 13:49:22 hbrinkm 1.1.2.4: #i51089# ifdef missing
2005/07/07 12:45:00 hbrinkm 1.1.2.3: #i51089# IsCounted: Phantoms without counted children are not counted
2005/06/23 09:16:43 hbrinkm 1.1.2.2: #i51089# replace ifdef DEBUG by ifndef PRODUCT
2005/06/22 09:27:54 hbrinkm 1.1.2.1: #i51089# a numbering tree
2005-11-08 16:14:32 +00:00