Commit Graph

327618 Commits

Author SHA1 Message Date
Ariel Constenla-Haile
eaad3098c6 Make .uno:Open a drop-down toolbar item
(cherry picked from commit b38a51d67373daf9a45a4701e7c760c7b3571a66)

Conflicts:
	chart2/uiconfig/toolbar/standardbar.xml
	dbaccess/uiconfig/dbapp/toolbar/toolbar.xml
	sc/uiconfig/scalc/toolbar/standardbar.xml
	sd/uiconfig/sdraw/toolbar/standardbar.xml
	starmath/uiconfig/smath/toolbar/standardbar.xml
	sw/uiconfig/sglobal/toolbar/standardbar.xml
	sw/uiconfig/sweb/toolbar/standardbar.xml
	sw/uiconfig/swform/toolbar/standardbar.xml
	sw/uiconfig/swreport/toolbar/standardbar.xml
	sw/uiconfig/swriter/toolbar/standardbar.xml
	sw/uiconfig/swxform/toolbar/standardbar.xml

Change-Id: Iac0c7e8e474e8d217ca4daf47232019c64ca888f
2013-05-27 12:22:35 +01:00
Lei De Bin
ee0ecef811 Resolves: #i120158# fix picture shadow lost after saved as doc in some case
Reported by: Yan Ji
Patch by: Chen Zuo Jun
Review by: Lei De Bin (cherry picked from commit fe549458ef04384ba777e4a36f34b68efc5b8b6d)

Conflicts:
	filter/source/msfilter/msdffimp.cxx
	sw/source/filter/ww8/wrtw8esh.cxx

Change-Id: I863ea7193f3dee563a892a6d857ee2385f58a862
2013-05-27 12:11:40 +01:00
Markus Mohrhard
17f21e6bcc reintroduce removed line, fdo#62402
This line was removed with dd3e879cfd but
is needed. Special thanks to Joren for bibisecting and bisecting.

Change-Id: Id2b3de4098db75571006e6e62b77efe8c491b06f
2013-05-27 13:03:53 +02:00
Ariel Constenla-Haile
174e32567f Recent files menu in the StartModule should be the same as in the menubar
(cherry picked from commit cbf0812a9bcd4287af1f5db0f2c30caf1508baa6)

Conflicts:
	framework/source/services/backingwindow.cxx
	framework/source/services/backingwindow.hxx

Change-Id: I49dc11e1cf9bd6831c16e53d24a131de4d565373
2013-05-27 11:45:09 +01:00
Tor Lillqvist
9b84549312 Plain "make" hopefully works fine too
Might make it a little bit easier for new contributors.

Change-Id: If4475c1ea7f55c34971beecd7573aaaf545e7106
2013-05-27 13:17:52 +03:00
Andras Timar
23cafa4aca fix typos reported by localizers
Change-Id: I0b9a36f0c6f081ff35f0b8bc6e420d881036576c
2013-05-27 11:32:07 +02:00
Stephan Bergmann
ae6a7df73b Typo (and don't shout at me)
Change-Id: Id5ad3af1fd70de6b0e9d2640d12011362e7c34ef
2013-05-27 11:23:33 +02:00
Sun Ying
c05c16635b Resolves: #i119753# fix audio video object lost when save .ppt file
Reported by: Li Feng Wang
Patch by: Ying Sun
Review by: Jian Yuan Li

(cherry picked from commit fbb7e8d8957877922f2f3a971e88685589f43939)

Conflicts:
	filter/inc/filter/msfilter/escherex.hxx
	filter/source/msfilter/escherex.cxx

Change-Id: I545a9e95c23cfba0cc918c9c4243528570734b2d
2013-05-27 10:23:07 +01:00
Yuri Dario
ba8485a9c8 cast double to sal_Int64 can throw EXCEPTION_FLT_INVALID_OPERATION on Windows
cherry picked from commit eb34ba3c343807201c62a49a19d7616e1011c118)

Conflicts:
	vcl/source/control/field.cxx

Change-Id: I2fb03b1b03ea23259e9eca7305c3f86d80d79f21
2013-05-27 10:23:07 +01:00
Miklos Vajna
ec8e012e98 testcase for bfb93ffc6d
Change-Id: If61739d54cb2572f20b118a2cf56ab2bd0f306e5
2013-05-27 10:48:25 +02:00
Andras Timar
de53a817ac Updated core
Project: translations  40e56fe83f5a05f8c87821d0c30ef1585b601fc8
2013-05-27 08:40:25 +00:00
Stephan Bergmann
168ed77568 Include frmatr.hxx instead of directly format.hxx
...as otherwise this can result in "inline function [...] used but never defined
[-Werror]" for SwFmt::GetULSpace and SwFmt::GetLRSpace.

Change-Id: I9de3422953b38c978af1e7d2fc07398b83236ed6
2013-05-27 10:03:31 +02:00
Urmas
bfb93ffc6d fdo#64671 Some special RTF characters were not skipped correctly
Some special characters, like { and }, were not skipped when they
occured as a replacement character for \uN keyword.

Change-Id: I19b66a290cd9880924774fa89bb29df280e44a3c
2013-05-27 09:55:10 +02:00
Khaled Hosny
6e6b028164 Fix fdo#64685 - Superscript broken in master
After f22006dc6a the position member of
SwDrawTextInfo is no longer a pointer, so changing the passed Point
after calling SetPos() has no effect, but some code seems to be relying
on it being pointer. Moving SetPos() to after changing the point seems
to do the trick, but there may be other similarly broken code like
SwSubFont::_DrawStretchText() below.

Change-Id: I2f563c1543ff7bff68e573f69fce39694181b370
Reviewed-on: https://gerrit.libreoffice.org/4032
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-05-27 07:43:15 +00:00
Miklos Vajna
e978e83950 sw: unused includes in atrfrm
Change-Id: Ia57b28ed60ca8c9a4b00009c2abf1e2ba2f8ed92
2013-05-27 09:40:35 +02:00
Miklos Vajna
a689d8cf7a sw: unused includes in anchoredobject
Change-Id: Ic7034ed384448a273517f3bf9795adfbbcaeba7b
2013-05-27 09:40:35 +02:00
Miklos Vajna
7621888c0a sw: unused includes in anchoreddrawobject
Change-Id: I57fdc7413c5caf09dbe279b502d94e36a46d5f64
2013-05-27 09:40:23 +02:00
Isamu Mogi
8645239c91 vcl: Check SH_MenuBar_MouseTracking when menubar is drawn on KDE
If QStyle::SH_MenuBar_MouseTracking is 0, it makes a mouse rollover
effect minimize. By this, a menubar item of CDE and Motif styles becomes
closer to standard behavior.

Change-Id: I87dccbd30bf7b9f0d82d1a6e67355c1b25d22dc8
Reviewed-on: https://gerrit.libreoffice.org/4018
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-05-27 06:37:09 +00:00
Isamu Mogi
97852d41dd vcl: Implement drawing CTRL_MENUBAR and PART_MENU_ITEM on KDE
Currently, menubar's background is drawn in window's background color
and no menubar's specific background color. To fix this, The patch
calls QStyle::drawControl() with QStyle::CE_MenuBarEmptyArea.

Change-Id: I89b9decc016a926a0f00b9663ec1a5bce81daac1
Reviewed-on: https://gerrit.libreoffice.org/4025
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-05-27 06:01:17 +00:00
Isamu Mogi
762151c359 vcl: Add sink effect (QStyle::State_Sunken) to menubar on KDE
A selected menubar item of cleanlooks, gtk+ and plastique styles
becomes closer to standard looks by passing QStyle::State_Sunken
with QStyle::CE_MenuBarItem to QStyle::drawControl(). It is
currently not documented on QT developmet resources. But these
styles interpret that.

Change-Id: Ic7835bf0bf7af374ebdf8330d15b462d056de8a5
Reviewed-on: https://gerrit.libreoffice.org/4017
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-05-27 06:00:45 +00:00
Markus Mohrhard
54fbbc20b8 respect element order in OOXML chart export, related fdo#63114
Change-Id: I591a63c38ab18b03a2f86428defbdac0cb96a1c0
2013-05-27 02:18:42 +02:00
Markus Mohrhard
911186d98f remove chart listener when chart is deleted, fdo#64639
Change-Id: I7ebf75f49c89edcb0bba3a597ba24ac1c0a655ef
2013-05-27 01:45:34 +02:00
Markus Mohrhard
8046f0b66e String to OUString and small stylistic clean-up
Change-Id: Ic479945c143d3dbd647078b17bcca9cab2ad3e5f
2013-05-27 01:45:34 +02:00
Ariel Constenla-Haile
16db62a9c0 Recent file list: small fix when no documents
(cherry picked from commit da18984094aa5ae4a66731bf581103298b133738)

Change-Id: I56413b68d28b206212561dcbf662940862cebeb7
2013-05-26 20:39:03 +01:00
Ariel Constenla-Haile
1e85fc5b2d svt::ToolboxController clean-up
Some small clean-up to use the PopupMenu ToolbarController

(cherry picked from commit e1687ce159e787d98f79d29a3d2131cca4b6ec71)

Conflicts:
	svtools/inc/svtools/toolboxcontroller.hxx
	svtools/source/uno/toolboxcontroller.cxx

Change-Id: Ie5e0397c32352d52cf2664bdbab920923e74bd03
2013-05-26 20:39:02 +01:00
Joren De Cuyper
f45cad5126 Delete double whitespace in optsecuritypage.ui
Found this double whitespace during translations. So lets fix it right away.

Change-Id: Ifecfc15b5d0aead34b09df4cfb2c5a2c17c6b633
Reviewed-on: https://gerrit.libreoffice.org/4040
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2013-05-26 17:12:59 +00:00
Sun Ying
28f2af669f Resolves: #i119866# ppt default outline area bullet lost
Reported by: Li Feng Wang
Patch by: Ying Sun
Review by: Jian Yuan Li
(cherry picked from commit 8d04823a6038d32f6ac9821925616da7c5cc44c9)

Conflicts:
	filter/inc/filter/msfilter/svdfppt.hxx
	sd/source/filter/ppt/pptin.cxx

Change-Id: I222003a9e8d474ebc4dd9bc83cdcceded88a79f4
2013-05-26 15:14:07 +01:00
Andras Timar
87e83a2c9e typo + branding: s/LiberOffice/%PRODUCTNAME/
Change-Id: I8007b4b1b1d620c05c9977d7bd3b8eb28b77f2be
2013-05-26 14:36:54 +02:00
Zolnai Tamás
1cb50dc6ec Escape quotes during stringex export
Change-Id: If53afd3743f44bcfffab33122657d14c0f4aba1e
2013-05-26 08:57:48 +02:00
Thomas Arnhold
5ccdfd28bf fix OUString conversion
no idea why hgminchob and hgpminchob are/were not handled this way.

Change-Id: Ia69ab790cc961645a806d971ddc4238d8288b573
2013-05-26 08:20:09 +02:00
Sean Young
3475ca1ad9 fix OUString conversion
This used to be equalsAscii( "hg", 0, 2 ) before conversion.

Fixes 7d1f4cdec3

Change-Id: I2cf61d88c79b3ab33c0ee7d077ee65b16053c05c
Reviewed-on: https://gerrit.libreoffice.org/4035
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-05-26 06:15:19 +00:00
Andras Timar
0bfb9e9334 Updated core
Project: translations  7db61e0f23b962f97e9246e0a8fb60e47fff0ac9
2013-05-26 06:05:12 +00:00
Zolnai Tamás
f21a2374dc Fix some escaping bug in l10ntools
1. A typo in export.cxx makes not working replacing
2. EscapeAll() ignored single backlash characters

Change-Id: I1a5309778acdd601391f643ebf3c66d04a6601d4
2013-05-25 22:23:57 +02:00
Miklos Vajna
dc54d78398 SwFlowFrm: rename member variables missing their prefix
Change-Id: Id7d1271408232e37aa23373dcd1ae6872ac8574b
2013-05-25 19:55:39 +02:00
Andras Timar
7a3ddcc0a6 gsicheck is no more
Change-Id: I4b70690073247ebb9dde35370630b568568821d3
2013-05-25 18:18:31 +02:00
Andras Timar
05eaada40d translatable="yes" for some elements in .ui files
Change-Id: I915cd6e73f907850f17b102c7860a827b91eef37
2013-05-25 17:27:29 +02:00
David Tardon
3f42e3196f blind attempt to unbreak android build
Change-Id: I633568f2bfd2af6b14f8bcc192cd2fcc32521131
2013-05-25 17:07:32 +02:00
Fridrich Štrba
989da70779 Uploading libwps 0.2.9
Change-Id: I3307208226ffa8bc06e7b860d10e92c9a6e04758
Reviewed-on: https://gerrit.libreoffice.org/4033
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-05-25 13:37:32 +00:00
Jian Fang Zhang
853a7ae81d Resolves: #i120746# FormScriptingEnvironment is never released
when created in the FmXUndoEnvironment ctor it is never released

Found by: zhangjf
Patch by: zhangjf
(cherry picked from commit d52fc99575db0d30b19a69dadcd2c3544584ecab)

Change-Id: Iaeba1018551441f3bb13f90d3d42ac2855e285e6
2013-05-25 13:28:12 +01:00
Herbert Dürr
a6659d6df6 provide complete types of some SdrCustomShapeGeometryItem functors...
before they are used

(cherry picked from commit 7d6c5e79a17aa2ff392433667187c4bfe4ee2432)

Conflicts:
	svx/inc/svx/sdasitm.hxx
	svx/source/items/customshapeitem.cxx

Change-Id: Iac3e37bcfd4ab26d97411092259da2cc1879c2de
2013-05-25 13:28:11 +01:00
Herbert Dürr
1fb61b8713 provide complete types of FragmentHandler and RecordInfo before they are used
(cherry picked from commit c73bc9587bdcf6a5d3add454fe3383fc9d2c1e65)

Conflicts:
	oox/inc/oox/core/recordparser.hxx

Change-Id: I6deecaabe32d4b071a83ce4687f83543354ddac2
2013-05-25 13:28:11 +01:00
Andras Timar
88bec26955 typo: s/Toolbare/Toolbars/
Change-Id: Id9311252ced86df661f9219fe74478e69d9219ac
2013-05-25 13:49:37 +02:00
Andras Timar
4d08f1a49d typo: s/recommanded/recommended/
Change-Id: I4a22f856b993ef09556fcf921aa1f01be322cd4b
2013-05-25 13:48:42 +02:00
Khaled Hosny
753f572197 Fix fdo#64972 - strikethrough displays too high
I was calculating the leading before setting the ascent and descent,
oops.

Change-Id: Ic58ecb1a65cb33715ea06f5e3214c4acbcff1e40
2013-05-25 13:25:19 +02:00
Caolán McNamara
88b8bd644e Resolves: #i119874 Fixed text alignment in RTL layout
This reverts commit 979def8809,
this time manually confirmed that the import layout does change, but that it
appears to be all desirable changes

Change-Id: Iee5e5ebd16989f65569b02f8b4f6570985157dfc
2013-05-25 12:11:51 +01:00
Herbert Dürr
0cc228354f use XShapeHash type to make this *_map compatible...
with the corresponding TR1 container

The TR1 containers don't support dynamic hash functions provided in their
constructor.  Having the hash functor as part the hash container's type is
cleaner anyway.

(cherry picked from commit fb8df93381493dee3d0e511c556d82d1f177367a)

Conflicts:
	animations/source/animcore/targetpropertiescreator.cxx

Change-Id: I51ae91ef74002cbc8f24cd5f4df7dda58e1c4f8d
2013-05-25 12:11:51 +01:00
Khaled Hosny
0e53377012 Revert "Fix improper glyph positioning with old fonts"
This reverts commit cef3f3aac2f7a372e796deac4ee3e8155c5eb697.

The previous commit addressed the real issue.

Change-Id: I802e5f19e4a4991c316135f3984a1b9a6533a104
2013-05-25 12:10:25 +02:00
Khaled Hosny
4f3d63efb5 A hack to fix mark placement in old fonts
We need a way to recognize non spacing marks in fonts lacking GDEF table
(like old Arabic fonts), so I just check for zero advance width and hope
nothing elsewhere will break...

Change-Id: I6fa848e97ba24d71fc9a381ae439e0fb98e50419
2013-05-25 12:10:25 +02:00
Stephan Bergmann
e36f83d81c Revert "fdo#46808, Convert awt::UnoControlDialogModel to new style"
This reverts commit 6c61b20a8d.  As discussed at
<http://lists.freedesktop.org/archives/libreoffice/2013-May/052449.html> "Re:
fdo#46808, Convert awt::UnoControlDialogModel to new style problem" why the odd
change in 2e2a4827ce "scripting: get
CreateUnoDialog() work again" appears to fix things again:

  The problem is that the implementation of the css.awt.UnoControlDialogModel
  involves UNO aggregation
  (IMPL_CREATE_INSTANCE_WITH_GEOMETRY(UnoControlDialogModel) in
  toolkit/soruce/helper/registerservices.cxx creating a
  OGeometryControlModel<UnoControlDialogModel> instance that aggregates a
  UnoControlDialogModel instance).  That means that queryInterface can return a
  reference to something that is technically a different object, and that's
  what's happening here, and explains why calling setPropertyValue in two
  different ways on what logically appears to be a single object can end up
  calling two different implementations (of two different physical objects).
  (UNO aggregation is known to be broken and should not be used.  Nevertheless,
  there's still code that does---code that is a horrible mess and hard to clean
  up.)

  That all this worked as intended in the past is just sheer luck, but any
  way of substantially touching it is asking for trouble.  I'm going to
  revert 6c61b20a8d again.

I wasn't able to revert without also reverting
be50ad28f5 "fdo#46808, Convert
awt::XUnoControlDialog to new style," as the two were tightly dependant.  Also
reverts all the follow-up fixes cb4b6dde8f
"-Werror,-Wuninitialized" (sans the const-ness fix in
UpdateHandler::insertControlModel), 697a007c61
"Fix exception specifications," 2ce6828bbb "fix
awt::UnoControlModelDialog crash," and 2e2a4827ce
"scripting: get CreateUnoDialog() work again."

Conflicts:
	basctl/source/dlged/dlged.cxx
	filter/source/t602/t602filter.cxx
	xmlscript/test/imexp.cxx

Change-Id: I5d133468062f3ca36300db52fbd699be1ac72998
2013-05-25 11:45:47 +02:00
David Tardon
aaff3ae833 i did not intend to commit this
Change-Id: I4cecd0105156adeb65bf1d42c3b26f8ad669a52b
2013-05-25 10:28:36 +02:00