Commit Graph

873 Commits

Author SHA1 Message Date
dd28837249 vcl: mark more Image constructors as "explicit"
Change-Id: If59d7c75c89a102a573738d15d8593cb8ac5c486
2013-10-22 14:42:17 +02:00
cb918dda4d convert remnants of String to CHART2 module to OUString
Change-Id: I799d7ff1d9e8a72b1e68e53aa7d9ef21a2d299b1
2013-10-01 10:08:40 +02:00
9b2c434da9 Werror: nMinWidth unused
Change-Id: I2fea7be5e59c449b4d17fc30d2d3c1fcc651938d
2013-09-30 07:30:38 +02:00
30e72a9a36 cppcheck: some cleanings
Change-Id: Ie41b33c09d79b40116cc10f7557987860acb55e8
2013-09-29 22:49:49 +02:00
f77dedbc97 remove a few more auto_ptr
Change-Id: I316d5c91bf80ab46f8f29f4986295d48fc4427e7
2013-09-29 20:26:06 +02:00
00669d5976 replace some auto_ptr with boost::scoped_ptr in chart2
Change-Id: I45abfdee2e4a4e51d2066afc867e730008579814
2013-09-29 20:26:06 +02:00
0c377feb71 no need for this temporary object
Change-Id: I207e8fa781721ed20c306a8c581af1bc03b5d8f2
2013-09-29 20:26:05 +02:00
98de5b40c8 Related: fdo#38838 remove UniString::EqualsIgnoreCaseAscii
Change-Id: Ib5c3a2daa4a48bc286b14fa2cebb3306ea0012bc
2013-09-25 19:24:23 +02:00
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
b4f8efc3bc typo fix: absoulte -> absolute
Change-Id: Ib728cb9bac3f42e17649685b4413b9335f2dc2c4
2013-09-07 15:59:10 +02:00
9f3769dcf3 CID#1078500: Copy-paste error
Change-Id: Ibf553adbfe0b892d920e22d3a74d3433b6d6659a
Reviewed-on: https://gerrit.libreoffice.org/5853
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2013-09-07 12:23:07 +00:00
07aade88b0 tp_axisLabel.ui widgets
Change-Id: I279d2989e6a3a8f0aa279c5aa8eb13251a6052da
Reviewed-on: https://gerrit.libreoffice.org/5801
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-09-04 08:56:47 +00:00
0e2ef09316 titlerotationtabpage.ui widgets
Change-Id: I187ec2b6bbee10820fcea5b770972fc63b2f7117
Reviewed-on: https://gerrit.libreoffice.org/5729
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-09-01 14:06:56 +00:00
ef3e7f2316 janitorial: indentation
Change-Id: I3070c0b4fa84090412191415b23e455b9e8d1bbc
2013-08-30 18:36:45 +02:00
64b993e046 finish deprecation of O(U)String::valueOf()
Compiler plugin to replace with matching number(), boolean() or OUString ctor,
ran it, few manual tweaks, mark as really deprecated.

Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
2013-08-21 15:10:35 +02:00
00f5fde6c4 convert include/svtools/roadmapwizard.hxx from String to OUString
Change-Id: I1b5a0c3f5946aac9d353550091616cf5a31e6f82
2013-08-15 09:11:35 +02:00
55d7d03b0c convert attributes wrapper dialog to .ui
currently unresizable until all possible tabpages that can be inserted into it
get converted over

Change-Id: I1e7d28cf2f2a04ca2c596136b7d26626058f2e4b
2013-08-02 22:49:47 +02:00
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
5efc15f000 reduce use of UniString from ResID ctor
Change-Id: I8d7619e7807ff2d400ec5c7fd181375130245728
2013-07-28 16:45:48 +01:00
b5e915acd5 WaE: unused function
Change-Id: Ib89d2f1321c5a926f67ad473c1612b550025cdfc
2013-07-19 19:15:48 +03:00
ea3edee44a callcatcher: update unused code
ResId loaders begining to melt away

Change-Id: Ied10d95f6561f24b2305d202847b7e7c39eb63c3
2013-07-19 13:20:19 +01:00
3f48ec8e73 HIG spacing and indents
Change-Id: I97888b8659bb978595157e881c18ce51c1482b46
2013-07-15 15:01:59 +01:00
7aa0f418f7 Convert tp_SeriesToAxis.src to tp_SeriesToAxis.ui
Change-Id: Ida1be6cc97e2a96537dddd3c8d6dc91c451adf7a
Reviewed-on: https://gerrit.libreoffice.org/4906
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-07-15 14:00:52 +00:00
cf6a74af53 XubString->OUString
Change-Id: I1049249741f445ad7bd9c070f99812c4404597c9
2013-07-11 14:31:44 +01:00
1c7e0ba6cd post .ui conversion we can remove explicit SetPosPixel and HelpIds
Change-Id: I2b7ff3e667ce1085676168e19a9c4ce7c404ac0b
2013-07-11 10:55:05 +01:00
40a3246713 insertgriddlg.ui and insertaxisdlg.ui widgets
Change-Id: Ib5b84806189b44ca1b4c74c958d0fafa86030c36
Reviewed-on: https://gerrit.libreoffice.org/4799
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-07-11 09:54:18 +00:00
b5d481e2b9 fdo#66422 Vertical grid toolbar button - choice major/minor/off
Added toolbar button for vertical grid. Icon was already prepared.
Changed the button behavior for vertical and horizontal grid button
from just on -> off to cycle through major -> major&minor -> off.

Change-Id: I147fc97ab43db31f08a2e98f7b68422fb168f042
2013-07-04 20:21:47 +02:00
9c22f181ac Remove "None" Regression curve option and related files and code.
Change-Id: I38dde3854c08eecfe76d9f329ff2c0fa66449a58
2013-07-03 21:46:49 +02:00
362635961a Remove InsertTrendlineDialog as it is not used anymore.
Change-Id: I58dbdc416254e631f33784bb2a2cf124e69fc69a
2013-07-03 21:46:47 +02:00
1b1dc3c926 Add legend name for polynomial and moving average trendlines.
Change-Id: I111c82c66f1ee29dae50470fc08bb66c79da0652
2013-07-03 21:46:45 +02:00
6085bd1574 Force intercept for polynomial regression & dialog improvements
Change-Id: I2f712d8b95b5fdeb05b93b5247aab9772a00cc70
2013-07-03 21:46:43 +02:00
e6a0cc2d6c fdo#35712 polynomial and moving average regression lines
- added polynomial and moving average to the dialog
- implemented moving average and polynomal RegressionCurveCalculator
- added icon for polynomial regression curve
- prepare icon for moving average regression curve
- degree parameter for polynomial regression curve
- period parameter for moving average regression curve
- limit the curve to max and min x value
- added extrapolation

Change-Id: I4ebb8dc23a3aff285b999e115fdda20ab11910a5
2013-07-03 21:46:39 +02:00
e8fdd77a66 restore title on Format Number single tab dialogs
Allow a .ui to be given to the SingleTabDialog ctor. There are *three*
single-tab Format Number dialogs, we really should combine them together into
one dialog.

Change-Id: I1021c9b968764bd9ad35832958ef2bd067fca798
2013-07-03 08:59:56 +01:00
eb39f90f07 Related: fdo#66252 RID_SVXPAGE_NUMBERFORMAT needs a layout parent
Change-Id: I25f87916e5b8480e50cafb30b78da4d575a7df24
2013-07-02 17:24:49 +01:00
ba0a57702c remove OUString wrap for string literals
For some functions and all kinds of Exceptions.

CannotConvertException
CloseVetoException
DisposedException
EmptyUndoStackException
ErrorCodeIOException
Exception
GridInvalidDataException
GridInvalidModelException
IOException
IllegalAccessException
IllegalArgumentException
IllegalTypeException
IndexOutOfBoundsException
NoMasterException
NoSuchElementException
NoSupportException
PropertyVetoException
RuntimeException
SAXException
ScannerException
StorageWrappedTargetException
UnsupportedFlavorException
VetoException
WrappedTargetException
ZipIOException
throwGenericSQLException
throwIllegallArgumentException

createInstance
createInstanceWithContext
forName
getByName
getPackageManager
getPropertyValue
getUnpackedValueOrDefault
getValueByName
hasPropertyByName
openKey
setName
setPropertyValue
supportsService

bash command:

for i in `cat list`; do git grep "$i\s*(\s*OUString(\s*\"" -- '*.[hc]xx'
	| cut -d ':' -f1 | sort -u
	| xargs sed -i
		-e "s/\(\<$i\s*(\)\s*OUString(\s*\(\"[^\")\\]*\"\)\s*)\s*/\1\2/g"
		-e "s/\($i.*\)\"+ /\1\" + /g";
done

Change-Id: Iaf8e641b0abf28c082906014f87a183517630535
Reviewed-on: https://gerrit.libreoffice.org/4624
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-06-29 21:52:54 +00:00
f30399c540 Revert "fdo#46808, Convert chart2::Title service to new style"
This reverts commit d256dbede60533369d1aac64cca34721183f6a8a:

For one, the new css.chart2.XTitle2 looked unfinished, in that it transfered the
direct properties of the old-style css.chart2.Title service into attributes, but
left out all the properties inherited by the old-style service from
css.style.ParagraphProperties, css.drawing.FillProperties,
css.drawing.LineProperties (and that missing FIXME css.layout.LayoutElement,
whatever that is supposed to be).  This needs more thought, to either make
available all propertiers as attributes, or none.

For another, this broke JunitTest_chart2_unoapi (sch.ChXChartDocument,
sch.ChartTitle), for hard-to-debug reasons.

Conflicts:
	chart2/source/model/main/Title.cxx
	chart2/source/model/main/Title.hxx
	offapi/com/sun/star/chart2/XTitle2.idl
	sc/source/filter/inc/xlchart.hxx

Change-Id: I4747208a13984904d0e409ea49a73b0f667c86c7
2013-05-23 10:39:21 +02:00
d256dbede6 fdo#46808, Convert chart2::Title service to new style
API CHANGE: The chart2::XTitled interface now takes and returns
   a XTitle2 instead of an XTitle.

Change-Id: I96c35909d3a13f1abb544296a782a0b6a7a58ec6
2013-05-21 08:24:01 +02:00
cb6d67c21f Spelling "separate" (etc) correctly is hard 2013-05-15 11:14:28 +03:00
2ce25faffd fix typos (wich instead of which) 2013-05-06 20:07:23 +02:00
cd5c2c0c40 Remove a few unnecessary #includes
Change-Id: I47c0f097f91c7cac7af91a15326e73ca201952ad
Reviewed-on: https://gerrit.libreoffice.org/3448
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2013-04-18 18:09:59 +00:00
83828891e4 Delete unused code in one file.
Change-Id: Ib468dd87e1624bd02b4d190699cd864514664229
Reviewed-on: https://gerrit.libreoffice.org/3446
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-04-18 10:34:27 +00:00
8e528bd241 Remove unused code
Change-Id: Id4ce1d003db61374ba68f807090860595178b562
Reviewed-on: https://gerrit.libreoffice.org/3447
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-04-18 09:06:15 +00:00
edc3bfd558 Adding the dialog for setting stepped lines.
The UI changes still need some more tweaking:
- adjusting the vertical alignment in the splineresourcegroup
- put the images in the radio buttons instead of in front of them

Change-Id: I4bc5ebe5167eca9a5b1341d9328a7d74b62cf819
2013-04-13 02:34:29 +02:00
3f3980ff24 Some cppcheck cleaning
Change-Id: I425ed98a721ded162c2ae08d145aaa9dbf548632
2013-04-07 22:18:57 +02:00
1946794ae0 mass removal of rtl:: prefixes for O(U)String*
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk
have kept them, in order not to break external API (the automatic using declaration
is LO-internal).

Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-04-07 14:23:11 +02:00
ff85b2c3d1 fdo#38838 : Replacement of String with OUString in core/chart2
Change-Id: I7abf9649a0c5997cebfe3463ce9b633ab59bf3b0
Reviewed-on: https://gerrit.libreoffice.org/3142
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-04-02 16:29:28 +00:00
63f00101c5 fix the build on non-C++11 platforms 2013-04-02 11:25:36 +02:00
641d8eaa98 move chart .ui files into existing schart dir
Change-Id: I72509b73778eb2887a4872016487e146a9384d2f
2013-04-02 10:27:58 +01:00
cd5f047537 Converting Smooth Lines dialog to glade
Change-Id: I098267a4b11322df84f4a10e83f3c47a69418371
Reviewed-on: https://gerrit.libreoffice.org/3103
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-04-02 08:44:27 +00:00
bc2f2ab20a move the dialog to chart2
Change-Id: I9f6e967d52dd10072c57b4f55faedd4ed7f98094
2013-03-28 10:11:02 +01:00