Commit Graph

1898 Commits

Author SHA1 Message Date
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
8664e88bc2 XubString to OUString
And simplify:
SdrMarkView::ImpTakeDescriptionStr
SdrUndoObj::GetDescriptionStringForObject

ImpTakeDescriptionStr checks for %1 occurence first, this seems to me like an
optimization. So I left it in.

Change-Id: I2d0ecfdf2b83a9a535bd893578837e549dd691c1
2013-09-05 09:38:39 +02:00
672aee1285 convert include/svx/svdmrkv.hxx from String to OUString
Change-Id: I55c26d99c1aec392dc42ebd635914889efcc1786
2013-09-05 08:54:22 +02:00
9a0d753b84 String to OUString
Change-Id: I8c51db8fce8c5eea1ac7bd5751aa7f3212ef1166
Reviewed-on: https://gerrit.libreoffice.org/5790
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-09-04 09:57:11 +00:00
3e2c8d7c7b discard unused HIDs now
Change-Id: Ia2009331a2df849ed5ace0c6c5f7f2b8e53e1555
2013-09-04 09:58:01 +01: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
1edb495a45 convert GetName/Title/Description methods to OUString
Change-Id: Id16a2b29b1d6cf02b94cc6c423e2475a9cbeb8a3
2013-08-15 16:56:46 +04:00
00f5fde6c4 convert include/svtools/roadmapwizard.hxx from String to OUString
Change-Id: I1b5a0c3f5946aac9d353550091616cf5a31e6f82
2013-08-15 09:11:35 +02:00
226f212668 cppcheck: fix redundant assignments
Change-Id: Ia4c81fefc914aaaead6f8e47ae2818e139357bb4
2013-08-15 00:12:45 +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
3aea6c121d Mark as const
Change-Id: I7ad2a1bd29afbf4813b1ad984081935ca84ec98a
2013-08-02 10:34:43 +09:00
917444b08d cppcheck: dup break
Change-Id: I96a1ce5d98b4d51f2cacabe7eac95cabcd38ad28
2013-07-29 22:13:56 +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
2cca46d548 PCH for more libraries
Change-Id: I6f9a1969605e0016b11157ddb5754ac77fd3966b
2013-07-12 20:57:58 +02:00
cf6a74af53 XubString->OUString
Change-Id: I1049249741f445ad7bd9c070f99812c4404597c9
2013-07-11 14:31:44 +01:00
0c2af4a1c0 drop some unused hids
Change-Id: I9061966e6c86acf94c9a34704567366315baf007
2013-07-11 11:17:54 +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
4f3a6bba29 unused variable bIsMainGrid
Change-Id: I82870e452d24b1b6799ba96d42dcfa2446ab2e87
2013-07-04 20:14:05 +01: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
b412ee7b23 Fix bad merge of CharController_Window
Change-Id: I6d947d90f0505c29b4e301bc1ff30216aa0ed476
2013-07-03 21:46:48 +02:00
362635961a Remove InsertTrendlineDialog as it is not used anymore.
Change-Id: I58dbdc416254e631f33784bb2a2cf124e69fc69a
2013-07-03 21:46:47 +02:00
b0fbaa6fa2 Adding multiple trendlines with menu item Insert>Trend Lines..
Menu item "Insert>Trend Lines.." allowed adding trendlines for all
data series at the same time. As we can now have more trendlines
per one data series this becomes cumbersome so only allow to add
a trend line when data series is selected or known.

Change-Id: I676876f389d00d3fbe668d429f0f98bd8c8d4d3d
2013-07-03 21:46:47 +02:00
7302c4f649 Change series and trendline pop-up to support more trendlines.
Conflicts:
	chart2/source/controller/main/ChartController_Window.cxx

Change-Id: I70eb06d74670f54fa3792723711e9f73700f12ba
2013-07-03 21:46:46 +02:00
01fc2a65b2 Cleanup ChartController
Change-Id: Ife0289003afe8f10db7ce3f6d9207087a5ac8e76
2013-07-03 21:46:45 +02:00
1b1dc3c926 Add legend name for polynomial and moving average trendlines.
Change-Id: I111c82c66f1ee29dae50470fc08bb66c79da0652
2013-07-03 21:46:45 +02:00
1c5c226698 Insert new trendline instead of changing the existing one.
Change-Id: Ic7cbfa55c7b2e42eb21400b2fca34724a72de701
2013-07-03 21:46:45 +02:00
1cd3e20380 Multiple trendline removing and changing type support.
Change-Id: I33a298341e228080920977639cb59986d0b4bd82
2013-07-03 21:46:44 +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
955ebe83a8 String to OUString and cleanup
Change-Id: Idc18c1a6a64edea3399c8747ec0f096a2f964b68
2013-06-29 16:23:24 +02:00
9052caae53 Resolves: #i121542# Unify the Menu API
(cherry picked from commit 399946b82f5efec19cd82d1c320d5aa9295d235d)

Conflicts:
	chart2/source/controller/main/ChartController_Window.cxx
	framework/source/uielement/langselectionmenucontroller.cxx
	framework/source/uielement/popupmenucontroller.cxx
	framework/source/uielement/recentfilesmenucontroller.cxx
	framework/source/uielement/toolbarsmenucontroller.cxx
	odk/examples/DevelopersGuide/GUI/UnoMenu.java
	odk/examples/DevelopersGuide/GUI/UnoMenu2.java
	odk/examples/cpp/StatusbarController/SelectionModeStatusbarController/SelectionModeStatusbarController.cxx
	offapi/com/sun/star/awt/MenuBar.idl
	offapi/com/sun/star/awt/MenuEvent.idl
	offapi/com/sun/star/awt/MenuItemStyle.idl
	offapi/com/sun/star/awt/MenuItemType.idl
	offapi/com/sun/star/awt/MenuLogo.idl
	offapi/com/sun/star/awt/PopupMenu.idl
	offapi/com/sun/star/awt/PopupMenuDirection.idl
	offapi/com/sun/star/awt/XMenu.idl
	offapi/com/sun/star/awt/XMenuBar.idl
	offapi/com/sun/star/awt/XMenuBarExtended.idl
	offapi/com/sun/star/awt/XMenuExtended.idl
	offapi/com/sun/star/awt/XMenuExtended2.idl
	offapi/com/sun/star/awt/XMenuListener.idl
	offapi/com/sun/star/awt/XPopupMenu.idl
	offapi/com/sun/star/awt/XPopupMenuExtended.idl
	offapi/com/sun/star/awt/makefile.mk
	offapi/type_reference/types.rdb
	svtools/inc/svtools/popupmenucontrollerbase.hxx
	svtools/source/uno/popupmenucontrollerbase.cxx
	svx/source/tbxctrls/extrusioncontrols.cxx
	toolkit/inc/pch/precompiled_toolkit.hxx
	toolkit/inc/toolkit/awt/vclxmenu.hxx
	toolkit/inc/toolkit/helper/listenermultiplexer.hxx
	toolkit/source/awt/vclxmenu.cxx

Change-Id: I3d9a1e109b9ff35901a3075b44a4c27e7c12b5c7

Related: #i121542# css::awt::XPopupMenu::execute() needs a Rectangle

(cherry picked from commit c01a6f4f370b72f0751cf4f5c11310682e2b3248)

Conflicts:
	odk/examples/DevelopersGuide/GUI/UnoMenu2.java
	offapi/type_reference/types.rdb
	toolkit/inc/toolkit/awt/vclxmenu.hxx

Change-Id: I2cccc95086fe3d1522d03346e3c577fb2f21f621
2013-06-23 21:16:14 +01:00
5aee0c13cc Resolves: #i121532# enhanced visualisation of text edit&selection
D&D overhauled

(cherry picked from commit c6e63b6bbb6b4a63fe1302de57fc32cd28432378)

Conflicts:
	drawinglayer/inc/drawinglayer/primitive2d/drawinglayer_primitivetypes2d.hxx
	drawinglayer/inc/drawinglayer/primitive2d/polypolygonprimitive2d.hxx
	drawinglayer/inc/drawinglayer/processor2d/linegeometryextractor2d.hxx
	drawinglayer/source/primitive2d/polypolygonprimitive2d.cxx
	svx/Package_inc.mk
	svx/inc/svx/sdr/overlay/overlayanimatedbitmapex.hxx
	svx/inc/svx/sdr/overlay/overlayobject.hxx
	svx/inc/svx/sdr/overlay/overlaypolypolygon.hxx
	svx/inc/svx/sdr/overlay/overlayrectangle.hxx
	svx/inc/svx/sdr/overlay/overlaytools.hxx
	svx/inc/svx/sdr/primitive2d/svx_primitivetypes2d.hxx
	svx/inc/svx/svdview.hxx
	svx/source/engine3d/view3d.cxx
	svx/source/sdr/overlay/overlayanimatedbitmapex.cxx
	svx/source/sdr/overlay/overlayhatchrect.cxx
	svx/source/sdr/overlay/overlaypolypolygon.cxx
	svx/source/sdr/overlay/overlaytools.cxx
	svx/source/svdraw/svdcrtv.cxx
	svx/source/svdraw/svdedxv.cxx
	svx/source/svdraw/svdhdl.cxx
	svx/source/svdraw/svdobj.cxx
	svx/source/svdraw/svdview.cxx
	sw/source/ui/dochdl/swdtflvr.cxx

Unname unused arguments to prevent WaE issues.

(cherry picked from commit 0735a61e631b8d4bb3d4e889bee436fb9e7c5734)

Change-Id: I3b1cf4754063985dc1b4adac44b33e52e200607f
e4288936cadd1f6e06bdf79611536d7114236b56
2013-06-16 20:01:56 +01:00
e0cce521f1 Resolves: #i121504# Support for alpha channel in clipboard for all systems
(cherry picked from commit ef3931ff410117e1237b3bef7bc090e8b83b9519)

Conflicts:
	automation/source/server/statemnt.cxx
	basic/source/runtime/methods.cxx
	canvas/source/vcl/devicehelper.cxx
	canvas/source/vcl/spritedevicehelper.cxx
	drawinglayer/source/processor2d/vclhelperbufferdevice.cxx
	drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx
	drawinglayer/source/tools/converters.cxx
	dtrans/source/win32/dtobj/FmtFilter.cxx
	editeng/source/items/bulitem.cxx
	extensions/source/scanner/sanedlg.cxx
	external/gcc3_specific/makefile.mk
	filter/source/graphicfilter/eos2met/eos2met.cxx
	filter/source/graphicfilter/ios2met/ios2met.cxx
	filter/source/msfilter/msdffimp.cxx
	fpicker/source/office/iodlg.cxx
	framework/source/fwe/classes/addonsoptions.cxx
	framework/source/fwe/helper/actiontriggerhelper.cxx
	sc/source/filter/excel/xiescher.cxx
	sc/source/ui/docshell/docsh.cxx
	sc/source/ui/inc/viewfunc.hxx
	sd/source/ui/app/sdxfer.cxx
	sd/source/ui/unoidl/unopage.cxx
	sd/source/ui/view/sdview3.cxx
	sfx2/source/appl/fileobj.cxx
	sfx2/source/appl/linkmgr2.cxx
	sfx2/source/dialog/filedlghelper.cxx
	sfx2/source/dialog/intro.cxx
	sfx2/source/doc/docinf.cxx
	sot/inc/sot/formats.hxx
	sot/source/base/formats.cxx
	svtools/bmpmaker/bmpcore.cxx
	svtools/bmpmaker/bmpsum.cxx
	svtools/inc/svtools/transfer.hxx
	svtools/source/filter/filter.cxx
	svtools/source/filter/wmf/emfwr.cxx
	svtools/source/filter/wmf/enhwmf.cxx
	svtools/source/filter/wmf/winwmf.cxx
	svtools/source/filter/wmf/wmfwr.cxx
	svtools/source/graphic/graphic.cxx
	svtools/source/graphic/provider.cxx
	svtools/source/misc/transfer.cxx
	svx/inc/svx/xoutbmp.hxx
	svx/source/sdr/overlay/overlaymanagerbuffered.cxx
	svx/source/xoutdev/_xoutbmp.cxx
	sw/source/core/view/viewsh.cxx
	sw/source/filter/ww1/w1filter.cxx
	sw/source/filter/ww8/ww8par.hxx
	sw/source/ui/dochdl/swdtflvr.cxx
	toolkit/source/awt/vclxbitmap.cxx
	toolkit/source/helper/vclunohelper.cxx
	vcl/Library_vcl.mk
	vcl/Package_inc.mk
	vcl/aqua/source/dtrans/DataFlavorMapping.cxx
	vcl/aqua/source/dtrans/OSXTransferable.cxx
	vcl/aqua/source/dtrans/PictToBmpFlt.cxx
	vcl/aqua/source/dtrans/PictToBmpFlt.hxx
	vcl/inc/vcl/alpha.hxx
	vcl/inc/vcl/bitmap.hxx
	vcl/inc/vcl/bitmapex.hxx
	vcl/inc/vcl/pngwrite.hxx
	vcl/inc/vcl/salbtype.hxx
	vcl/inc/vcl/wall.hxx
	vcl/source/gdi/animate.cxx
	vcl/source/gdi/bitmap2.cxx
	vcl/source/gdi/bitmapex.cxx
	vcl/source/gdi/bmpconv.cxx
	vcl/source/gdi/cvtsvm.cxx
	vcl/source/gdi/impgraph.cxx
	vcl/source/gdi/impimagetree.cxx
	vcl/source/gdi/metaact.cxx
	vcl/source/gdi/wall.cxx

Change-Id: I79938bc412c048c3d4e64f430f216e73bec16167
2013-06-13 14:50:46 +01:00
67608078a8 Resolves: #i121463# Enhanced handle visualization..
and some fixes in that region

(cherry picked from commit 2ece2411aa1ab78e6aec269d08d8a9b526390939)

Conflicts:
	default_images/svx/res/cropmarkers.png
	default_images/svx/res/cropmarkers2.png
	default_images/svx/res/cropmarkersACC.png
	default_images/svx/res/markers.png
	default_images/svx/res/markers2.png
	default_images/svx/res/markersACC.png
	officecfg/registry/schema/org/openoffice/Office/Calc.xcs
	officecfg/registry/schema/org/openoffice/Office/Draw.xcs
	officecfg/registry/schema/org/openoffice/Office/Impress.xcs
	officecfg/registry/schema/org/openoffice/Office/Writer.xcs
	officecfg/registry/schema/org/openoffice/Office/WriterWeb.xcs
	sc/source/core/tool/viewopti.cxx
	sd/source/ui/app/optsitem.cxx
	svx/inc/svx/svdhdl.hxx
	svx/source/svdraw/svdhdl.cxx
	svx/source/svdraw/svdstr.src
	sw/source/ui/config/viewopt.cxx
	sw/source/ui/docvw/edtwin.cxx

Change-Id: I4094c2ca18a3c29e8e24a15ddeb040808ce4605d
2013-06-13 10:37:03 +01: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