Commit Graph

3868 Commits

Author SHA1 Message Date
Stephan Bergmann
5dcdb35ab1 Turn JavaInfo rtl_uString* members into OUString
Change-Id: Ieb23b0c36ef56a4793a56cdb450df34e4d9bce1d
2016-03-10 21:41:24 +01:00
Stephan Bergmann
e01e2342fb Avoid reserved identifier, remove unnecessary typedef
Change-Id: I1172bff37539d1ffb8da7b53c0e5f1913f7b7ec7
2016-03-10 18:32:13 +01:00
Noel Grandin
ad2ccc2365 loplugin:constantparam in cui
Change-Id: I41e62f217dab471e8a8ff257516c75d4db0e7837
2016-03-10 10:09:58 +02:00
Stephan Bergmann
220d9c24d0 include/jvmfwk/*.h -> .hxx (only ever included from C++ code)
Change-Id: Ia912e937d5a48afb6f8f5345b20bb7bd517fc4f1
2016-03-09 19:08:29 +01:00
Noel Grandin
435d6d50c3 loplugin:constantparam in sfx2
Change-Id: I50a2d8221f907f0e844e558f3dbdd0346c010201
2016-03-09 10:07:46 +02:00
Noel Grandin
ff745fc0d9 loplugin:constantparam in svx
Change-Id: Ib2a432fc334898c75ab5e5cf629a21fd310bd467
2016-03-09 10:07:45 +02:00
Yousuf Philips
4f40cd8b9d Add tilde shortcuts to keyboard shorctuts
Change-Id: Ib9d0d59845270152c2a8233d81b9cfac96259141
Reviewed-on: https://gerrit.libreoffice.org/22974
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2016-03-07 18:28:27 +00:00
Noel Grandin
359e0b47a0 loplugin:unuseddefaultparams
Change-Id: Ia414f7845425ef73859ed04853378e96cc738795
Reviewed-on: https://gerrit.libreoffice.org/22971
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-07 09:16:00 +00:00
Yousuf Philips
61a91be4aa tdf#88027 Make insert date and time work in es, fi, ru, and pt
Change-Id: I34f25d0e37c48335b458bc2aa92150500106ff29
Reviewed-on: https://gerrit.libreoffice.org/22792
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
2016-03-05 02:35:44 +00:00
Caolán McNamara
8141f0d5e7 duplicate defines
Change-Id: Ie3a8fbd430651dafaa837fabad0d0f818449b3fb
2016-03-04 16:41:02 +00:00
Noel Grandin
4d0003df73 loplugin:unuseddefaultparam in cui
Change-Id: I83c35b7a71d0becb98e739f076f42ce58b9e1cd8
2016-03-04 14:01:19 +02:00
Noel Grandin
1fbc20dad2 loplugin:unuseddefaultparam in svx
Change-Id: Iacd4ed12c6c5dfdc2f31f85c8c1ce2cee8a8641f
2016-03-04 11:48:04 +02:00
Noel Grandin
9a1e6d916e loplugin:unuseddefaultparam in sfx2
and fix an issue with calls to templated methods in the plugin

Change-Id: I9c9537a0690ff671286c007846d5f4cfb7d2982b
2016-03-04 11:48:04 +02:00
Miklos Vajna
b4d43cc215 cui: classification path is a file, not a directory in SvxPathTabPage
So when editing the classification path, open a file picker, not a
directory one.

Change-Id: I8f7e18f90dc2b5f180e7ddda7157c1e374ed6e4e
2016-03-02 17:26:39 +01:00
Miklos Vajna
87629f39bb cui: show classification path in SvxPathTabPage
It's not really able to modify it yet, as it wants to select a
directory, and we need a file instead.

Change-Id: I05b0e5a42ef64e56caeae35054fb331e3f1a712c
2016-03-02 13:36:27 +01:00
Noel Grandin
33265f52df loplugin:unuseddefaultparam in cui
Change-Id: I445b96a2ed4364616b2cb6a23efe36afb3f862f7
2016-03-02 07:57:38 +02:00
Noel Grandin
bd5ceabb53 loplugin:unuseddefaultparam in sfx2
Change-Id: I37afde801a6468c79259fe51acbdea0614c2c8c5
2016-03-02 07:57:36 +02:00
Noel Grandin
595f46344e loplugin:unuseddefaultparam in svx (part1)
Change-Id: I0fc8d00447491e8474508952c21d07aa22b6f055
2016-03-01 08:30:27 +02:00
Maxim Monastirsky
7affe26a12 Kill sfx2 menu support
Change-Id: I340a066881b1962a4bcd5a2b7d9a0425d8b9557c
2016-02-28 09:10:19 +02:00
Adolfo Jayme Barrientos
d8df531aba tdf#96999 Allow resizing of Customize dialog
As long as this dialog keeps its inefficient, cluttered layout,
and we still lack tooltips for table rows that don’t fit, let’s
allow users to blow this up if they want to.

Change-Id: Iba69fb39ea97acae8751c1ac0611f3ac4ccea9e0
2016-02-27 06:54:15 -06:00
Takeshi Abe
a6c26ef0c7 cui: Fix a wrong label "Rotation" in Character > Position menu
... by replacing it with "Scaling".

To find the label in Calc's Character > Position menu:
1. select text in a cell and open context menu
2. choose "Character..." in the context menu
3. choose "Position" tab (then the label appears as 2nd headline)

This looks a regression from 6a0951a9bc.

Change-Id: I183f89e6891eea53f6e345472d7d413f0f801e91
Reviewed-on: https://gerrit.libreoffice.org/22709
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2016-02-26 08:53:35 +00:00
Eike Rathke
b3ee4ba346 use SearchOptions2
Change-Id: I1eaf001475bacb29d23cb7465a0a19d89afb802b
2016-02-25 17:33:36 +01:00
Yousuf Philips
f6f66bd6a1 tdf#97942 Return Ctrl+Shift+Space to the keyword customize
Change-Id: I4a886a9312a4b4afbe2451b88941b72dc5c6dadc
Reviewed-on: https://gerrit.libreoffice.org/22621
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2016-02-24 15:34:58 +00:00
Noel Grandin
c45d3badc9 new loplugin: commaoperator
Change-Id: I03f24e61f696b7619855e3c7010aa0d874e5a4ff
2016-02-23 08:08:56 +02:00
Adolfo Jayme Barrientos
943af6cd6f Options: Some layout tweaks and copyediting
Change-Id: If3b2bd1d75472b25de65670784f3508daa20857d
2016-02-20 19:40:02 -06:00
Yousuf Philips
aa7ceb44cf Fix incorrect icon reference in Distribution dialog
Change-Id: I2b296f06800b5ae29a61cdae7b00961a6b502b66
Reviewed-on: https://gerrit.libreoffice.org/22492
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-02-19 12:14:59 +00:00
Caolán McNamara
d967cc35fd Resolves: tdf#97904 opengl stuff isn't implemented for gtk3
Change-Id: I1abbceebadf320f28955f54058b2d0ebfc79b9bc
2016-02-18 11:26:07 +00:00
David Ostrovsky
a3c70e760f Fix missing iterator include on MSVC 14.0
Change-Id: I55de612aef52038fd9979426950d4ae4131ca586
Reviewed-on: https://gerrit.libreoffice.org/22448
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
2016-02-17 23:43:45 +00:00
Noel Grandin
2087484c65 use consistent #define checks for the Windows platform
stage 2 of replacing usage of various checks for the windows platform
with the compiler-defined '_WIN32' macro

In this stage we focus on replacing usage of the WIN macro

Change-Id: Ie8a4a63198a6de96bd158ecd707dadafb9c8ea84
Reviewed-on: https://gerrit.libreoffice.org/22393
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-02-17 11:33:57 +00:00
Arnold Dumas
53bf3ea58e tdf#57950: Replace chained O(U)StringBuffer::append() with operator+
Change-Id: Ic76cf0130ebec4cf723b83d82f59ae45bfcb3ea1
Reviewed-on: https://gerrit.libreoffice.org/22350
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-02-15 07:38:21 +00:00
Adolfo Jayme Barrientos
8f39c71b3f Stack these boxes vertically again
Thanks Eike for the feedback!

Change-Id: I4840ddf0cb897fd2138fe4607040a3b5a5b60357
2016-02-13 21:03:32 -06:00
Adolfo Jayme Barrientos
e11776e98c “Yeah, I think I got it the first time, thanks.”
Change-Id: Icbc4d4c25987c400ed30739826155e28b938735e
2016-02-13 20:58:56 -06:00
Stephan Bergmann
de92a3d67f loplugin:passstuffbyref
Change-Id: I90d10c9bde2ad1160a4c1e2de2b53c565cb7e80c
2016-02-12 11:54:57 +01:00
akki95
3ae9eaa793 tdf#97425 - JVM start parameters should be editable.
Added new dialog to edit Java start Parameter.
Modified UI of JavaStartParameterDialog using Glade.
Renamed Assign Button to Add.
Added a function to edit.cxx vcl file to move cursor to last letter of GTKEntry.

Change-Id: Ia43e2c0fbced5674a84187de02a9bc9460141f2d
Reviewed-on: https://gerrit.libreoffice.org/22220
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-02-12 09:43:10 +00:00
Andras Timar
76d34bbc26 tdf#46037 clean up Options - LibreOffice - Accessibility page
switch to new config access and handle read-only state, too

Change-Id: I499363ae59163ffcea4f7d3b0fe72289b88ffb79
Reviewed-on: https://gerrit.libreoffice.org/22261
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2016-02-10 14:09:08 +00:00
Chris Sherlock
a238b1f8d3 Remove excess newlines
A ridiculously fast way of doing this is:

for i in $(pcregrep -l -M -r --include='.*[hc]xx$' \
  --exclude-dir=workdir --exclude-dir=instdir '^
{3,}' .)
do
    perl -0777 -i -pe 's/^
{3,}/

/gm' $i
done

Change-Id: Iebb93eccbee9e4fc5c4380474ba595858a27ac2c
Reviewed-on: https://gerrit.libreoffice.org/22224
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-02-09 08:18:05 +00:00
Chris Sherlock
538f276ae0 Formatting changes across all modules
+ Removed comment cruft
+ Tab formatting in number of files
+ Some commented out code removed
+ Tab characters replaced with spaces
+ Newline cleanup in quite a few files
+ Tweak header guard #endifs

Change-Id: I3208ff2f047da890edcc49b73389aca22442f5fc
Reviewed-on: https://gerrit.libreoffice.org/22221
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-02-09 08:11:34 +00:00
Chris Sherlock
01aa78cf08 vcl: cmdevt.[hc]xx -> commandevent.[hc]xx
Change-Id: I77b30f28ae5a6fad360d7cada9acfaa9c324408b
Reviewed-on: https://gerrit.libreoffice.org/22216
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-02-08 21:41:17 +00:00
Chris Sherlock
88730cdae3 vcl: bmpacc.hxx -> bitmapaccess.hxx
Change-Id: I4bb19d6103c4a6a902d86b62a857e3478493924c
2016-02-06 21:04:09 +11:00
Chris Sherlock
249e3d6d19 vcl: split exception types from input types
Having them in the file apptypes.hxx isn't necessary helpful, IMO so
I've split the types into inputtypes.hxx and exceptiontypes.hxx

Change-Id: I89a1ff168c3ae276b2f5486669d4ec2dda062d57
2016-02-06 12:55:43 +11:00
Eike Rathke
599f0cbe1d interface to new XTextSearch2 with SearchOptions2, tdf#72196
Places that had utl::TextSearch::UpgradeToSearchOptions2() introduced
are worth an inspection if the new SearchAlgorithms2::WILDCARD search
should be supported or at least use SearchOptions2 instead of
SearchOptions to eliminate the small performance penalty that conversion
involves.

Change-Id: I565f73af2b551ae9ad0f488e672823dc6c5c1109
2016-02-05 17:02:47 +01:00
Andrea Gelmini
534b2a4b58 Fix typos
Change-Id: Ice72f8d9971e15dd6ef365e64cd567b8581a92d3
Reviewed-on: https://gerrit.libreoffice.org/21797
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2016-02-05 06:48:38 +00:00
Chris Sherlock
697d445ed0 vcl: take into account the font width is the average font width
I'm changing the Font class function names:

- SetSize       -> SetFontSize
- GetSize       -> GetFontSize
- SetHeight     -> SetFontHeight
- GetHeight     -> GetFontHeight
- SetWidth      -> SetAverageFontWidth
- GetWidth      -> GetAverageFontWidth

That's because it really makes no sense to say that there is a
single constant font width because obviously proportional fonts
don't have one - the best we can do is an average font width,
which is what folks like Microsoft sort of do already. On a fixed
font, the average is still accurate, for obvious reasons :-)

I'm also not a fan of GetSize/SetSize as I find it a might too
generic.

Change-Id: Ib80a604ba62d6883fd6cbc7994da763976be5c70
Reviewed-on: https://gerrit.libreoffice.org/22069
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-02-04 03:17:26 +00:00
akki95
5008b9a692 tdf#96132 Enabling Experimental Features in UI doesn't warn about restart
Change-Id: I2efafee4f8ebd4cd7ba2b7a23f68ca08022eb659
Reviewed-on: https://gerrit.libreoffice.org/22064
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-02-03 13:55:10 +00:00
Caolán McNamara
c3cc55968e remove B2DLineJoin::Middle
and consistently map css::drawing::LineJoint_MIDDLE to the same thing that
css::drawing::LineJoint_MITRE points to everywhere else

Change-Id: I77b7586ea13f3fe84c0529172758256666488d36
2016-02-02 16:41:23 +00:00
akki95
a78f074a0b tdf#70998 Termchange: Graphic/Picture->Image
Changed visible terms as required.

Change-Id: Id4335629977aa8512c753241d7c2203820716b73
Reviewed-on: https://gerrit.libreoffice.org/21857
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-02-02 12:39:43 +00:00
Noel Grandin
98c343604d boost::hash->std::hash
Change-Id: If4d1e4071995f07212fad958b0226d5824d168f8
Reviewed-on: https://gerrit.libreoffice.org/21989
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-02-02 09:20:47 +00:00
Caolán McNamara
e9a2e0460e OSL_THIS_FUNC is a rip-off of BOOST_CURRENT_FUNCTION so we can use that
as a direct drop in I guess

Change-Id: I3add63f1459f4e659019bd6db54da2f5431958ce
Reviewed-on: https://gerrit.libreoffice.org/21941
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-01-31 12:29:07 +00:00
Noel Grandin
1ef9f3988e unnecessary use of OUString constructor
Change-Id: Idd31b0a53c8318af69bbcd32f6798721ec8eb8e1
Reviewed-on: https://gerrit.libreoffice.org/21945
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-01-31 12:04:02 +00:00
Caolán McNamara
4074786a14 WaE: loplugin:defaultparams
Change-Id: I91843f0aa99cf95b7c4899c8ab56c1c430fa9b43
2016-01-31 10:15:23 +00:00