Commit Graph

342407 Commits

Author SHA1 Message Date
Chris Sherlock
b799cb7528 Remove unused Window parameter from SystemSettingsChanging
This took a bit of code archaelogy for me to track down. It turns out that
as part of an effort to optimize startup, the line of code in this function
was commented out, presumably to be rewritten later. This happened in
commit ee3351d78c in July 2001 (!).

About three years later, in February 2004, the function was rewritten in
commit 189c2388d8. As it turns out, the only two functions that used
the Window parameter were vcl/source/window/window.cxx (which passed
itself in, but of course this did nothing) and
vcl/source/window/winproc.cxx. Furthermore, winproc only ever passed in
the first frame, so it didn't really do anything either.

Consequently, the function as it stands *now* only notifies the
application that system settings have been changed. It doesn't care
which window it tells.

Therefore, I have excised this parameter from the function. I don't
think it made sense when it was implemented anyway, so there is no net
loss.

After removing the unneeded parameter, I was also able to remove the
Window parameter from winproc.cxx's ImplHandleSalSettings function as
it was only ever used to set the top level window, which is now
irrelevant.

Change-Id: I84f2c5c5ff8969387da3af81e4a9c7f9ac6237e1
Reviewed-on: https://gerrit.libreoffice.org/7541
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2014-01-20 15:27:56 +00:00
Miklos Vajna
305077c6c3 drawingML export: zero rotation shouldn't alter the shape position
I'm not exactly sure why existing code didn't do this implicitly, but at
least this improves the situation.

Change-Id: Id2bb169c513827b7ef48640dc88fad90a83d2bee
2014-01-20 16:22:05 +01:00
Caolán McNamara
24ea8a7c50 require icu_headers here
Change-Id: If15c208f23d09dbd55ad0625448f864a7725c553
2014-01-20 15:12:59 +00:00
Caolán McNamara
4e0cd21369 require icu_headers here
Change-Id: Iee8d757f29c03e71e48c211966daaa89548710b4
2014-01-20 15:05:43 +00:00
Tsutomu Uchino
78dd3fb45e Related: #i121289# printer options should have SID_SAVE_ONLY_USED_SYMBOLS
(cherry picked from commit 5c6ef989906c6aa51b2e3702bac0323ef97e9f2d)

Change-Id: Ida372f0558fd7e5cdb9c98384c21544e197f88a9
2014-01-20 15:05:42 +00:00
Douglas Mencken
8ae8d5165c Get bundled openssl to be used on OS X too, at least on OS X <10.7
Also note that OpenSSL is incompatible with -fvisibility=hidden on OS X

Change-Id: I1fc3cf4d515ef210f996cb04ba9c1b3216109137
Reviewed-on: https://gerrit.libreoffice.org/7233
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-01-20 15:05:24 +00:00
Caolán McNamara
d33b4c311e Related: #i56998# use locale rules to format percentage
Change-Id: I4b744cf10165383153d2a71c05df0c0ed327c641
2014-01-20 14:46:21 +00:00
Caolán McNamara
c6c70c9346 Related: #i56998# use FUNIT_PERCENT instead of FUNIT_CUSTOM
Change-Id: Ibac028120286c9deb2411fc547877eebac93f36f
2014-01-20 14:46:21 +00:00
Chris Sherlock
89a7b8a132 Document VCL Application class
Documented the VCL Application class in Doxygen format. Also
reindented some of the code, and moved ValidateSystemFont down
the list of class functions (better code organization).

Change-Id: Id421647a9a25e11be87b0f6c46d1ac0f4846f6a4
Reviewed-on: https://gerrit.libreoffice.org/7515
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2014-01-20 13:53:12 +00:00
Stephan Bergmann
3c2a6ad96b Make implicitboolconversion.cxx compile with Clang 3.2
Change-Id: I011e74fd044d0b76cccc60adea362805917c584a
2014-01-20 14:32:35 +01:00
Oliver-Rainer Wittmann
6789e6de92 Resolves: #i124039# assure correct line break for multi-lined Input Fields
(cherry picked from commit 14e0270c3ebad9a1fb817fcfced2aa8ee2f3e3f0)

Change-Id: If5664a5260e683cd5a80885b3f39b04f85de8db9
2014-01-20 13:32:15 +00:00
Caolán McNamara
062e6f76ba Related: #i56998# use locale rules to format percentage
Change-Id: I2cdeefc5a5a1ee970ee3da5191ceae28b58340a1
2014-01-20 13:32:15 +00:00
Tor Lillqvist
78a61583c2 Minor update for Raspbian
Change-Id: I5208aa7e6f40acc6d18a0617dc104474e1e87870
2014-01-20 15:01:45 +02:00
Tor Lillqvist
6e08873d98 Add JVM headers and libs
Change-Id: If5524c6c23bcd2500d029a33df141a0a1c611502
2014-01-20 15:01:45 +02:00
Zolnai Tamás
d0c383256e fdo#73389 Writer does not show a docx-document with nested table correctly
The table manager can work with more table simultaneously
and so m_aCellWidths contains more table's properties.Only one
item of it belongs to the current table (getCurrentCellwidths).
Regression from 74c5ed19f4

Change-Id: I93efac0c004af1b2524c955ffb20c3ecd74a2920
2014-01-20 13:46:22 +01:00
Tsutomu Uchino
aab6645595 Related: #i56998# percent value should not takes space separator...
before the character

(cherry picked from commit acac627b8aed3353e542ce41fa9a7064e4d1790b)

Conflicts:
	vcl/source/control/field.cxx

Change-Id: Ia9c5496e1e2345f6249dc03efaf2c60f4231aecd
2014-01-20 12:45:55 +00:00
Caolán McNamara
96c0f5b1c7 Related: #i56998# use locale rules to format percentage
Change-Id: I26af0abee94c911fd0d2b84e829f4489e625c0b2
2014-01-20 12:37:24 +00:00
Caolán McNamara
fdf9406792 misuse of OUString::boolean on sal_uInt8 values
regression since 64b993e046

Change-Id: Ifc907a34430c36a64318fc42342e630e2b84ad13
2014-01-20 12:32:25 +00:00
Khaled Hosny
224da771d3 Remove space before percent sign
Seems to be merge artifacts in 260df50ae6.

Otherwise, I really like how Caolán implemented this in a proper,
per-locale way. Caolán, you rock!

Change-Id: I42e70b240fdf013316ad282e70b8e42eec8225a8
2014-01-20 14:22:22 +02:00
Caolán McNamara
269af04481 Related: #i56998# no space for degree symbol
and now space between number and pages is explicitly added by code

Change-Id: Ic4e73d2f30b93bd4a34b98f480f1ba111c9a285d
2014-01-20 12:20:09 +00:00
Tsutomu Uchino
ab50bc9d4a Resolves: #i56998# add a space separater between value and unit...
and remove separator between value and percent to match with ISO 31-0

(cherry picked from commit 0cea884e3f417e4b58d2fdcfc7b0111f3bfc6f30)

Conflicts:
	chart2/source/controller/dialogs/tp_SeriesToAxis.src
	cui/source/dialogs/colorpicker.cxx
	cui/source/dialogs/colorpicker.src
	cui/source/dialogs/grfflt.src
	cui/source/dialogs/zoom.src
	cui/source/tabpages/tabline.src
	editeng/source/items/frmitems.cxx
	editeng/source/items/textitem.cxx
	sd/source/ui/animations/CustomAnimationDialog.src
	sd/source/ui/animations/SlideTransitionPane.src
	svx/source/dialog/bmpmask.src
	svx/source/engine3d/float3d.src
	svx/source/items/algitem.cxx
	svx/source/sidebar/text/TextCharacterSpacingControl.cxx
	svx/source/xoutdev/xattr.cxx
	sw/source/ui/utlui/attrdesc.cxx
	sw/source/ui/utlui/uiitems.cxx

Change-Id: I554309cb72dd8956077c5ca6866a982cdd6529aa
2014-01-20 12:08:54 +00:00
Caolán McNamara
d98d35b329 Related: #i56998# english doesn't put a space between numbers and percent
Change-Id: I9c9579e8e1b8009fef169b434e2d839e36da8984
2014-01-20 11:45:08 +00:00
Tsutomu Uchino
260df50ae6 Related: #i56998# use FUNIT_PERCENT instead of FUNIT_CUSTOM...
with percent CustomUnitText on metric fields

(cherry picked from commit 4f5b26a97dbaef964af1fe323f24109b987cb952)

Conflicts:
	chart2/source/controller/dialogs/tp_3D_SceneGeometry.src
	chart2/source/controller/dialogs/tp_SeriesToAxis.src
	cui/source/dialogs/zoom.src
	cui/source/options/optgdlg.src
	cui/source/tabpages/autocdlg.src
	cui/source/tabpages/backgrnd.src
	cui/source/tabpages/chardlg.src
	cui/source/tabpages/grfpage.src
	cui/source/tabpages/numpages.src
	cui/source/tabpages/paragrph.src
	cui/source/tabpages/tabarea.src
	cui/source/tabpages/tabline.src
	cui/source/tabpages/tparea.cxx
	cui/source/tabpages/tplnedef.cxx
	sc/source/ui/pagedlg/pagedlg.src
	sd/source/ui/animations/CustomAnimationDialog.src
	starmath/source/dialog.cxx
	starmath/source/smres.src
	svx/source/dialog/fontwork.cxx
	svx/source/sidebar/area/AreaPropertyPanel.src
	svx/source/sidebar/graphic/GraphicPropertyPanel.src
	svx/source/sidebar/line/LinePropertyPanel.src
	svx/source/tbxctrls/fontworkgallery.src
	sw/source/ui/frmdlg/column.src
	sw/source/ui/misc/pgfnote.src

Change-Id: I8acc5f7fc80d4366750ad38fabbf49b02f013f7c
2014-01-20 11:40:09 +00:00
Caolán McNamara
4d1b8459f7 Related: #i56998# use locale rules to format percentage...
in zoom value and percent on zoom statusbar item.

Change-Id: I0b863ab43399772fb52c4e03e0552fcb933e2832
2014-01-20 11:25:20 +00:00
Thomas Arnhold
9df2b09e0a add missing space in help text
from 6e2c0fef5906a
2014-01-20 12:21:52 +01:00
Caolán McNamara
4706cecf54 Related: #i56998# use locale rules to format percentage...
in Combine single line paragraphs option in AutoCorrect dialog

Change-Id: I5af78ff31031a92a4f772d9c26bee05c3695cad1
2014-01-20 11:19:18 +00:00
Caolán McNamara
c2866a9da4 Related: #i56998# provide a way to format % per-locale rules
Change-Id: Ic27b230cc9dce366f281ff720ded5873e94f6191
2014-01-20 11:19:18 +00:00
Tor Lillqvist
daaa6425ba Make gallery stuff work also for cross-compilation
Galleries are needed in a cross-compilation only when targeting DESKTOP
platforms, which people don't do very often, so the problem had not been
noticed for a while.

Change-Id: Ieb0f010505af230db0661f02345ac6ace3b52957
2014-01-20 13:18:06 +02:00
Miklos Vajna
106c82706e drawingML export: write TextShape outline properties
Change-Id: I3742c960016bbe1d82b58a16d464b329d2612c10
2014-01-20 12:15:29 +01:00
Miklos Vajna
2d4f0a7d0d drawingML export: fix TextShape width for DOCX
Change-Id: Ibaf29ed746076fa6ec0bad013cac26debdb2b165
2014-01-20 12:15:29 +01:00
Miklos Vajna
243ce7d73a drawingML export: write TextShape fill properties
Change-Id: Ibe89e86b19d7633e9a0669ff0574173ac4b633c5
2014-01-20 12:15:28 +01:00
Noel Grandin
a506352ecb remove now dead MyList class
Change-Id: I96411ecb072e5135e7d0e6bb276ff782dcb0270c
2014-01-20 13:14:46 +02:00
Noel Grandin
1f3eed97de convert custom list implementation ScaDoubleList to std::vector
Change-Id: I98865a54f675ebdb7724327305f9f9a5eeccfeb4
2014-01-20 13:14:41 +02:00
Noel Grandin
20c4de49ac convert custom list implementation SortedIndividualInt32List
.. to std::vector

Change-Id: I882653fbe6e42bf2a4f79c5b7c353e6667c79879
2014-01-20 13:14:35 +02:00
Noel Grandin
22b928d7d7 convert custom list implementation FuncDataList to use std::vector
Change-Id: Id73464d135dd41e6a24663da654a3c623c2814d4
2014-01-20 13:14:31 +02:00
Noel Grandin
4cc5d3f2d7 convert custom list implement ConvertDataList to std::vector
Change-Id: I32fbab56f21709a79b1d7fd13bc85ad5a9a107dd
2014-01-20 13:14:26 +02:00
Noel Grandin
9ed624752f Convert custom list implementation ComplexList to use std::vector
Change-Id: Ifd02215e2b86fb9c527db0d4011781c4959c29bf
2014-01-20 13:14:21 +02:00
Noel Grandin
a08633b07a remove unused CStrList class
Change-Id: I22b74ab50fbef728c3a0d8a04e212fe1b1fce86e
2014-01-20 13:14:17 +02:00
Noel Grandin
6fd75d6a34 sal_Bool->bool
Change-Id: Iba99495f93edc1bbd8b4fbdbf25c6c6f8b8986be
2014-01-20 13:13:53 +02:00
Noel Grandin
b132bf92cc sal_Bool->bool
Change-Id: Ibc8696d41afead254c832afb7b4aeed73f52cab9
2014-01-20 13:13:52 +02:00
Noel Grandin
18d0f4c714 sal_Bool->bool
Change-Id: Idfdfc19ac80797ef7185425c7929db3fc2e9e1a5
2014-01-20 13:13:52 +02:00
Noel Grandin
3dffe22584 sal_Bool->bool and remove unnecessary param on ScConsData::InitData
since it was only called from one place, and that place
unconditionally passed "false"

Change-Id: I1b730cfff23da08a86d385737043fcabf16d37cb
2014-01-20 13:13:52 +02:00
Noel Grandin
a2c49ef910 sal_Bool->bool
Change-Id: I6f567871d9ba0517c5069f9b2d6c908b4501178d
2014-01-20 13:13:52 +02:00
Noel Grandin
1d7f9ceb1c sal_Bool->bool
Change-Id: Ia39a8e928b68d4e05696e9a664fad28f95b91828
2014-01-20 13:13:51 +02:00
Noel Grandin
de139552be sal_Bool->bool
Change-Id: Id85765e1ae560364d8cf5e33b509473a362d63ed
2014-01-20 13:13:51 +02:00
Noel Grandin
f8e5ba4f51 sal_Bool->bool
Change-Id: I7c60759d199da6b0d1494cf31e1577808e618627
2014-01-20 13:13:51 +02:00
Noel Grandin
2b015cd8ad sal_Bool->bool
Change-Id: Ibe1a978835a3ccd3c34d289db56f12e53b42087b
2014-01-20 13:13:50 +02:00
Tsutomu Uchino
66ff6924d5 Related: #i56998# use FUNIT_PERCENT on fields that allow relative value
(cherry picked from commit fc6fc5b576b972a8ea0551091cc57aa1cfe1334d)

Conflicts:
	svtools/source/control/ctrlbox.cxx
	svx/source/dialog/relfld.cxx

Change-Id: Ic8f0f550dbbcab0678fbeb9bf45a478b0cea642d
2014-01-20 10:14:29 +00:00
Tor Lillqvist
01fc6acdf2 WaE: comparison between signed and unsigned integer expressions
Change-Id: I64c869fbc89ca18a4cc0f7f2a7a8f9d729c7a66d
2014-01-20 12:12:35 +02:00
Tsutomu Uchino
1cf4fd9f55 Related: #i56998# add space separator between value and unit...
in fixed line around the preview on print dialog

(cherry picked from commit 99d599a9ff636dc16b42889ca5d2d7323f45cae4)

Conflicts:
	vcl/source/window/printdlg.cxx

Change-Id: I632766cfbc89be32f5991890df0c5cc918263f00
2014-01-20 09:59:26 +00:00