Commit Graph

57 Commits

Author SHA1 Message Date
Noel Grandin
2f928b2d09 remove NUMBERFORMAT_ constants
.. in favour of just using the underlying constants from
css::util::NumberFormat

Change-Id: I0c6b128b66c91b268f5ae300f9c17c7792df5e99
2015-02-25 10:34:27 +02:00
Noel Grandin
cb414252b8 loplugin: cstylecast
Change-Id: I4aafc170895d8bab47206c7b07b4f1f6105d42d3
2014-10-23 12:36:14 +02: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
Stephan Bergmann
ea733ab5b6 Turn SfxItemState into a C++11 scoped enumeration
...to gain further confidence in the claim "that none of the existing
code tries to uses combinations of these enum values"
(d92602c5b1 "more fixes for SfxItemState")

Change-Id: I987922d945e8738e38adfde83b869adf3ff35b13
Reviewed-on: https://gerrit.libreoffice.org/11384
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
2014-09-12 06:08:32 +00:00
Katarina Behrens
b8979cae28 fdo#79028: ungroup widgets and Show() them correctly
Showing the whole box (m_pBxMain) shows all children widgets, but
that's not what we want as different widgets must be exposed in
case of date vs. non-date axis.

m_pMt_MainDateStep was then visible at all times, thus bWasDateAxis
was always true and m_pFmtFldStepMain value got unintentionally reset

Change-Id: I4be0b18f181a45fe6bd3cac0594d6a34d875293e
2014-06-13 23:55:52 +02:00
Stephan Bergmann
bb761be472 Change SfxTabPage ctor SfxItemSet param from ref to pointer
...and also corresponding param of CreateTabPage function type and corresponding
Craete functions.  There were some call sites that passed undefined "null
pointer references" and SfxTabPage internally uses a pointer member pSet that is
checked for null anyway.

Change-Id: I4eb3636155eac46c9c9d26e6e6e842e85d7e95af
2014-06-11 14:39:04 +02:00
Stephan Bergmann
a92e973b6d Change SfxTabPage::Reset param from ref to pointer
...there was a call site that passed undefined "null pointer reference"
(apparently in a case where the passed argument was actually unused)

Change-Id: I663d4264b7a84f44ca69c732f3bc502f614b2b2a
2014-06-11 10:39:03 +02:00
Stephan Bergmann
4dbeadb9c1 Change SfxTabPage::FillItemSet param from ref to pointer
...there were a number of call sites that passed undefined "null pointer
references" (apparently in cases where the passed argument was actually unused)

Change-Id: I19799e90f0cd8e98367782441a5ea9df27b59830
2014-06-10 17:25:23 +02:00
Thomas Arnhold
97a5ba4a71 remove comments why a file gets included
also remove some commented out code

Change-Id: Ia80c5c57d8d2a74418032de50eee95642cc0969d
2014-04-21 18:08:28 +02:00
Noel Grandin
34002c4e5c sfx2: sal_Bool->bool
Change-Id: I1fd02cc148fd9a54d2092dad1e548f51a0813a14
2014-03-27 13:45:09 +02:00
Stephan Bergmann
12f1faf7bf svl: sal_Bool -> bool
Change-Id: Ic31455a1f5ffffa35d4fdde901dd70734207b6f4
2014-02-20 08:17:00 +01:00
Caolán McNamara
7e93e93a4a both help ids end up in the same help
Change-Id: Ia08494cd48a510be53006d6beda14e4b5affbdc2
2013-11-20 10:39:07 +00:00
Olivier Hallot
19956d09e0 Convert chart axis scale tab page to widget UI.
Obs:
-Several widget positioning methods turned useless and were deleted
-Corner case related to axis origin untested (couldn't find where it is used)

Change-Id: I6a563c89ddcfbff62494ce7726f3e7d6089e6b57
Reviewed-on: https://gerrit.libreoffice.org/6730
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-11-20 04:27:45 -06: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
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
Philipp Riemer
2ce25faffd fix typos (wich instead of which) 2013-05-06 20:07:23 +02:00
Joseph Brown
84a219020c fdo#51695 Check for Textformat
Numbers shouldn't be in NUMBERFORMAT_TEXT, but it can happen.  When it does, IsNumberFormat call fails even when a number is entered.
Also reordered other check logic and removed unused code.
1st2be@gmail.com -- Joseph Brown

Change-Id: Icabd8b33b634c324302a970e137f8d74a2c20caf
2012-08-14 16:36:55 +02:00
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
Thomas Arnhold
8e1bffe7ff Remove include guards
Change-Id: Ib4ba76d0083e5bd75cc589a55318089c004f591f
2012-06-29 15:59:53 +02: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
Marcel Metz
5b031b4ea6 Remove superfluous _ZFORLIST_DECLARE_TABLE definition. 2012-01-07 22:14:05 +04:00
Norbert Thiebaud
6da8379e14 remove include of pch header in chart2 2011-11-27 12:59:19 -06:00
Jacek Wolszczak
a64076a069 Replace DBG_* with OSL_* in calc/chart2 2011-05-27 06:03:36 +02:00
Kohei Yoshida
11208eaa2f fdo#36789: Set all dynamic controls invisible upon instantiation.
Some of the dialog code depends on the controls being hidden unless
explicitly set visible.  Unfortunately that's not really guaranteed
so we need to make that logic explicit.
2011-05-06 22:34:11 -04: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
Thomas Arnhold
a6e69f8fcd Move DBG_ERROR to OSL_FAIL 2011-03-02 14:58:56 +01:00
Guillaume Poussel
aa5968f33a Clean-up bogus comments in calc. 2011-02-08 18:45:17 +01:00
Mikhail Voytenko
981b1b3d5a removetooltypes01: #i112600# adjust rebase in chart2, starmath, sc, sd 2011-02-07 18:01:48 +01:00
Carsten Driesner
e1d7ba2932 removetooltypes01: Rebase to DEV300m99 2011-02-07 13:06:08 +01:00
Ingrid Halama [iha]
df4eb12515 chart46: #i116468# scale tab page - better fallback after wrong input 2011-01-14 18:59:53 +01:00
Mikhail Voytenko
3d6a5a98cd removetooltypes01: #i112600# remove tooltypes from chart2 2011-01-14 15:18:08 +01:00
Ingrid Halama [iha]
928cbecafc chart46: #i25706# implement date axis - remove explicit scaling in case of auto 2010-12-09 18:32:46 +01:00
Ingrid Halama [iha]
4f958ff57d chart46: #i25706# implement date axis - switching to net chart 2010-12-01 13:46:27 +01:00
Ingrid Halama [iha]
17b9185843 chart46: #i25706# implement date axis - some docu issues 2010-11-30 19:17:18 +01:00
Ingrid Halama [iha]
edaa216847 chart46: #i25706# implement date axis 2010-11-30 01:45:03 +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
Petr Mladek
137b49c1d4 remove include guards using fixguard.py 2010-10-05 19:10:00 +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
Mathias Bauer
a293d0a7b1 #i103496#: split svtools; improve ConfitItems 2009-10-16 00:05:16 +02:00
Oliver Bolte
6b741821d6 CWS-TOOLING: integrate CWS chart35
2009-02-20 12:33:54 +0100 nn  r268312 : correct line ends
2009-01-19 12:50:45 +0100 iha  r266491 : #i91800# style:text-position='0' is wrongly imported
2009-01-19 11:59:09 +0100 iha  r266486 : #i91037# Position of Datalabels in 3D Bar-Charts are crossing the edge
2009-01-16 16:45:50 +0100 iha  r266435 : #i93802# clockwise does not work on solars sparc
2009-01-16 13:23:37 +0100 iha  r266414 : #i91037# Position of Datalabels in 3D Bar-Charts are crossing the edge
2009-01-15 14:09:27 +0100 iha  r266370 : #i98102# checkbox show equation should not be checked initially
2009-01-14 17:41:33 +0100 iha  r266323 : #i97133# #i97318# chart type is not detected correctly in case of invisible series
2009-01-14 16:23:06 +0100 iha  r266316 : #i97133# #i97318# chart type is not detected correctly in case of invisible series
2009-01-14 13:43:38 +0100 iha  r266298 : #i84417# Unable to edit existing chart title with clipboard
2009-01-14 13:43:04 +0100 iha  r266297 : #i84417# Unable to edit existing chart title with IME
2009-01-14 13:14:15 +0100 dr  r266293 : do not set CharEscapement property if not needed
2009-01-14 00:48:46 +0100 er  r266262 : #i81383# changed ASC and JIS to use transliteration provided by i18n transliteration; patch from <bluedwarf>
2009-01-14 00:28:06 +0100 er  r266261 : #i97536# silence gcc's unbracketed && || warnings
2009-01-13 22:43:45 +0100 er  r266259 : #i97905# corrected IndexKey order
2009-01-13 20:36:15 +0100 er  r266254 : #i97905# add SKK/EUR conversion (plus MTL/EUR and CYP/EUR)
2009-01-13 20:31:17 +0100 er  r266253 : #i97905# updated locale data; contributed by <brko>
2009-01-13 11:57:08 +0100 iha  r266204 : #i84103# cannot set data in xy diagram in draw
2009-01-12 20:29:37 +0100 nn  r266181 : #i97680# GetStylesContainer: handle non-available style family
2009-01-12 19:53:19 +0100 nn  r266180 : #i98000# don't get initial zoom value via SfxViewFrame::Current
2009-01-12 16:11:19 +0100 iha  r266166 : #i71686# XY charts without valid x values are not imported correctly from Excel
2009-01-09 17:10:20 +0100 iha  r266102 : #i95051# truncated asian strings on scale tabpage
2009-01-09 15:58:46 +0100 iha  r266094 : #i89430# truncated asian strings in smooth lines dialog
2009-01-09 13:09:14 +0100 iha  r266076 : #i94813# importing pie chart with multiline categories crashes
2009-03-03 11:39:43 +00:00
Rüdiger Timm
8f03095fa0 CWS-TOOLING: integrate CWS rtlchart02 2008-12-12 12:17:17 +00:00
Rüdiger Timm
be5b42aa3f INTEGRATION: CWS changefileheader (1.12.44); FILE MERGED
2008/04/01 15:04:04 thb 1.12.44.2: #i85898# Stripping all external header guards
2008/03/28 16:43:32 rt 1.12.44.1: #i87441# Change license header to LPGL v3.
2008-04-10 19:24:18 +00:00
Ivo Hinkelmann
b01468f753 INTEGRATION: CWS chart15 (1.11.4); FILE MERGED
2008/01/04 09:50:58 iha 1.11.4.2: #i84587# ensure that the controls are not shifted out of the dialog
2008/01/03 12:49:56 iha 1.11.4.1: #i84587# [DE] 'Logarithmische Skalierung' doesn't fit
2008-01-14 12:56:51 +00:00
Vladimir Glazounov
6191fa32d1 INTEGRATION: CWS chart14 (1.9.12); FILE MERGED
2007/09/24 11:49:05 bm 1.9.12.2: RESYNC: (1.9-1.10); FILE MERGED
2007/09/20 11:21:00 iha 1.9.12.1: #i24614# enable reverse scales
2007-10-22 15:48:11 +00:00
Vladimir Glazounov
34b1d03752 INTEGRATION: CWS chart11 (1.9.2); FILE MERGED
2007/09/05 13:51:59 bm 1.9.2.5: #i81259# do not use the standard number format but the correct one, while using the input format at the FormattedField
2007/09/05 13:29:00 bm 1.9.2.4: #i81259# do not use the standard number format but the correct one, while using the input format at the FormattedField
2007/09/05 12:04:00 bm 1.9.2.3: #i81259#, #i6278# corrected comment
2007/09/04 20:46:35 bm 1.9.2.2: #i81259#, #101318# use input string for formatting, re-fix
2007/08/22 16:12:13 bm 1.9.2.1: #i56524# call IsNumberFormat with the correct format index
2007-09-18 13:55:12 +00:00
Rüdiger Timm
78677c20c8 INTEGRATION: CWS chart07 (1.8.12); FILE MERGED
2007/07/10 11:57:29 bm 1.8.12.1: #i69281# warnings removed
2007-07-25 07:37:32 +00:00
Vladimir Glazounov
7d76b7ef41 INTEGRATION: CWS chart2mst3 (1.2.4); FILE MERGED
2007/05/18 16:12:16 bm 1.2.4.13: #i74635# ResMgr cleanup ResId -> SchResId
2007/05/14 20:03:33 bm 1.2.4.12: RESYNC: (1.5-1.7); FILE MERGED
2007/05/03 08:07:36 iha 1.2.4.11: #i76842# warning for scale tabpage when min > max
2007/03/19 15:01:38 iha 1.2.4.10: #i73605#, #i75389# use correct numberformat for scale tabpage and numbers tabpage
2007/03/04 14:44:44 iha 1.2.4.9: changes according to Scales and Intervals Spec
2007/02/06 12:07:58 iha 1.2.4.8: warning for major interval <=0
2006/10/27 18:42:09 iha 1.2.4.7: added warnings STR_STEP_GT_ZERO and STR_BAD_LOGARITHM tp scale tab page + remove unused code
2006/10/18 17:04:59 bm 1.2.4.6: RESYNC: (1.4-1.5); FILE MERGED
2006/02/20 14:45:46 iha 1.2.4.5: move SchItemPool from controller to view lib -> ChartItemPool
2006/01/25 09:59:39 bm 1.2.4.4: RESYNC: (1.3-1.4); FILE MERGED
2005/10/07 11:20:56 bm 1.2.4.3: RESYNC: (1.2-1.3); FILE MERGED
2004/05/17 17:33:52 iha 1.2.4.2: provide object naming; resource cleanup
2004/04/27 15:00:38 iha 1.2.4.1: warnings removed
2007-05-22 16:48:21 +00:00