Commit Graph

376254 Commits

Author SHA1 Message Date
Noel Grandin
07d85c4499 remove SFX_NOTIFY macro
it has not served any purpose since we switched to using normal C++ RTTI
for the SfxHint objects

Change-Id: Ic81353bcb7863ce892eb75296248ca14d8fd6c86
2015-06-24 12:06:34 +02:00
Miklos Vajna
1d1c0632d2 SwViewShell::PrtOle2: take a vcl::RenderContext
Change-Id: I0d56649cf322b7769f77ccd99be367cd813570ea
2015-06-24 10:02:32 +02:00
Miklos Vajna
f25ee3ce07 SwViewShell::Paint: can use render context here directly
Change-Id: I75a532e85ce4caa3fe199669054a9811e3e5144a
2015-06-24 10:02:32 +02:00
Andras Timar
e17460ec39 Updated core
Project: dictionaries  ab55a4aa9fc37997d69ab8a372baa68031a0866c

tdf#91675 updated Catalan dictionary to version 3.0.0

Change-Id: Ie69743104482732bf6893d42240d3f6f314ffbb4
2015-06-24 07:39:02 +00:00
Miklos Vajna
9781a8786d tdf#89698 DOCX import: inline picture should have no spacing
Commit 3d7e168a2a (n#783638 DOCX import of
wp:inline's distT/B/L/R attributes, 2012-10-11) was about a picture that
had non-zero spacing in LO, but zero in Word. The hope was that the
problem is just that the value is not imported.

Then commit a88ac70840 (fdo#63685
wp:inline's distT/B/L/R is in EMU's, not twips, 2013-04-19) was about a
picture that had so large spacing that the picture become invisible.
Fixing the unit of the spacing value made the picture visible again.

What was missed is that this value is just stored in the doc model, but
layout in Word doesn't use it at all till the anchoring is as-char.
Given that in LO as-char anchoring supports real spacing, just don't
import these values to have the same layout. That's what the WW8 import
does, too.

Change-Id: I1244269e06c5d190e8340349ddc12ae7b0572a4d
2015-06-24 09:16:38 +02:00
Adolfo Jayme Barrientos
89b5967658 Remove another inappropriate ellipsis from a command’s name
Ellipsis should be used only when further user input is
needed to complete a task.

Change-Id: I768e4b000539dfcc0f8861bc970147bc64526653
2015-06-23 23:07:28 -05:00
andreask
2135fe0cef Breeze: Add new icons for formatting toolbar
All new entries I added to the formatting toolbar 
(DiagramArea, DiagramWall, View3D, InsertMenuTitles, 
DiagramAxisY, DiagramAxisX, DiagramAxisX)

other icons will come asap


Change-Id: Id4869e34500cc4c6587b703a0a9d345505679226
Reviewed-on: https://gerrit.libreoffice.org/16438
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2015-06-23 23:18:35 +00:00
andreask
7ad157e7b3 Breeze: insert missing icons from the standard toolbar
Change-Id: I90b661e7ff3bf61180e422c3ef23d7f3046061fd
Reviewed-on: https://gerrit.libreoffice.org/16435
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2015-06-23 23:10:33 +00:00
Matteo Casalin
492ff21d65 sw: HTML import: Do not mix normal, CTL or CJK attributes
The original code used 15 elements for positions, the 'repaired' one
lost 10 of them.
Also, do not try to be too smart and be verbose, letting the compiler
perform optimizations

(regression from 1b0f7ee1e0)

Change-Id: I0a1bc22d1abab083292de17b091c8be872fcee24
Reviewed-on: https://gerrit.libreoffice.org/16169
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2015-06-23 22:03:22 +00:00
Adolfo Jayme Barrientos
c7811b9d36 Options: “TSAs” button now has the same size as its neighbors
Change-Id: I19f01148c3d8af2b5aa574cacb098415eeeea38f
2015-06-23 16:01:57 -05:00
Christian Lohmaier
d2c39f46b8 update credits
Change-Id: If9bb184201c2837223e17b436c6602c58887204b
2015-06-23 21:56:48 +02:00
Eike Rathke
ab4374fc8a TableRef: finalize database ranges before defined names
Change-Id: I7ea0646c531c8aa2a5e33baa147e08628e65c17d
2015-06-23 21:27:48 +02:00
Andras Timar
08984b14b7 Revert "Typo: readd -> read"
The comment is about re-adding something, not about reading

This reverts commit bc8adace59.
2015-06-23 20:49:01 +02:00
Julien Nabet
2a65bf32ec Revert "Typo: iff->if"
This reverts commit cf92da3d6e.

iff can mean "if and only if" so not a typo
2015-06-23 20:42:27 +02:00
Julien Nabet
09b4cbe977 Revert "Typo: repsent->represent"
This reverts commit 338161a41d.
2015-06-23 20:42:13 +02:00
Julien Nabet
262dbabe8e Revert "Wrong comment with 'sal_True' instead of 'true'"
This reverts commit abd7ad8bff.
2015-06-23 20:41:33 +02:00
Julien Nabet
abd7ad8bff Wrong comment with 'sal_True' instead of 'true'
Change-Id: If1aa0f0b84c900d4c4b8378359d6e8e24e868934
2015-06-23 20:32:05 +02:00
Julien Nabet
338161a41d Typo: repsent->represent
Change-Id: I8affe5b6f388edf063460dabed743f16917d75e9
2015-06-23 20:31:06 +02:00
Julien Nabet
cf92da3d6e Typo: iff->if
Change-Id: I3fc60856b5a56e71d70b55c89323be074bdec3b3
2015-06-23 20:30:11 +02:00
Miklos Vajna
b9064c0780 vcl: fix window vs buffer map mode mismatch in PaintHelper
This avoids painting the first few menu items in really large scale on
the whole window after window resize.

Change-Id: I2469403684b1ae3b93892d49536115df2cef81bc
Reviewed-on: https://gerrit.libreoffice.org/16429
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2015-06-23 16:23:15 +00:00
Caolán McNamara
f7ed8b99b6 allow slide design to affect multiple standard pages
modify this minimally and select all standard pages
selected in the slidesorted, unselect them afterwards
and loop over the selected ones.

This looks like it could do with a rework to disentangle
the master/standard pages stuff, but leave it as is in
this commit

Change-Id: Ifd01fe21c91e5e6b07b2d8bba0d85facadc25998
2015-06-23 16:57:23 +01:00
Henry Castro
49002c028d sc: add ScModelObj::getTextSelection().
Calc copy part of copy&paste

Change-Id: Id9d2d05b491849fa30b3c91c6b22abe60355e876
2015-06-23 16:59:29 +02:00
Jan Holesovsky
020aecf5d9 tdf#92088: Fix an overlook in the refactor.
This was causing 'if you click in the "default style" combobox in writers
standard bar and press tab and press tab the next two combo boxes go "blue",
happens in gtk2, gtk3 and gen.' reported by Caolan.

Change-Id: I0d97a181a605088a0b8bb8043771eb56280521e0
2015-06-23 15:11:59 +02:00
Stephan Bergmann
fd7889a9cf Implement full set of OUString::replaceFirst/All literal overloads
Change-Id: I5f525d91ce24d1d2653a6855f1c4fffc039ae398
2015-06-23 14:53:56 +02:00
Stephan Bergmann
0f03d20011 typo
Change-Id: I80e32c8198a153a16e6a91921dff025bf5bd3170
2015-06-23 14:48:16 +02:00
Stephan Bergmann
b509137900 Make test code unaffected by upcoming loplugin:stringconstant improvements
Change-Id: If375073001690e1ce2f8d18a3f128358f22aa98b
2015-06-23 14:46:50 +02:00
Eike Rathke
80aafaf793 in OOXML save references of named expressions with col,row=0,0 base position
Saving relative references of named expressions to OOXML never worked,
upon reload they pointed to a different position offset by the value of
the original base position. This at least saves positive relative
references correctly, while generating #REF! for negative offsets which
is slightly better than having them point to a wrong location and
silently calculate different values..

Also, this is a prerequisite for TableRef ThisRow references in named
expressions to be saved correctly in A1 notation, which results in a
relative row 0 value.

Change-Id: I3734f910794ceab4b9224b214ad11c64d1d18e67
2015-06-23 13:19:25 +02:00
Caolán McNamara
42713c52c6 fix a11y crash seen in save-as-template
Change-Id: Ib00273452a67bd535e2f879d9801ae611e42cc7e
2015-06-23 11:52:51 +01:00
Takeshi Abe
0655f98565 Drop duplicate #includes
Change-Id: I4db77ea1de42676d9d2df70db3f2e1665a3fd983
Reviewed-on: https://gerrit.libreoffice.org/16419
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-06-23 10:40:00 +00:00
Jan Holesovsky
43a082f0bb tdf#90790: Don't take galaxy as a reference icon set, it may be incomplete.
Some icons in galaxy are available only via a fallback, while the other themes
can implement these icons directly; but they did not end up in the
images_*.zip.

Change-Id: Ifc937ebec7a1e38828672e65706150f50abe8703
2015-06-23 12:36:48 +02:00
Matteo Casalin
1b60c3d62d Avoid conversion warnings in rtl::get[High|Low]Surrogate
Change-Id: I5eec1f7505e27eedd39081669011f7af42b8a26f
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2015-06-23 12:33:36 +02:00
Matteo Casalin
cbe3b2fe0b Avoid conversion warning in O[U]String[Buffer] constructors
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, modifying the patch to
carefully keep the undefined behavior in the already existing additions that may
potentially overflow, instead of making the static_cast<sal_Int32> introduction
look like end - pData->buffer will be guaranteed to fit into sal_Int32 (which it
is not).

Change-Id: Id2fb64dc4585dae34257be6968a8905254a3b42d
2015-06-23 12:33:36 +02:00
Eike Rathke
1f832584f7 TableRef: clone inner reference RPN token only if it exists
that author was stupid ...

Change-Id: Ib06e88be52e70dee72ecb00590adce696eb347c0
2015-06-23 12:03:23 +02:00
Noel Grandin
af1c00c642 move sorting code closer together
to make it easier to understand.
Also switch iteration to range-based for loops.

Change-Id: I39a3f565f40458fd5598bb2e97fe71a0fec1c09c
2015-06-23 11:07:42 +02:00
Noel Grandin
bc7fba24da clean up svdpage.hxx a little
Change-Id: I5da9f408a80fd5990336aac847574f74164b6f7b
2015-06-23 11:07:42 +02:00
Jan Holesovsky
5ca1936975 rendercontext: Mass fix of using the wrong size.
In the paints, we must use the size of the Window for the computations, not of
the RenderContext - the RenderContext can be much bigger than the Window in
the double-buffering case.

Fixes for example the list boxes, and many others.

Change-Id: I4c7607569f88b2d097587140858d0862e54b5ea6
2015-06-23 10:32:28 +02:00
Caolán McNamara
4ec27ad35f Resolves: tdf#91683 Revert avoid activating chart objects...
just to get their mapunit or set visual size.

Will have to try something different here apparently

This reverts commit 757f461ef1.

(cherry picked from commit f2b3519c6b2aceacbe2fd9d53eb52dd36a356ecc)
2015-06-23 09:13:35 +01:00
Jan Holesovsky
7aeefc0e7c rendercontext: Don't spam on the terminal.
Change-Id: Ica36bb1123145a75edddc8c9e0a283d2b0129edb
2015-06-23 09:45:56 +02:00
Jan Holesovsky
287880b272 rendencontext: Wallpaper needs to fit the provided dimensions, not the outdev.
Otherwise we are painting according to the rendercontext size in the
double-buffered case.

This fixes the rendering of the image in the startcenter.

Change-Id: I2630137c5d176d818bc1a68a970a9e5256ace97c
2015-06-23 09:28:32 +02:00
Miklos Vajna
2fe248f2b3 tdf#87460 DOCX import: fix missing endnote in floattable
Writer doesn't support foot or endnotes in TextFrames, so they are not
supported in OOXML floattables, either. In the past, floattables were
imported as normal tables, that's how this worked. Restore the old
situation till the core limitation is there, so we at least don't
regress.

Change-Id: I4eb62617e3131176f7371e9ca69f11bc9e948a0b
2015-06-23 09:04:11 +02:00
Laurent Godard
187445b2d2 Uno api sidebar unit test tdf#91806
- python test subsequentcheck
- correct deck setTitle APi (UI update)
- enhance UnoInProcess for flexiility in loading parameter

Change-Id: Id04cb78c6162ac84fb3bfd8577f84763109d993e
Reviewed-on: https://gerrit.libreoffice.org/16180
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2015-06-23 06:38:56 +00:00
Stephan Bergmann
77cc71476b LinkUpdateMode is a global setting
Change-Id: Ida1257337c6e0916f2228fe053d9c9f085183af6
2015-06-23 08:26:36 +02:00
Eike Rathke
1781504910 Excel export: set correct grammar for named expressions symbols
This was always wrong for OOXML export, function names may have been
written without _xlfn. prefix or substitutions not been processed, but
will be vital for TableRef transformation to A1 notation.

Change-Id: Ieffd7d78e2c744d3c12228a0a815b5ce68b26c81
2015-06-23 00:11:43 +02:00
Stephan Bergmann
a51ac4d2bb Add variadic PartialWeakComponentImplHelper, remove need for implbase_var.hxx
Change-Id: Iad3417822b2ab3afb75da09c311a0bf07af5e2e4
2015-06-22 21:48:36 +02:00
Jan Holesovsky
cbe60f9795 tdf#91971: Add the menubar size to the height computation too.
Change-Id: Ic03dc9e811df624ca492cd2688a30a1e07fe6496
2015-06-22 21:46:31 +02:00
Michael Stahl
70cba374f6 scp2: add AutoInstall support for executables with COMPONENTCONDITION
Change-Id: I36f14d9ba08ab2473a555681b934b8b35cfa06b2
2015-06-22 21:02:05 +02:00
Bjoern Michaelsen
06850097f7 test inserting/remove writer table rows/cols
Change-Id: I55ded80b0a9597e6f050dd4c24c607896f07496f
2015-06-22 20:41:23 +02:00
Stephan Bergmann
383cace9ee Fix for BUILDDIR != SRCDIR
Change-Id: I3ea2a0a6d8f54afcc1959b54c36f90bb849995b4
2015-06-22 17:59:26 +02:00
Stephan Bergmann
e761ae7847 loplugin:passstuffbyref
Change-Id: Ibba2d7322a3708bce186bb6f8de44ffa18c5146e
2015-06-22 17:13:58 +02:00
Stephan Bergmann
04834f4ad1 MSVC 64-bit: In queryInterface optimization, copy hidden ret val addr
...to location where privateSnippetExecutor will pick it up to return it from
RAX.

Change-Id: I59b8db1a12177a3c4da4c810770bee4ace295115
2015-06-22 16:49:52 +02:00