Commit Graph

2052 Commits

Author SHA1 Message Date
6c97bc4717 svx: sal_Bool->bool
Change-Id: I78da39fc553b2e5040ee6665377ea51a1c4d04d7
2014-03-11 08:18:24 +02:00
d1bffe3596 svx: sal_Bool->bool
Change-Id: I64d9c1bbe6ed85108783bf6a97329fcdc167ca62
2014-03-11 08:18:24 +02:00
ce7cc9d92d chart2: simplify deprecated XTypeProvider.getImplementationId
Change-Id: Ie06f10648b0e79101c30da4768d5462cdf38838a
2014-03-10 17:39:52 +01:00
f4dfd81134 WaE: unused function
Change-Id: I05a7e05b72d0923f5d8883b96df197611c034abd
2014-03-09 21:50:18 +02:00
d7bb16fde8 disable property mapping for unsupported chart types
Change-Id: I1c7c3bebe71029787796c21706088784c4934954
2014-03-09 19:27:50 +01:00
835c637d49 the method is static
Change-Id: Ie6953bbb4eca365124a3408f71ef43cb424ec343
2014-03-09 19:27:49 +01:00
6d7514357b use localized names instead of the internal ones
Change-Id: Idd5d5def2550f8ba98f4e8a8a17330a4b663862e
2014-03-09 19:27:49 +01:00
1e9993be10 don't hardcode property mapping, read them from chart2::XChartType
Change-Id: I7889dbddab603d7650d58a04f53e7c5fe38fcce2
2014-03-09 19:27:49 +01:00
caac9026f6 improve the property mapping dialog
Change-Id: I0dbb44febb058a3b33030aa1fa86d850e71eef48
2014-03-09 19:27:49 +01:00
bc338f4afc improve the handling of property mapping sequences
Change-Id: I4ddd656a41ab975786ce6e5cd05597f6b773b334
2014-03-09 19:27:49 +01:00
57b89ea1c2 coverity#704563 Unchecked dynamic cast
Change-Id: I314d1110a45275be905c60b36e3e3a560a052272
2014-03-07 20:33:55 -06:00
68ec95b3f8 made ListBox handle more than 64k elements, fdo#61520 related
ListBox and related now handle up to sal_Int32 elements correctly.
sal_Int32 instead of sal_Size or size_t because of UNO and a11y API.
Also disentangled some of the mess of SvTreeList and other containers
regarding sal_uInt16, sal_uLong, long, size_t, ... type mixtures.

Change-Id: Idb6e0ae689dc5bc2cf980721972b57b0261e688a
Reviewed-on: https://gerrit.libreoffice.org/8460
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2014-03-05 07:31:19 -06:00
d1478f42c7 -Werror,-Wunused-function
Change-Id: Ief9b2179db2e6c05dbf6e076e147a0a8adbccc04
2014-03-03 16:07:35 +01:00
885fd98fa3 convert chart type page to .ui format
Change-Id: I2e95e0dec66b8985abad81b02722e1bf632a15e0
2014-03-03 13:27:10 +00:00
c521f07208 editeng: sal_Bool->bool
Change-Id: I7da10ad3ba8017d64c723b53795348edf0e7dd6d
2014-02-27 12:30:30 +02:00
57779aa019 editeng: sal_Bool->bool
Change-Id: Id4174904487fc153d8e80471da7c829c52092f78
2014-02-27 12:30:26 +02:00
f2cdf8848c Remove visual noise from chart2
Change-Id: Ic8dc71c2815df265e1935e629e0220396a50aaac
Reviewed-on: https://gerrit.libreoffice.org/8239
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-02-27 00:44:41 -06:00
5e21a413c7 cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26 18:22:20 +01:00
76b114f849 implicitboolconversion: warn about implicit conversion of call args to bool
...to be able to find problems like 6e0bdf04add338b7d5b29fc7b3fc9f08cfd5e96f
"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
33740b7d5a Replace exisiting TriState, AutoState with more generic TriState
Change-Id: Ida05478aae5a379775c671e0c2f2851d820d78be
2014-02-24 12:27:32 +01:00
0ce0c369aa Remove unneccessary comments
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb
Reviewed-on: https://gerrit.libreoffice.org/8182
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-23 03:38:49 +00:00
42deae1e9d Translate German comments and remove superfluous ones as well as visual noise
Conflicts:
	sc/source/ui/view/select.cxx
	sc/source/ui/view/viewdata.cxx
	sw/source/core/text/redlnitr.cxx
	sw/source/core/text/txtfrm.cxx
	sw/source/core/text/txtftn.cxx
	sw/source/ui/table/tabledlg.cxx

Change-Id: I23371b913514d656552bc6f7fb4ba554ee6a3694
2014-02-21 15:31:09 +00:00
e8f8f24c84 vcl: sal_Bool -> bool
Change-Id: I2a3e3d3e3266ea0f0fafdd91362076a4aa160f0e
2014-02-21 12:53:51 +01:00
a32ed92c95 editeng: sal_Bool->bool
Change-Id: I64cde75157fbdcda6ac92ca4064e6ab8197114c1
2014-02-21 12:19:24 +02:00
5c3a6d383e callcatcher: update unused code
Change-Id: Ie4df15ab292df51274d983d31ce8e21e0549de81
2014-02-21 09:05:21 +00:00
a18a1a4545 Remove vcl/settings.hxx from vcl/svapp.hxx and vcl/outdev.hxx
Added vcl/settings.hxx to all cxx files which require it.
This helps to speed up compilation after changes to the settings.

Conflicts:
	sc/source/ui/dbgui/pvlaydlg.cxx

Change-Id: I211a0735c47f72d6879f6f15339355abfe0e3cf4
Reviewed-on: https://gerrit.libreoffice.org/7933
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-20 16:22:17 +00:00
b0cf499b3e convert chart data dialog to .ui
this one was a complete pig to convert with the
conflicting home-grown existing layout code.

Change-Id: I135bd486d10f7d972e143daae44d6b24a6e8fdb8
2014-02-20 13:50:01 +00:00
12f1faf7bf svl: sal_Bool -> bool
Change-Id: Ic31455a1f5ffffa35d4fdde901dd70734207b6f4
2014-02-20 08:17:00 +01:00
1113c243b1 Don't violate the One Definition Rule
There were two different struct types called chart::TimeBasedInfo,
which caused problems at least in statically linked iOS app.

Rename the other struct to chart::DialogModelTimeBasedInfo for now.

Change-Id: Ib95736b1046c5bd9001d7aeba2b8bbd22a18f8c2
2014-02-17 14:48:15 +02:00
829a2f9b1f this dialog is unfinished, but fix it to not crash
Change-Id: Icb6d1d1bb14678eb711100644f3f60725db4b5db
2014-02-17 10:53:37 +00:00
f30f646e1e sal_Bool->bool
Change-Id: Ib0f6699e994f5a71603779b8227bf081b71a5dd6
2014-02-14 14:15:17 +02:00
bbe3bec949 Drop unused #include
Change-Id: Id05440ffb8eb9990d2d08f721d6914f3dbc86cab
2014-02-14 18:44:05 +09:00
0309070fb2 coverity#737027 Uncaught exception
Change-Id: I96b07d58233cf19708bbda68bcb19f5d7f6404df
2014-02-13 14:56:18 +00:00
5d061edbd7 coverity#737024 Uncaught exception
Change-Id: Ifdb5fb60c436e847ba85d690f8ca0087bd516ab7
2014-02-13 14:56:18 +00:00
a1b1625cfd cid#707669 uninitialized pointer value
Change-Id: I252f88ba76d9b927d472655d2bee71cc85b22452
2014-02-12 15:10:48 +02:00
83055835b1 fdo#74112 Preserve Chart displayunits properties during ODF import/export.
Change-Id: I38508b71ee5b3b966e1d36b0d253304fe17c0ec0
Reviewed-on: https://gerrit.libreoffice.org/7721
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-02-11 23:23:40 +00:00
5718b17d2d Related: #i123862# use O*String's isEmpty() method...
to check for emptiness in chart2 module

Patch-by: j.nitschke@ok.de
Review-by: hdu@apache.org
(cherry picked from commit 17b6784443432419e9aa9fddf56e5fa6c3ce4c60)

Conflicts:
	chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx
	chart2/source/controller/chartapiwrapper/WrappedAxisAndGridExistenceProperties.cxx
	chart2/source/controller/chartapiwrapper/WrappedStatisticProperties.cxx
	chart2/source/controller/dialogs/ChartTypeDialogController.cxx
	chart2/source/controller/dialogs/DataBrowserModel.cxx
	chart2/source/controller/dialogs/ObjectNameProvider.cxx
	chart2/source/controller/dialogs/res_ErrorBar.cxx
	chart2/source/controller/dialogs/tp_DataSource.cxx
	chart2/source/controller/dialogs/tp_RangeChooser.cxx
	chart2/source/controller/drawinglayer/DrawViewWrapper.cxx
	chart2/source/controller/itemsetwrapper/ErrorBarItemConverter.cxx
	chart2/source/controller/itemsetwrapper/StatisticsItemConverter.cxx
	chart2/source/controller/main/ChartController.cxx
	chart2/source/controller/main/ChartController_TextEdit.cxx
	chart2/source/controller/main/ChartController_Tools.cxx
	chart2/source/controller/main/ChartController_Window.cxx
	chart2/source/controller/main/ControllerCommandDispatch.cxx
	chart2/source/controller/main/DrawCommandDispatch.cxx
	chart2/source/controller/main/ElementSelector.cxx
	chart2/source/controller/main/ObjectHierarchy.cxx
	chart2/source/controller/main/SelectionHelper.cxx
	chart2/source/controller/main/StatusBarCommandDispatch.cxx
	chart2/source/controller/main/UndoCommandDispatch.cxx
	chart2/source/model/filter/XMLFilter.cxx
	chart2/source/model/main/ChartModel_Persistence.cxx
	chart2/source/tools/ExplicitCategoriesProvider.cxx
	chart2/source/tools/InternalDataProvider.cxx
	chart2/source/tools/NamedProperties.cxx
	chart2/source/tools/ObjectIdentifier.cxx
	chart2/source/tools/PropertyHelper.cxx
	chart2/source/tools/RegressionCurveHelper.cxx
	chart2/source/tools/WrappedProperty.cxx
	chart2/source/tools/XMLRangeHelper.cxx
	chart2/source/view/axes/VCartesianAxis.cxx
	chart2/source/view/main/ChartView.cxx
	chart2/source/view/main/ShapeFactory.cxx
	chart2/source/view/main/VLegend.cxx
	chart2/source/view/main/VTitle.cxx

Change-Id: Ia013e3d1d215f7391d5bee4b4e80eedc2a3a724f
2014-02-10 11:43:46 +00:00
2b12a5b87b the return of callcatcher
Change-Id: I447ebcc61ff061bce15678c6fcfd3d0a4669908f
2014-02-10 11:21:03 +00:00
042fec5bf2 forgot the new files
Change-Id: I63bdb340aa06b072541bb8b0ed975457c504c9a2
2014-02-09 14:20:36 +01:00
ec4b0ed8e0 improve dialogs for mapped properties
Change-Id: I87e07a30743de0fc30d0caafd35192b18caf3dae
2014-02-09 14:16:42 +01:00
8cb2877b2d add the time based charting stuff to the ui files
Change-Id: I5ffb382f61e56d1c07dfb945f08fa354aea9d5fc
2014-02-09 14:16:41 +01:00
95141bfd30 Typos
Change-Id: I8316213889280b8f8622fb5196b6a36e81d8e6f1
2014-02-09 10:02:51 +01:00
85cdb06fd5 sal_Bool -> bool
Change-Id: Ifc80202e0865b59931af6e50d3d60f5021f8b52e
2014-02-07 18:43:32 +01:00
16738ab4d8 coverity#1158121 Unchecked dynamic_cast
Change-Id: I961c3da368c1f2bffb4c116c325a82cf7619cf15
2014-02-07 12:24:43 +00:00
33dc343268 coverity#1158125 Unchecked dynamic_cast
Change-Id: Id560c9d5941ba679b92aaa2b2db0fb34a23d7a5f
2014-02-07 12:24:43 +00:00
ac6e8ac7e4 typo fixes in comments
Change-Id: Idd49478d59cd062118fbf8e99d1c8bc5250013fc
2014-02-06 23:22:30 +01:00
61e28e86ed add a way to dump chart content to console
CTRL + F12 will dump the chart with the XShapeDumper

Change-Id: I1f40ddf7f51c2038be7af8fc56f626393f11da90
2014-02-06 16:15:05 +01:00
b37bce11cf Resolves: rhbz#975421 wrong chart direction in Farsi
Where Farsi (and apparenly Moroccon) are RTL but have LTR
math and charts should reportedly follow the math direction

Change-Id: Ib60eaaaa90fe46ef240030a91169fdff3f736329
2014-02-06 15:11:59 +00:00
d2d5864462 TabControl::DeactivatePage should return bool
Change-Id: I9fb774a235db2b9bc759976d2d3f84363ed944ec
2014-02-06 15:44:03 +01:00
51a68b4992 Doxygen warnings corrected
* Doxygen spits out a lot of warnings about not being able to find
  match function signatures, etc. This is because in some headers we
  have a using namespace statement, in others it gets confused between
  ::Window and Window (!).

* Wrong use of tags:
  + Lots of @seealso - should be @see
  + Wrong usage of @overload - corrected with the right function
    signature
  + HTML tags that doxygen doesn't recognize removed

Change-Id: I1c2eed941619b8764dbfcfc5ab38027518cdf261
2014-02-05 09:14:53 +00:00