Commit graph

18 commits

Author SHA1 Message Date
Eike Rathke
43aa1115c8 changes to "convert detdata.cxx in SC module to boost:ptr_vector"
* for includes from other modules use <> instead of "", i.e.
  <boost/ptr_container/ptr_vector.hpp>
* use size_t instead of int for container positions and count
* no need for DeleteAndDestroy(), in fact delete p followed by
  ptr_vector::erase() attempted to delete the instance twice and would crash
* adapted places that accessed DeleteAndDestroy() to operate on the vector
  instead
  * introduced GetDataVector() for that
* changed the DeleteOnTab() loop that used DeleteAndDestroy() to properly
  iterate over the container instead
* changed UpdateReference() to a loop using iterator
* changed operator==() to use size_t instead of sal_uInt16
  * note aside: mixing sal_uInt16 with a container's size isn't a good idea
* adapted places that access Count() and GetObject() to use size_t instead of
  sal_uInt16
* made GetObject() const and return const ScDetOpData*
* changed indentation to 4 spaces per level
2012-02-10 17:27:27 +01:00
Noel Grandin
d4a31e6ae2 convert detdata.cxx in SC module to boost:ptr_vector
converts usage of SV_DECL_PTRARR_DEL in sc/inc/detdata.hxx and associated code
to boost::ptr_vector
2012-02-10 17:27:27 +01:00
Stephan Bergmann
7c704c78d3 Removed some unused parameters; added SAL_UNUSED_PARAMETER.
SAL_UNUSED_PARAMETER (expanding to __attribute__ ((unused)) for GCC)
is used to annotate legitimately unused parameters, so that static
analysis tools can tell legitimately unused parameters from truly
unnecessary ones.  To that end, some patches for external modules
are also added, that are only applied when compiling with GCC and
add necessary __attribute__ ((unused)) in headers.
2012-01-21 15:21:16 +01:00
Jan Holesovsky
e6064484fa Merge remote-tracking branch 'origin/integration/dev300_m101'
Conflicts:
	chart2/source/controller/main/UndoManager.cxx
	chart2/source/tools/RegressionCurveHelper.cxx
	sc/inc/address.hxx
	sc/inc/attrib.hxx
	sc/inc/bigrange.hxx
	sc/inc/callform.hxx
	sc/inc/cell.hxx
	sc/inc/chartarr.hxx
	sc/inc/chartlis.hxx
	sc/inc/chgtrack.hxx
	sc/inc/collect.hxx
	sc/inc/compiler.hxx
	sc/inc/detdata.hxx
	sc/inc/document.hxx
	sc/inc/fillinfo.hxx
	sc/inc/olinetab.hxx
	sc/inc/prnsave.hxx
	sc/inc/queryparam.hxx
	sc/inc/sc.hrc
	sc/inc/scabstdlg.hxx
	sc/inc/table.hxx
	sc/inc/validat.hxx
	sc/inc/zforauto.hxx
	sc/source/core/data/documen2.cxx
	sc/source/core/data/document.cxx
	sc/source/core/data/table1.cxx
	sc/source/core/tool/address.cxx
	sc/source/core/tool/token.cxx
	sc/source/filter/excel/frmbase.cxx
	sc/source/filter/excel/impop.cxx
	sc/source/filter/excel/xename.cxx
	sc/source/filter/inc/formel.hxx
	sc/source/filter/inc/xename.hxx
	sc/source/filter/xml/xmlexprt.cxx
	sc/source/filter/xml/xmlnexpi.cxx
	sc/source/filter/xml/xmlnexpi.hxx
	sc/source/ui/dbgui/filtdlg.cxx
	sc/source/ui/inc/docfunc.hxx
	sc/source/ui/inc/namedlg.hxx
	sc/source/ui/namedlg/namedlg.cxx
	sc/source/ui/src/namedlg.src
2011-03-18 15:33:40 +01:00
Nicolas Christener
e02b8039e7 translate german comments in /sc/inc 2011-03-13 19:40:00 +01:00
Kohei Yoshida
12343c1556 Merge commit 'ooo/DEV300_m101' into integration/dev300_m101 2011-03-10 20:21:13 -05:00
Mikhail Voytenko
cd42389ad6 removetooltypes01: #i112600# remove tooltypes from sc 2011-01-17 13:20:22 +01:00
Caolán McNamara
ad3292e2b3 add modelines to .hxx files as well 2010-10-28 15:47:29 +01:00
Jens-Heiner Rechtien
4573ccfffd 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
Mathias Bauer
a293d0a7b1 #i103496#: split svtools; improve ConfitItems 2009-10-16 00:05:16 +02:00
Vladimir Glazounov
716636d558 CWS-TOOLING: integrate CWS koheicoderemoval 2008-09-30 05:48:28 +00:00
Rüdiger Timm
450ed558b6 INTEGRATION: CWS changefileheader (1.6.330); FILE MERGED
2008/04/01 15:29:26 thb 1.6.330.3: #i85898# Stripping all external header guards
2008/04/01 12:35:53 thb 1.6.330.2: #i85898# Stripping all external header guards
2008/03/31 17:13:28 rt 1.6.330.1: #i87441# Change license header to LPGL v3.
2008-04-10 17:24:54 +00:00
Vladimir Glazounov
f8a8111979 INTEGRATION: CWS calcwarnings (1.5.314); FILE MERGED
2006/12/13 19:18:19 nn 1.5.314.1: #i69284# warning-free: core, unxsols4
2007-02-27 10:55:19 +00:00
Jens-Heiner Rechtien
b3caca090a INTEGRATION: CWS dr37 (1.3.346); FILE MERGED
2005/04/22 14:37:07 nn 1.3.346.1: #i8180# remove db ranges/linked areas/labels/datapilot on deleted sheets
2005-09-28 10:25:48 +00:00
Rüdiger Timm
33b5fa63da INTEGRATION: CWS ooo19126 (1.3.452); FILE MERGED
2005/09/05 15:00:40 rt 1.3.452.1: #i54170# Change license header: remove SISSL
2005-09-08 16:31:55 +00:00
Oliver Bolte
68b84d58a9 INTEGRATION: CWS rowlimit (1.2.302); FILE MERGED
2004/01/12 17:14:55 er 1.2.302.2: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2003/11/28 19:47:18 er 1.2.302.1: #i1967# move ScAddress, ScRange from global.hxx to address.hxx
2004-06-04 09:06:42 +00:00
Niklas Nebel
b70135f37d #75362# additional flag to quickly check if 'Add Error' is in the list 2002-11-04 14:46:18 +00:00
Jens-Heiner Rechtien
9ae5a91f79 initial import 2000-09-18 16:07:07 +00:00