Commit Graph

41 Commits

Author SHA1 Message Date
Stephan Bergmann
acb7ca4283 chart2: Use appropriate OUString functions on string constants
Change-Id: Ifc28920e69db410b00312e634caba33b0e286b7f
2014-12-18 14:12:23 +01:00
Noel Grandin
827c46e7d7 fdo#82577: Handle Window
Put the VCL Window class in the vcl namespace. Avoids clash with the X11
Window typedef.

Change-Id: Ib1beb7ab4ad75562a42aeb252732a073d25eff1a
2014-09-23 14:11:39 +03:00
Noel Grandin
329332ba52 chart2: sal_Bool->bool
Change-Id: I85751b4e636596ef88ef02bc958abdc6abf98427
2014-04-15 15:23:29 +02:00
Noel Grandin
80ef0dfedc svtools: sal_Bool->bool
Change-Id: I42a341b5805e0b2a7d619ba552700db35815afd5
2014-03-25 14:32:57 +02:00
Stephan Bergmann
76b114f849 implicitboolconversion: warn about implicit conversion of call args to bool
...to be able to find problems like 6e0bdf04ad
"sal_Bool arg of SetUseImagesInMenus was abused to squeeze '2' through it"
earlier when converting occurrences of sal_Bool to bool.

Restricting this check to function call arguments avoids too much noise while
hopefully still catching all the relevant problems.

(This check partially overlaps the pointertobool check, so implicit conversions
from pointers to bool call arguments will now generate two loplugin warnings,
but that's harmless.)

Change-Id: I0b03b1d1615aaf8bc18e7a84c56fff3ef9903508
2014-02-24 17:25:05 +01:00
Stephan Bergmann
e8f8f24c84 vcl: sal_Bool -> bool
Change-Id: I2a3e3d3e3266ea0f0fafdd91362076a4aa160f0e
2014-02-21 12:53:51 +01:00
Markus Mohrhard
8cb2877b2d add the time based charting stuff to the ui files
Change-Id: I5ffb382f61e56d1c07dfb945f08fa354aea9d5fc
2014-02-09 14:16:41 +01:00
Markus Mohrhard
9c5593bebf start time based onlz after dialog is closed
everything else seems to result in serious bugs!!

Change-Id: I1afbdb7623f877781c7ef362d87608a1e2aba72e
2014-01-29 08:09:34 +01:00
Markus Mohrhard
262fccfccd fix the time based rendering
I managed to screw it up already. I really need some sleep.

Change-Id: Ie1f13496cd36a6f48b2b094ac302f293d5fd5383
2014-01-29 08:09:32 +01:00
Markus Mohrhard
750b46025c give up with the nice solutions and enjoy the ugly hack
I was always hitting a corner case so it seems that this need some
drastic measures.

Change-Id: I3fdd278b9c3fed178513d653ef24ad8adf20cbd2
2014-01-29 08:09:30 +01:00
Markus Mohrhard
46574ef1a2 add time based option to UI
we still need to notify ChartModel but I have no idea how

Change-Id: Iac5e09f2bdbcb1d4bc18d4a9dcc30db3a7ab36af
2014-01-29 08:09:29 +01:00
Tor Lillqvist
1cedea0eef WaE: C4805: '!=' : unsafe mix of type 'sal_Bool' and type 'bool' in operation
Change-Id: If67bcfa3f3faaf7ed48493a0f8281fba70431abf
2014-01-03 15:42:55 +02:00
Olivier Hallot
ce4db6fe77 Convert chart range chooser tab page to .ui
Change-Id: Ibe80ec369b8efcded6cf9ce31f7c7d66e3e61dc0
Reviewed-on: https://gerrit.libreoffice.org/7224
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-12-29 16:53:05 +00:00
Julien Nabet
b3c2cf2ae1 widht -> width
Change-Id: I661eeb167a95540a223ce72aac51789daf3767dc
2013-11-23 23:22:25 +01:00
Thomas Arnhold
54a17dd246 windows: warning 4355 is disabled globally in com_MSC_defs.mk
So there is no need to do this locally, too.

Change-Id: I0fa1d0cd3e077ba0985848a9d2cbb061b123e8ad
2013-10-28 01:02:13 +01:00
Jelle van der Waa
7be7824bbb chart2: String to OUString
Change-Id: I8abc6a31a46bea404e9d8b0c8777e3400dbf928c
Reviewed-on: https://gerrit.libreoffice.org/5865
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-09-08 02:23:15 +00:00
Lionel Elie Mamane
ef3e7f2316 janitorial: indentation
Change-Id: I3070c0b4fa84090412191415b23e455b9e8d1bbc
2013-08-30 18:36:45 +02:00
Jelle van der Waa
dd9c97d587 fdo#62475 removed pointless comments
Change-Id: I3f5e86dba2df950aeb12c895f52d99274c0959aa
Reviewed-on: https://gerrit.libreoffice.org/5148
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-07-29 11:34:33 +00:00
Caolán McNamara
5efc15f000 reduce use of UniString from ResID ctor
Change-Id: I8d7619e7807ff2d400ec5c7fd181375130245728
2013-07-28 16:45:48 +01:00
Olivier Hallot
8f14c8a611 OUString cleanup in Chart2
Include C2U macro and rtl prefix

Change-Id: If930f77179dbf24d43f10a344b68edcf968f7304
2012-10-08 21:41:49 +05:30
Michael Meeks
63c508e3e8 re-base on ALv2 code. Includes:
118568: switch to using ucpp
    Patch contributed by Juergen Schmidt
    http://svn.apache.org/viewvc?view=revision&revision=1209396
2012-07-18 09:29:19 +01:00
Stephan Bergmann
bd205223ec New IMPL_LINK_NOARG to work around SAL_UNUSED_PARAMETER problem
...see ebe26f72e9 "WaE: 'unused' attribute ignored when parsing type"
for the problem.
2012-03-01 18:00:32 +01:00
Olivier Hallot
0eac98aa74 Fix for fdo43460 Part V getLength to isEmpty
Part V
Module
chart2
2011-12-13 00:36:43 +04:00
Norbert Thiebaud
6da8379e14 remove include of pch header in chart2 2011-11-27 12:59:19 -06: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
Thomas Arnhold
fd3ae880bc Move OSL_ENSURE(false,...) to OSL_FAIL(...) 2011-03-13 16:44:11 +01:00
Kohei Yoshida
12343c1556 Merge commit 'ooo/DEV300_m101' into integration/dev300_m101 2011-03-10 20:21:13 -05:00
Carsten Driesner
e1d7ba2932 removetooltypes01: Rebase to DEV300m99 2011-02-07 13:06:08 +01:00
Mikhail Voytenko
3d6a5a98cd removetooltypes01: #i112600# remove tooltypes from chart2 2011-01-14 15:18:08 +01:00
Timo Heino
9beb453e11 Removed somecomments
Signed-off-by: Timo Heino <eraggo@gmail.com>
2010-11-28 21:52:29 +00:00
Frank Schoenheit [fs]
78fed9b862 undoapi: step 0.1 of the migration of css.chart2.XUndoManager to css.document.XUndoManager: remove the XModel paramter from the XUndoManager methods, they're an implicit attribute of the instance 2010-11-09 21:36:54 +01:00
Sebastian Spaeth
63bb42ab7d 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-13 10:57:18 +02:00
Frank Schoenheit [fs]
7c54ab539e unoawt: completely separated the controller functionality of a wizard page from the wizard page itself,
by moving the canAdvance method from OWizardPage to the IWizardPage interface, which in this course has
been renamed to IWizardPageController.
This will later on allow to have implementations where the TabPage is provided by an external component
(e.g. as UNO Service), but the controlling of those pages is still intercepted and handled internally.
2010-05-25 10:17:24 +02: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
Vladimir Glazounov
c1b45151c3 CWS-TOOLING: integrate CWS chart40
2009-08-05 10:28:53 +0200 iha  r274640 : CWS-TOOLING: rebase CWS chart40 to trunk@274622 (milestone: DEV300:m54)
2009-07-31 18:03:11 +0200 iha  r274546 : #i91420# number of lines on chart type dialog is incorrect
2009-07-23 15:51:13 +0200 iha  r274275 : correct detection of old chart files b6700820
2009-07-23 15:10:30 +0200 iha  r274273 : #i103287# some lines vanish on import of some old files (opacity-problem)
2009-07-23 13:42:10 +0200 iha  r274268 : #i103588# Chart in report cause crash
2009-07-23 10:57:14 +0200 iha  r274264 : #i95503# Enter key does not work in source ranges dialog
2009-07-22 10:25:02 +0200 iha  r274221 : #i103713# ambiguous && ||
2009-07-20 12:59:02 +0200 iha  r274120 : #i103468# remove warning
2009-08-26 12:47:18 +00:00
Vladimir Glazounov
70346a3272 CWS-TOOLING: integrate CWS chart30 2008-10-01 07:35:04 +00:00
Oliver Bolte
54c04374cc INTEGRATION: CWS chart29 (1.5.40); FILE MERGED
2008/07/08 08:00:06 iha 1.5.40.1: #i88825# use update timer for range changes
2008-07-21 11:13:07 +00:00
Rüdiger Timm
2f4dcc8c7f INTEGRATION: CWS changefileheader (1.4.70); FILE MERGED
2008/04/01 10:50:20 thb 1.4.70.2: #i85898# Stripping all external header guards
2008/03/28 16:43:32 rt 1.4.70.1: #i87441# Change license header to LPGL v3.
2008-04-10 19:23:15 +00:00
Vladimir Glazounov
4bd25d0ffc INTEGRATION: CWS chart11 (1.3.2); FILE MERGED
2007/08/30 12:19:14 bm 1.3.2.2: #i79259# get the focus back to the edit field after range choosing
2007/08/30 11:11:44 bm 1.3.2.1: #i79259# handle F2 in range edit fields for opening the range chooser
2007-09-18 13:54:45 +00:00
Rüdiger Timm
d22df6de88 INTEGRATION: CWS chart07 (1.2.12); FILE MERGED
2007/07/13 08:07:27 bm 1.2.12.4: #i79531# instead of enabling the controls for an invalid range name, invalidate the controls when the range is valid, but a change to the control would render the range invalid together with the parameters
2007/07/12 14:40:15 bm 1.2.12.3: #i79531# do not disable the radio buttons and checkboxes when a range is invalid, as those control can make a range valid again, at least in Writer
2007/06/28 06:15:29 bm 1.2.12.2: use new XDataProvider interfaces for checking validity of ranges
2007/06/26 11:05:03 bm 1.2.12.1: #i78788# fix for (broken) gcc 3.3 for Mac OS/X Panther applied
2007-07-25 07:37:07 +00:00
Vladimir Glazounov
f97d9f122b INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED
2007/05/18 16:12:16 bm 1.1.2.42: #i74635# ResMgr cleanup ResId -> SchResId
2007/03/07 15:19:17 bm 1.1.2.41: #i75204# set m_aLastValidRangeString correctly in isValid()
2007/03/07 13:15:02 bm 1.1.2.40: #i75179# enable WB_FORCECTRLBACKGROUND bit to allow setting red background of controls
2007/02/27 13:45:31 bm 1.1.2.39: Disable controls and tabs when invalid ranges were entered
2007/02/26 13:10:56 bm 1.1.2.38: use different foreground and background for invalid ranges, like in Firefox.
2007/02/09 12:31:18 bm 1.1.2.37: implement adaptions for different look in wizard and stand-alone source data dialog, according to spec FlexibleSourceRangeSelection
2007/02/08 21:25:35 iha 1.1.2.36: resync m195 -> m202
2006/11/10 21:03:06 iha 1.1.2.35: prevent immidiate redraw in wizard and according dialogs (important for charts with many data)
2006/10/27 14:59:20 iha 1.1.2.34: name consolidation
2006/10/24 11:55:16 bm 1.1.2.33: enable range chooser in Calc
2006/10/09 17:18:33 bm 1.1.2.32: hide range chooser buttons if no range chooser is available (instead of just disabling)
2006/10/09 16:01:49 bm 1.1.2.31: only enable range chooser buttons if a range chooser component is available
2006/05/29 17:55:17 iha 1.1.2.30: replaced STR_OBJECT_SOURCE_DATA by STR_OBJECT_DATA_RANGE
2006/03/17 13:27:26 bm 1.1.2.29: disable radio-buttons and check-boxes if the range is invalid or complex
2005/11/14 17:55:41 iha 1.1.2.28: don't update model again at end of execute as this was done already - undo is done outside of the dialog
2005/11/14 15:20:37 iha 1.1.2.27: removed superfluous include
2005/11/11 13:56:16 iha 1.1.2.26: remove direct view update call
2005/11/09 12:35:21 bm 1.1.2.25: setDirty only if changes do not come from initControlsFromModel
2005/10/11 09:20:17 bm 1.1.2.24: license header change
2005/09/02 11:43:28 bm 1.1.2.23: initControlsFromModel: checkboxes were set the other way round
2005/05/20 13:31:57 bm 1.1.2.22: string construction with resid problem
2005/05/12 13:56:39 bm 1.1.2.21: API change XDataProvider
2005/04/19 14:34:41 bm 1.1.2.20: fixing the data source/range chooser dialogs
2005/04/15 14:48:09 bm 1.1.2.19: data source and range choose dialog rework
2004/09/15 15:39:01 iha 1.1.2.18: implement api redesign
2004/07/05 11:35:42 iha 1.1.2.17: correct update cycle
2004/06/30 16:14:17 bm 1.1.2.16: some fixes
2004/06/29 12:21:54 bm 1.1.2.15: shared data for range chooser and data source tab pages
2004/06/23 13:03:06 bm 1.1.2.14: change defaults for arguments that are not yet automatically detected
2004/06/17 13:05:11 bm 1.1.2.13: some minor preliminary fixes
2004/06/17 12:46:54 bm 1.1.2.12: oops, checked in a test
2004/06/17 10:03:25 bm 1.1.2.11: data source dialog is a tab dialog now using
the same tabpages as the wizard
2004/06/09 18:43:47 iha 1.1.2.10: minor resource changes
2004/06/08 19:28:13 iha 1.1.2.9: changed title
2004/05/27 15:55:21 iha 1.1.2.8: #i20344# provide charttype template; added parameter bDoLiveUpdate
2004/05/26 13:18:40 bm 1.1.2.7: dialog behaviour improvements
2004/05/17 17:33:52 iha 1.1.2.6: provide object naming; resource cleanup
2004/05/10 17:07:42 iha 1.1.2.5: swapped FirstCellAsLabel and HasCategories
2004/05/10 15:42:48 iha 1.1.2.4: catch invalid range exception
2004/05/07 16:36:54 iha 1.1.2.3: #i20344# init controls from model and apply changes from controls to model
2004/05/05 20:57:02 iha 1.1.2.2: #i20344# start getting to work; added FixedLine; added title
2004/04/07 21:25:56 iha 1.1.2.1: i20344 new
2007-05-22 16:47:43 +00:00