LibreOffice.git
9 years agoVersion 4.0.3.2, tag libreoffice-4.0.3.2libreoffice-4.0.3.2
Petr Mladek [Tue, 30 Apr 2013 12:54:23 +0000 (30 14:54 +0200)]
Version 4.0.3.2, tag libreoffice-4.0.3.2

Change-Id: I302bf984363c10f59c3d2232c47b2404662a30b3

9 years agobump product version to 4.0.3.2, release number to 2
Petr Mladek [Tue, 30 Apr 2013 12:49:47 +0000 (30 14:49 +0200)]
bump product version to 4.0.3.2, release number to 2

Change-Id: Ifa6c055daa75355fad59126b7217c6af6998481f

9 years agofdo#62815 - tolerate crazy / out-of-bound ScreenNumbers for FullScreen
Michael Meeks [Tue, 30 Apr 2013 10:19:56 +0000 (30 11:19 +0100)]
fdo#62815 - tolerate crazy / out-of-bound ScreenNumbers for FullScreen

Thus making the gtk+ backend more similar to the generic backend
in this regard; also be more strict about invalid monitors -> empty
screens.

Change-Id: Ia4f2e1205cb1d309fb1bb01f9631167339a3478e
Signed-off-by: Petr Mladek <pmladek@suse.cz>
Reviewed-on: https://gerrit.libreoffice.org/3695
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
9 years agofdo#58949 EmbeddedObjectContainer: guard against embed::WrongStateException
Miklos Vajna [Fri, 26 Apr 2013 09:46:57 +0000 (26 11:46 +0200)]
fdo#58949 EmbeddedObjectContainer: guard against embed::WrongStateException

The problem was that in case an exception was thrown, it was only caught
outside the loop, so in case any error occurred, we didn't even try to
export the remaining objects. At least in case of
embed::WrongStateException, this is safe to do.

(cherry picked from commit 6238cfe27f0a202f3fbf482cde2b0a3189adc86f)

Change-Id: I71a7abc45a89bebc667664bc001245bb886a8d83
Reviewed-on: https://gerrit.libreoffice.org/3624
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Reviewed-on: https://gerrit.libreoffice.org/3658
Tested-by: Petr Mladek <pmladek@suse.cz>
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
Reviewed-by: Petr Mladek <pmladek@suse.cz>
9 years agofixed out of bounds vector access
Eike Rathke [Tue, 23 Apr 2013 16:09:43 +0000 (23 18:09 +0200)]
fixed out of bounds vector access

in ScColumn::FindNextVisibleRowWithContent() if starting from the
position all including the last present cell of a column are blank

Change-Id: I0270331444f1707b6ad413f6127ae4c2cf0b1984
(cherry picked from commit 3874bad70ea48deed91b9966b3d35782b5584f7d)
Reviewed-on: https://gerrit.libreoffice.org/3585
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Reviewed-by: Tor Lillqvist <tml@iki.fi>
Tested-by: Tor Lillqvist <tml@iki.fi>
Tested-by: Petr Mladek <pmladek@suse.cz>
Reviewed-by: Petr Mladek <pmladek@suse.cz>
9 years agoUploading new fresh wonderful libvisio-0.0.26
Fridrich Štrba [Mon, 22 Apr 2013 09:53:32 +0000 (22 11:53 +0200)]
Uploading new fresh wonderful libvisio-0.0.26

The release fixes several instances of data loss during conversion:
  * Fix missing WMFs in some Visio files
  * Don't truncate end of the text
and some problems with text encoding and display:
  * Use ICU for text encoding conversions
  * Honour the "HideText" property

(cherry picked from commit 105bb26e53049a317a43c13ebd9f706df760f27f)

Conflicts:
download.lst
libvisio/ExternalProject_libvisio.mk

Reviewed-on: https://gerrit.libreoffice.org/3552
Reviewed-by: Michael Meeks <michael.meeks@suse.com>
Tested-by: Michael Meeks <michael.meeks@suse.com>
(cherry picked from commit 0deb04fb8613c8aaf1ca9154b5ac53c0e0889d40)

Change-Id: I00f18e64f60358f826720cc8d6af36c77a98a062
Reviewed-on: https://gerrit.libreoffice.org/3601
Reviewed-by: Tor Lillqvist <tml@iki.fi>
Tested-by: Tor Lillqvist <tml@iki.fi>
Reviewed-by: Petr Mladek <pmladek@suse.cz>
Tested-by: Petr Mladek <pmladek@suse.cz>
9 years agoUpdated core
Andras Timar [Mon, 29 Apr 2013 08:59:40 +0000 (29 10:59 +0200)]
Updated core
Project: translations  acec6a171fc07b4c18ad94981cd613ddd3f128f1

9 years agofdo#59259: Suppress the expensive parts when we are only writing to metafile.
Jan Holesovsky [Wed, 24 Apr 2013 14:15:19 +0000 (24 16:15 +0200)]
fdo#59259: Suppress the expensive parts when we are only writing to metafile.

When we are launching the printing dialog, we first draw the page using
drawinglayer to a metafile, and then render the metafile.  Unfortunately, here
we did the real operation of allocating large bitmaps, and destroying them
again; all that just to throw all that away at the end of the operation.

The preview sets the mbOutput to false correctly, so we can just skip the
expensive parts.

Change-Id: Ice77d83100eba339602bbdf374fec8546d4d1e12
Reviewed-on: https://gerrit.libreoffice.org/3597
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
9 years agofdo#60280: sw: restore anti-aliasing for all OLE objects
Michael Stahl [Tue, 23 Apr 2013 20:27:57 +0000 (23 22:27 +0200)]
fdo#60280: sw: restore anti-aliasing for all OLE objects

The OLE case in SwNoTxtFrm::PaintPicture() was mis-merged to modify the
anti-aliasing always but reset it only for Charts.

(regression from 44cfc7cb6533d827fd2d6e586d92c61d7d7f7a70)

Change-Id: I0d740e621c3fd71f308d980581edb3c16308c06e
(cherry picked from commit 954d695827431a5badd1a993d8f364c669ca9c9c)
Reviewed-on: https://gerrit.libreoffice.org/3589
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
(cherry picked from commit f3e8a9649ac653eafaf8c5fa57e20d3dbe90d82c)
Reviewed-on: https://gerrit.libreoffice.org/3594
Reviewed-by: Eike Rathke <erack@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
9 years agofixed a mess of out of bounds string accesses
Eike Rathke [Mon, 22 Apr 2013 21:06:50 +0000 (22 23:06 +0200)]
fixed a mess of out of bounds string accesses

(cherry picked from commit 5cd4300f7ffc24d6bc0ed5704f37a04852fd322b)

Conflicts:
svl/source/numbers/zformat.cxx

Change-Id: I800840e1b3c0d97a049b3ceba0ec244365dc8e6b
Reviewed-on: https://gerrit.libreoffice.org/3563
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Reviewed-by: Andras Timar <atimar@suse.com>
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
9 years agofdo#40100 make function YEARFRAC comply with ODFF Version1.2
Winfried Donkers [Sat, 13 Apr 2013 17:47:10 +0000 (13 19:47 +0200)]
fdo#40100 make function YEARFRAC comply with ODFF Version1.2

Reviewed-on: https://gerrit.libreoffice.org/3375
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
(cherry picked from commit 275e68d141179272258d03194d799495fa3dec4a)

Conflicts:
scaddins/source/analysis/analysishelper.cxx
scaddins/source/analysis/analysishelper.hxx

Change-Id: Ief5e5c89b7fb69fb9849cf2d6efe2b4c5b7f5391
Signed-off-by: Eike Rathke <erack@redhat.com>
(cherry picked from commit bd9238f3fe4bd004cb77e89813eb730e1e865667)
Reviewed-on: https://gerrit.libreoffice.org/3554
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
9 years agoPersonas: Now they are called 'Themes', and changed location.
Jan Holesovsky [Fri, 19 Apr 2013 13:56:38 +0000 (19 15:56 +0200)]
Personas: Now they are called 'Themes', and changed location.

Updated the URL's + the code that works with them & parses the page
accordingly.

Change-Id: Iba1414c749bdf227b3945162da83e3d35ce86244
Reviewed-on: https://gerrit.libreoffice.org/3483
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
9 years agoRevert "svformatter already accept OUString input", fdo#63306
Eike Rathke [Thu, 18 Apr 2013 20:53:00 +0000 (18 22:53 +0200)]
Revert "svformatter already accept OUString input", fdo#63306

This reverts commit c5e5699c80cfb32a164696a2c5144b5ccb0a91a9.

And adapts to OUString.

Conflicts:
basic/source/runtime/runtime.cxx

Change-Id: Icd7c1e1e57162eefb1f3631aa5509fd3a09c9b08
(cherry picked from commit 1ef2cce787df3d254a78ebdb469fb06668f350f4)
Reviewed-on: https://gerrit.libreoffice.org/3469
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Reviewed-by: Andras Timar <atimar@suse.com>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
9 years agoRemove the 4th option from the pivot table source selection dialog.
Kohei Yoshida [Tue, 16 Apr 2013 01:30:18 +0000 (15 21:30 -0400)]
Remove the 4th option from the pivot table source selection dialog.

Change-Id: I39ed1a9fd0476506cac0852af63182075f433ffd
Reviewed-on: https://gerrit.libreoffice.org/3402
Reviewed-by: Petr Mladek <pmladek@suse.cz>
Tested-by: Petr Mladek <pmladek@suse.cz>
Reviewed-on: https://gerrit.libreoffice.org/3419
Reviewed-by: Eike Rathke <erack@redhat.com>
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
9 years agobump product version to 4.0.3.1+, release number to 1
Petr Mladek [Tue, 16 Apr 2013 14:20:03 +0000 (16 16:20 +0200)]
bump product version to 4.0.3.1+, release number to 1

Change-Id: I72da57cfba66c0fabbe991c0a74466abfd669b37

9 years agoBranch libreoffice-4-0-3
Petr Mladek [Tue, 16 Apr 2013 13:08:05 +0000 (16 15:08 +0200)]
Branch libreoffice-4-0-3

This is 'libreoffice-4-0-3' - the stable branch for the 4.0.3 release.
Only very safe changes, reviewed by three people are allowed.

If you want to commit more complicated fix for the next 4.0.x release,
please use the 'libreoffice-4-0' branch.

If you want to build something cool, unstable, and risky, use master.

Change-Id: I1f6ff6d731a7237d38f310e09c9c6c237f41e493

9 years agofollow on fix for fdo#62090 ensure out of range startpos is handled
Noel Power [Tue, 19 Mar 2013 15:59:21 +0000 (19 15:59 +0000)]
follow on fix for fdo#62090 ensure out of range startpos is handled

Change-Id: Ic1f57480a36415998748faeea3b606a47d277181
(cherry picked from commit 0054b438013ef412c2df3b7ebe93dd1935ec07af)
Reviewed-on: https://gerrit.libreoffice.org/3409
Reviewed-by: Petr Mladek <pmladek@suse.cz>
Tested-by: Petr Mladek <pmladek@suse.cz>
9 years agofix for fdo#62090 Mid function regression
Julien Nabet [Tue, 19 Mar 2013 15:43:07 +0000 (19 15:43 +0000)]
fix for fdo#62090 Mid function regression

Change-Id: Ia6a73d6a44a34345b512922037d01b8b40ac24a8
(cherry picked from commit 14d452d0c2874f47f0b6ac1cd1c725195d5d69a9)
Reviewed-on: https://gerrit.libreoffice.org/3408
Reviewed-by: Petr Mladek <pmladek@suse.cz>
Tested-by: Petr Mladek <pmladek@suse.cz>
9 years agofdo#61193 fix crash on RTF paste of footnote
Miklos Vajna [Mon, 15 Apr 2013 18:37:52 +0000 (15 20:37 +0200)]
fdo#61193 fix crash on RTF paste of footnote

Regression from 232ad2f2588beff50cb5c1f3b689c581ba317583.

(cherry picked from commit e7664052d6693598e773f4c9dd6b819213d80d60)

Change-Id: Ia0873851979df5bba0a4693f044aab2aeff2b8e4
Reviewed-on: https://gerrit.libreoffice.org/3404
Reviewed-by: Petr Mladek <pmladek@suse.cz>
Tested-by: Petr Mladek <pmladek@suse.cz>
9 years agoUpdated core
Andras Timar [Mon, 15 Apr 2013 16:39:22 +0000 (15 18:39 +0200)]
Updated core
Project: translations  a2cdadbfe89f544f7a5d0c9e0259ed7dbafd5bc6

9 years agoUpdated core
Andras Timar [Mon, 15 Apr 2013 14:44:07 +0000 (15 16:44 +0200)]
Updated core
Project: translations  1029459c30d7c8b6672961ae83f407acca8ced71

9 years agofdo#52179 on copy kb-shortcut, from *current* row, not last painted row (!)
Lionel Elie Mamane [Sun, 14 Apr 2013 07:37:00 +0000 (14 09:37 +0200)]
fdo#52179 on copy kb-shortcut, from *current* row, not last painted row (!)

Change-Id: I39be862abb7c72234adad9c517d4a0570a1d71ae
Reviewed-on: https://gerrit.libreoffice.org/3378
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
9 years agopgsql-sdbc: ResultSetMetaData::getTableName return tablename (without schema)
Lionel Elie Mamane [Wed, 10 Apr 2013 15:15:23 +0000 (10 17:15 +0200)]
pgsql-sdbc: ResultSetMetaData::getTableName return tablename (without schema)

Change-Id: I319ba91045fa43922d7b694a4f13322295590c81
Reviewed-on: https://gerrit.libreoffice.org/3343
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
9 years agopgsql-sdbc: set tablename even if we do not know the schema
Lionel Elie Mamane [Wed, 10 Apr 2013 15:16:27 +0000 (10 17:16 +0200)]
pgsql-sdbc: set tablename even if we do not know the schema

Change-Id: I74c04e1262cc413696a12aca9af603beded7b07f
Reviewed-on: https://gerrit.libreoffice.org/3342
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
9 years agoreportbuilder: do not use empty tablename
Lionel Elie Mamane [Wed, 10 Apr 2013 16:03:58 +0000 (10 18:03 +0200)]
reportbuilder: do not use empty tablename

Change-Id: I03ed5e810468ee206820a250c740b80c0ceda432
Reviewed-on: https://gerrit.libreoffice.org/3341
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
9 years agoRemove thumbnail from local view if we erase it throught the search view.
Rafael Dominguez [Wed, 10 Apr 2013 15:06:09 +0000 (10 10:36 -0430)]
Remove thumbnail from local view if we erase it throught the search view.

Change-Id: I3ec486313bedcc633b020a2feea3d30730da98f0
Reviewed-on: https://gerrit.libreoffice.org/3354
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
9 years agoSet Template Manager dialog minimum size.
Rafael Dominguez [Wed, 10 Apr 2013 14:55:31 +0000 (10 10:25 -0430)]
Set Template Manager dialog minimum size.

Change-Id: I2d30bf2c3fb33b8297477f80704aa057911a2bba
Reviewed-on: https://gerrit.libreoffice.org/3353
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
9 years agofdo#36858
Lionel Elie Mamane [Fri, 12 Apr 2013 16:54:45 +0000 (12 18:54 +0200)]
fdo#36858

1) No valueType (Format/Number/General) is like float valueType (Format/Number/any other)
2) We use 1/1/1900 as startdate for number-from-date, stick to it more consistently

Change-Id: Ib1008d1c30be602d8173457738c915087ed17391
Reviewed-on: https://gerrit.libreoffice.org/3363
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
9 years agoresolved fdo#63421 crash in pivot table with accessibility
Eike Rathke [Sat, 13 Apr 2013 14:15:24 +0000 (13 16:15 +0200)]
resolved fdo#63421 crash in pivot table with accessibility

The scenario of fdo#63421 (loading data and re-dragging the same field)
is not needed, simple data is sufficient and crash happened also when
dragging (removing) a field from a pane and dropping it anywhere else.

Multiple errors:
* getAccessibleChildCount() must return the real current count of
  children, not what mpFieldWindow says; AtkListener::updateChildList()
  uses this value to repopulate its own list; a child is added after it
  is added to mpFieldWindow but removed before it is removed from
  mpFieldWindow;
* LostFocus() uses an index of -1 if the last child was already removed
  and the field was dropped after dragging it away from a pane, handle
  that but it still does not look right
* RemoveField() called CommitChange() with
  AccessibleEventObject::NewValue set instead of OldValue, leading to
  AtkListener::handleChildAdded() being called instead of
  handleChildRemoved()

Apparently this never worked since 2002.

Change-Id: Idfb59d947002d2212bc67b414daecb65c55edae8
(cherry picked from commit 26114dcdf9d55a5a2490de6de619337e9733b0e2)
Reviewed-on: https://gerrit.libreoffice.org/3372
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
9 years agofdo#61142 mixup between size and length
Lionel Elie Mamane [Sun, 14 Apr 2013 23:27:39 +0000 (15 01:27 +0200)]
fdo#61142 mixup between size and length

Change-Id: Ia2903d5139378e97bb2e8d00ccb2c213d3e1dee6
Reviewed-on: https://gerrit.libreoffice.org/3385
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
9 years agoInitialize nFilter
Julien Nabet [Fri, 29 Mar 2013 06:18:05 +0000 (29 07:18 +0100)]
Initialize nFilter

Change-Id: I9a8606a0d6ca36fd6f51267ea385f7fbe874d6d5
(cherry picked from commit 9f27436b84a1ae0ce2689ef27f81698ab9f3642e)

Signed-off-by: Eike Rathke <erack@redhat.com>
9 years agosomewhat blind wae fix ( doesn't happen for me )
Noel Power [Fri, 5 Apr 2013 20:02:16 +0000 (5 21:02 +0100)]
somewhat blind wae fix ( doesn't happen for me )

Change-Id: Ia9b260c8bf2dc948f155fb89f0b5d960f9aada6f
(cherry picked from commit 9c79ec29dba9dbdc6dc56f6e83b09f5176821768)

Signed-off-by: Eike Rathke <erack@redhat.com>
9 years agofdo#47018 Impress crashes when modifying bullet
Cao Cuong Ngo [Wed, 10 Apr 2013 18:41:54 +0000 (10 20:41 +0200)]
fdo#47018 Impress crashes when modifying bullet

Default numbering rules shouldn't be left zero nor hard-coded.

Reviewed-on: https://gerrit.libreoffice.org/3312
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
(cherry picked from commit 5785db93c5739846fb0a84b138be485044d4bda5)

Conflicts:
sd/source/core/drawdoc4.cxx
sd/source/core/stlpool.cxx

Change-Id: I8a34331006abf3de8c170f8dca43ccf9cec92f04

9 years agowork around fdo#62147
Lionel Elie Mamane [Wed, 10 Apr 2013 15:49:53 +0000 (10 17:49 +0200)]
work around fdo#62147

don't emit string-value attribute

Change-Id: I3668b88437451523f2b6bb3c2c82e1929f7ba3d8
Reviewed-on: https://gerrit.libreoffice.org/3311
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
9 years agoResolves: fdo#48039 use same algorithm for assigning get/set replacement ids
Caolán McNamara [Thu, 11 Apr 2013 19:57:49 +0000 (11 20:57 +0100)]
Resolves: fdo#48039 use same algorithm for assigning get/set replacement ids

i.e. use the same algorithm for assigning replacement ids for both get and set
exp fields.

Otherwise, consider for ex.
1. fields exists with ids of 1 and 2 in master document
2. a field exists with id of 1 in subdocument and must be reassigned a new
id to not collide with the pre existing master ids

In get orig algorithm assigned first unused slot of master to subdocument field
i.e. 0 unused in master, so subdocument:1 converted to master:0

In set orig algorithm sorted all used master slots and assigned largest used id
plus 1 (therefore unused) to subdocument field i.e. largest id used in master is
2, so subdocument:1 converted to master:3

so get can't find set and error's out with:
Error: Reference source not found

Change-Id: Ie8758dc22cf8deeeeff079532284e57eeaf4a9bd
(cherry picked from commit 74d942fb2396a268adfcc915e75b8b32fae851dc)
Reviewed-on: https://gerrit.libreoffice.org/3346
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
9 years agofdo#51828 - UI: Sort: can use more than 3 criteria once only
Albert Thuswaldner [Sat, 6 Apr 2013 19:43:48 +0000 (6 21:43 +0200)]
fdo#51828 - UI: Sort: can use more than 3 criteria once only

Change-Id: I7480e8d606e1eafde45635e36dfafa4232f529cb
Reviewed-on: https://gerrit.libreoffice.org/3217
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-on: https://gerrit.libreoffice.org/3350
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
9 years agoprevent vector and sequence out of bounds access, fdo#60300
Eike Rathke [Thu, 11 Apr 2013 14:50:15 +0000 (11 16:50 +0200)]
prevent vector and sequence out of bounds access, fdo#60300

This fixes the symptom of the crash but not the underlying cause why a
subtotal count would be wrong.

(cherry picked from commit 8bd3be9915ff28458d010fc8f0a1a1ab66d730b0)

Conflicts:
sc/source/core/data/dpoutput.cxx

Change-Id: I3782b5e39f18bc65ffe510b847ffa7969a26cd37
Reviewed-on: https://gerrit.libreoffice.org/3340
Reviewed-by: Kohei Yoshida <kohei.yoshida@gmail.com>
Tested-by: Kohei Yoshida <kohei.yoshida@gmail.com>
9 years agoprevent out of bounds vector access in ooo62493-1.xls recalculation
Eike Rathke [Thu, 11 Apr 2013 13:24:38 +0000 (11 15:24 +0200)]
prevent out of bounds vector access in ooo62493-1.xls recalculation

The document https://issues.apache.org/ooo/attachment.cgi?id=34418
attached to https://issues.apache.org/ooo/show_bug.cgi?id=62493 crashes
in a dbgutil build due to an invalid subtotal count that leads to an out
of bounds access in a vector, in this case with offset -1

This fixes the symptom, not the cause why the subtotal count would be
wrong.

Change-Id: If96c2eadba8753ea3e3166db0a81441818c89b2d
(cherry picked from commit 58885eda4f15913fc46243dab726632f5904aab5)
Reviewed-on: https://gerrit.libreoffice.org/3336
Reviewed-by: Kohei Yoshida <kohei.yoshida@gmail.com>
Tested-by: Kohei Yoshida <kohei.yoshida@gmail.com>
9 years agoResolves: fdo#62287 avoid a crash on OSX on reusing a dead AquaSalFrame
Caolán McNamara [Wed, 11 Jul 2012 13:13:24 +0000 (11 13:13 +0000)]
Resolves: fdo#62287 avoid a crash on OSX on reusing a dead AquaSalFrame

part 1 of 3:

Resolves: #i120237# workaround a crash on OSX...

when a VirtualDevice is reused that was created for a now dead window

regression was introduced by the changes for #i116758#

Patch-By: Herbert Duerr
Suggested-By: Herbert Duerr
Found-By: Herbert Duerr
(cherry picked from commit 6550c7c0595670c10e340e2c7b41be7e128af40a)

(cherry picked from commit 5333d295225e4cf961e03ea8bf2fd1e2f9d168bc)

part 2 of 3:

Related: #i120237# cache the updated frame reference in AquaSalGraphics

(cherry picked from commit 6e4214e604f8aa86b08a7fbe315a80d7751ffc2d)

(cherry picked from commit ef4b5aad82da7133e89e37e3e04791398d6fb3a6)

part 3 of 3:

Related: fdo#62287 make it impossible to use a dead AquaSalFrame

(cherry picked from commit 43a23fb3f8f1ffa4937658dd9393d23533b84d18)

d10d49737ba773e95a3198997e25fbfd98708f65
e56a41e901ea26d5ea946260bdf25a903185be99

Change-Id: I1a813f128ad16e6eb840b22fbd14af49b34e11d0
Reviewed-on: https://gerrit.libreoffice.org/3295
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
9 years agoodk: fix packaging of purpenvhelper import lib on WNT
Michael Stahl [Wed, 10 Apr 2013 12:59:12 +0000 (10 14:59 +0200)]
odk: fix packaging of purpenvhelper import lib on WNT

This import lib was apparently renamed in LO 3.6 and the crappy dmake
build system in odk silently dropped it from the packages.
This problem was fixed differently on master by converting the module to
gbuild.

Change-Id: Ib07e1472815b7d068cd718f6c733630fd59639d2
Reviewed-on: https://gerrit.libreoffice.org/3307
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
9 years agoresolved fdo#63403 do not create matrix with 0 rows or cols
Eike Rathke [Wed, 10 Apr 2013 23:29:22 +0000 (11 01:29 +0200)]
resolved fdo#63403 do not create matrix with 0 rows or cols

Change-Id: Icb0000bde3723c1b37713d0f26ef8305c4a199b8
(cherry picked from commit 7c3ab3bc15cec211767490823539efcada4fe964)
Reviewed-on: https://gerrit.libreoffice.org/3321
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
9 years agofdo#63350 math: move stardard toolbar to the left
Thomas Arnhold [Wed, 10 Apr 2013 02:48:01 +0000 (10 04:48 +0200)]
fdo#63350 math: move stardard toolbar to the left

Change-Id: Ibadd1dff90383fb0a285a9cb94cc0050906e3f24
Reviewed-on: https://gerrit.libreoffice.org/3324
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
9 years agofdo#39066: using UNO_QUERY instead of UNO_QUERY_THROW displays hyperlinks
Chr. Rossmanith [Tue, 9 Apr 2013 19:39:38 +0000 (9 21:39 +0200)]
fdo#39066: using UNO_QUERY instead of UNO_QUERY_THROW displays hyperlinks

Change-Id: Iafa9e273c009fe0772a9401b47b51738dc235a13
Reviewed-on: https://gerrit.libreoffice.org/3296
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
(cherry picked from commit 7bcba4c910fa7eecf256a05a1f274f7b253e5fc5)
Reviewed-on: https://gerrit.libreoffice.org/3303
Reviewed-by: Noel Power <noel.power@suse.com>
Tested-by: Noel Power <noel.power@suse.com>
9 years agofdo#61389 - Display Properties, Set as default actions in save mode.
Rafael Dominguez [Mon, 8 Apr 2013 02:56:28 +0000 (7 22:26 -0430)]
fdo#61389 - Display Properties, Set as default actions in save mode.

It dosent make sense to display delete action since we are saving
a template same for edit.

Change-Id: I83368f80a29f60c8d24b47fe3682ca93a2373a98
Reviewed-on: https://gerrit.libreoffice.org/3301
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
9 years agoDisplay correct region name in error messages.
Rafael Dominguez [Mon, 8 Apr 2013 02:16:11 +0000 (7 21:46 -0430)]
Display correct region name in error messages.

Change-Id: Icf4149272f67df6681bdad711362dd7d3802d04a
Reviewed-on: https://gerrit.libreoffice.org/3300
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
9 years agoFetch thumbnails position and id from filter array instead."
Rafael Dominguez [Mon, 8 Apr 2013 01:47:51 +0000 (7 21:17 -0430)]
Fetch thumbnails position and id from filter array instead."

Change-Id: I35bd8b47eeba3e2f8e2ea74afbf1fe8e48390bab
Reviewed-on: https://gerrit.libreoffice.org/3299
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
9 years agoUpdate template item path when moving it to another folder.
Rafael Dominguez [Mon, 8 Apr 2013 01:46:55 +0000 (7 21:16 -0430)]
Update template item path when moving it to another folder.

Change-Id: I4de701e32dfe1244ba29704633d7d15f829a9e7a
Reviewed-on: https://gerrit.libreoffice.org/3298
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
9 years agoMark thumbnailview item as unselected when updating filter.
Rafael Dominguez [Sun, 7 Apr 2013 22:38:24 +0000 (7 18:08 -0430)]
Mark thumbnailview item as unselected when updating filter.

Change-Id: Ifc98603045364419a6f76316fea96c2e668c333e
Reviewed-on: https://gerrit.libreoffice.org/3297
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
9 years agoFix again n719988, n734733
Xisco Fauli [Mon, 8 Apr 2013 21:37:32 +0000 (8 23:37 +0200)]
Fix again n719988, n734733

Bullet should have same color as following text by default
Regression from bb3540a7cb6866a7b6c36cd71ea4bb9b0609d1e8

Change-Id: I007088db5bcb71e8d90d287b21762dca0dda9573

9 years agodisable cached value import for ODS for now, fdo#60215
Markus Mohrhard [Tue, 9 Apr 2013 14:54:02 +0000 (9 16:54 +0200)]
disable cached value import for ODS for now, fdo#60215

Change-Id: I714e75112727f5ebcd8cc55cf4f70dd15eb9b810
Reviewed-on: https://gerrit.libreoffice.org/3290
Reviewed-by: Kohei Yoshida <kohei.yoshida@gmail.com>
Tested-by: Kohei Yoshida <kohei.yoshida@gmail.com>
9 years agoResolves: fdo#61948 delayed delete deletes nothing under windows
Caolán McNamara [Tue, 9 Apr 2013 13:02:17 +0000 (9 14:02 +0100)]
Resolves: fdo#61948 delayed delete deletes nothing under windows

The reason there appears to be two dialogs, is because there
actually is. The original dialog doesn't get deleted under
windows.

If we use the actual returned type of the dialog here rather than a lower
baseclass then the right thing happens. Original code works under Linux but not
Windows.

Change-Id: Iaf99fa4e16f743b1f5a3d29f42a140491f3d67b0
(cherry picked from commit afb3af7ce5fef803d42a549095863e6bb8210ef2)
Reviewed-on: https://gerrit.libreoffice.org/3288
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
9 years agoResolves: rhbz#949238 div by zero on pagedown in 0 width task pane
Caolán McNamara [Mon, 8 Apr 2013 14:42:46 +0000 (8 15:42 +0100)]
Resolves: rhbz#949238 div by zero on pagedown in 0 width task pane

Change-Id: I2ee5e0b19db724adf94d699ce0af686648fb67e8
(cherry picked from commit 626bac2f5ccec91eb9962c700564381158f826bc)
Reviewed-on: https://gerrit.libreoffice.org/3277
Tested-by: David Tardon <dtardon@redhat.com>
Reviewed-by: David Tardon <dtardon@redhat.com>
9 years agofdo#49120 - Implementig XML_state
Irányossy Knoblauch Artúr [Sat, 6 Apr 2013 08:13:24 +0000 (6 10:13 +0200)]
fdo#49120 - Implementig XML_state

Change-Id: If4779aeb5301bb3e422ceb6a4029ddf5542ab03d
Reviewed-on: https://gerrit.libreoffice.org/3222
Reviewed-by: Németh László <nemeth@numbertext.org>
Tested-by: Németh László <nemeth@numbertext.org>
Signed-off-by: Andras Timar <atimar@suse.com>
9 years agoUpdated core
Andras Timar [Mon, 8 Apr 2013 10:15:34 +0000 (8 12:15 +0200)]
Updated core
Project: help  b56864919adc5b2c36b354e365c93964bb611dab

9 years agoUploading libcdr-0.0.12: fixing fdo#62538 and fdo#53278
Fridrich Štrba [Sun, 7 Apr 2013 20:15:09 +0000 (7 22:15 +0200)]
Uploading libcdr-0.0.12: fixing fdo#62538 and fdo#53278

Change-Id: Ia7121c5e77ac86941fc70e08d1c824a93e842aff
(cherry picked from commit 29339357cfba19e80c3687639fe33e847d3e6f93)
Reviewed-on: https://gerrit.libreoffice.org/3269
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
9 years agoUpdated core
Andras Timar [Mon, 8 Apr 2013 06:54:42 +0000 (8 08:54 +0200)]
Updated core
Project: help  e9b6ed7fb094f12207112cc0fffde5aea0c6dcb1

9 years agofdo#61390 - Thumbnail navigation by shift-click and shift-keyboard.
Rafael Dominguez [Sun, 7 Apr 2013 18:39:54 +0000 (7 14:09 -0430)]
fdo#61390 - Thumbnail navigation by shift-click and shift-keyboard.

Change-Id: I0b107d0918e1914709de31fd52cd11480e7fd419
Reviewed-on: https://gerrit.libreoffice.org/3260
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
9 years agoAvoid generating filter list several times.
Rafael Dominguez [Sat, 30 Mar 2013 21:56:03 +0000 (30 17:26 -0430)]
Avoid generating filter list several times.

- Only generate the list after applying a new filter function.
- Append item directly to the filtered list if its allowed when appending
a new item to the thumbnailview.

Change-Id: I408785507ef94908d31e4373b407e9d443f72895
Reviewed-on: https://gerrit.libreoffice.org/3259
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
9 years agoDont show import action while in save mode.
Rafael Dominguez [Sat, 30 Mar 2013 17:58:44 +0000 (30 13:28 -0430)]
Dont show import action while in save mode.

Change-Id: Iafe814382ed1b52c9119893851c98bd15812fa60
Reviewed-on: https://gerrit.libreoffice.org/3258
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
9 years agofdo#60844 Remember last open folder and filter in Template Manager.
Rafael Dominguez [Fri, 29 Mar 2013 04:03:59 +0000 (28 23:33 -0430)]
fdo#60844 Remember last open folder and filter in Template Manager.

Change-Id: I4513428e10aad9b8b5c0d739bd763fb2a1f0bf81
Reviewed-on: https://gerrit.libreoffice.org/3257
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
9 years agoPosition view below toolbox and search bar when resizing Template dialog.
Rafael Dominguez [Fri, 29 Mar 2013 02:10:17 +0000 (28 21:40 -0430)]
Position view below toolbox and search bar when resizing Template dialog.

Change-Id: I94806487f4cebde965652997a595c7263d710338
Reviewed-on: https://gerrit.libreoffice.org/3256
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
9 years agoDont reload template information after saving.
Rafael Dominguez [Fri, 29 Mar 2013 01:10:48 +0000 (28 20:40 -0430)]
Dont reload template information after saving.

Change-Id: Ib75bd4561581254f690e6dd4a2b83343c99d65af
Reviewed-on: https://gerrit.libreoffice.org/3255
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
9 years agoDisplay empty folders in Template Manager.
Rafael Dominguez [Thu, 28 Mar 2013 20:53:36 +0000 (28 16:23 -0430)]
Display empty folders in Template Manager.

Change-Id: I1cab8c78dc6dc3f1969cd2e4e8bcda0b684a4caa
Reviewed-on: https://gerrit.libreoffice.org/3254
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
9 years agoMake template thumbnail sizes appropiate to the content in them.
Rafael Dominguez [Thu, 28 Mar 2013 19:52:12 +0000 (28 15:22 -0430)]
Make template thumbnail sizes appropiate to the content in them.

Change-Id: I785a351a5a936a42b56081a868c01d97e0a6105f
Reviewed-on: https://gerrit.libreoffice.org/3253
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
9 years agoCalculate template thumbnail subtitle position to fit drawing area.
Rafael Dominguez [Thu, 28 Mar 2013 19:20:24 +0000 (28 14:50 -0430)]
Calculate template thumbnail subtitle position to fit drawing area.

Change-Id: Ieaf067f5182c9dc690d028cdc6ba5bc28ac8436f
Reviewed-on: https://gerrit.libreoffice.org/3252
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
9 years agoDeselect items when searching for templates to reset toolbars.
Rafael Dominguez [Thu, 28 Mar 2013 19:19:49 +0000 (28 14:49 -0430)]
Deselect items when searching for templates to reset toolbars.

Change-Id: I762762f5684287d06a046aca6d7160bce10e3653
Reviewed-on: https://gerrit.libreoffice.org/3251
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
9 years agoDeselect templates when closing the search view.
Rafael Dominguez [Thu, 28 Mar 2013 04:49:59 +0000 (28 00:19 -0430)]
Deselect templates when closing the search view.

Change-Id: If187b154a023a9364b6775270ce4c24377a98524
Reviewed-on: https://gerrit.libreoffice.org/3250
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
9 years agoShow search and extra buttons when a template is selected.
Rafael Dominguez [Thu, 28 Mar 2013 04:31:40 +0000 (28 00:01 -0430)]
Show search and extra buttons when a template is selected.

Change-Id: Ia3e97f3f540ab07725ae3871251aefe4ba3d5e2d
Reviewed-on: https://gerrit.libreoffice.org/3249
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
9 years agofdo#60581 Import templates into current directory.
Rafael Dominguez [Wed, 27 Mar 2013 22:49:53 +0000 (27 18:19 -0430)]
fdo#60581 Import templates into current directory.

Change-Id: I3dfec069c606e61fc49b44e36602804054ca1bca
Reviewed-on: https://gerrit.libreoffice.org/3248
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
9 years agofdo#60581 Display import templates only when its allowed.
Rafael Dominguez [Wed, 27 Mar 2013 21:33:02 +0000 (27 17:03 -0430)]
fdo#60581 Display import templates only when its allowed.

Change-Id: Iefe4fdd1484389d0bbbccecdca49e4c0061ec81e
Reviewed-on: https://gerrit.libreoffice.org/3247
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
9 years agoDisplay create template folder only when its allowed.
Rafael Dominguez [Wed, 27 Mar 2013 21:29:50 +0000 (27 16:59 -0430)]
Display create template folder only when its allowed.

Change-Id: I892cfd88907ac4588e882e3a89c4feb200ce6744
Reviewed-on: https://gerrit.libreoffice.org/3246
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
9 years agoUpdate search results when changing template type in Template Manager.
Rafael Dominguez [Wed, 27 Mar 2013 18:13:52 +0000 (27 13:43 -0430)]
Update search results when changing template type in Template Manager.

Change-Id: I52f79b5963e331332f02974dc739d631b9c359eb
Reviewed-on: https://gerrit.libreoffice.org/3245
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
9 years agoFilter search results by type and keyword in Template Manager.
Rafael Dominguez [Wed, 27 Mar 2013 18:08:57 +0000 (27 13:38 -0430)]
Filter search results by type and keyword in Template Manager.

Change-Id: I612b0b87340a50f0e5ec69ec4e8b2beba13cab36
Reviewed-on: https://gerrit.libreoffice.org/3244
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
9 years agoGet the correct region id view when saving a template.
Rafael Dominguez [Wed, 27 Mar 2013 17:24:37 +0000 (27 12:54 -0430)]
Get the correct region id view when saving a template.

Change-Id: If3a75fa2d64dd1c912bfa9a7f3ea96e5fd80e594
Reviewed-on: https://gerrit.libreoffice.org/3243
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
9 years agoFix moving selected search results in Template Manager.
Rafael Dominguez [Wed, 27 Mar 2013 04:39:18 +0000 (27 00:09 -0430)]
Fix moving selected search results in Template Manager.

Change-Id: I577f7cc9f56f5309cd6ebccdc73b4072a4ee91a3
Reviewed-on: https://gerrit.libreoffice.org/3242
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
9 years agoFix exporting selected search results in Template Manager.
Rafael Dominguez [Wed, 27 Mar 2013 04:12:11 +0000 (26 23:42 -0430)]
Fix exporting selected search results in Template Manager.

Change-Id: I60e517807fec797a99d2f182e41731d515d30dcc
Reviewed-on: https://gerrit.libreoffice.org/3241
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
9 years agoDelete the correct template from the selected search results.
Rafael Dominguez [Wed, 27 Mar 2013 03:37:57 +0000 (26 23:07 -0430)]
Delete the correct template from the selected search results.

Change-Id: I4a594e3c35d4c68da51421c92247b6687d163fe5
Reviewed-on: https://gerrit.libreoffice.org/3240
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
9 years agoFix deleting templates through Template Manager.
Rafael Dominguez [Wed, 27 Mar 2013 01:14:44 +0000 (26 20:44 -0430)]
Fix deleting templates through Template Manager.

Change-Id: I79c16eb264d957b510a8bf8ee2009e1f55190a0b
Reviewed-on: https://gerrit.libreoffice.org/3239
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
9 years agoSeparate template region ids from thumbnail ids.
Rafael Dominguez [Tue, 26 Mar 2013 23:30:11 +0000 (26 19:00 -0430)]
Separate template region ids from thumbnail ids.

- Update all actions to use the new system.

Change-Id: I8aa09a3317eff4cb083c8fc151ea2f93a5a971fe
Reviewed-on: https://gerrit.libreoffice.org/3238
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
9 years agofdo#62155 - band-aid crash from poor addin registration on upgrade
Michael Meeks [Fri, 5 Apr 2013 14:21:33 +0000 (5 15:21 +0100)]
fdo#62155 - band-aid crash from poor addin registration on upgrade

For some sadly unknown reason we get an exception traversing the
calc addins and crashing doesn't seem a great response to that.

Change-Id: I8d1eda7c8bab384817f19a86607c7035e4c3a8ab
Reviewed-on: https://gerrit.libreoffice.org/3212
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
9 years agoexport darken/darkeless/lighten/lightenless commands
Radek Doulik [Fri, 1 Feb 2013 11:25:23 +0000 (1 12:25 +0100)]
export darken/darkeless/lighten/lightenless commands

Change-Id: I4531ab82a52e3da41f12409185f7c0730381aa23

9 years agoexport subpath sizes (these are for example in pptx custom shape presets)
Radek Doulik [Thu, 31 Jan 2013 11:05:50 +0000 (31 12:05 +0100)]
export subpath sizes (these are for example in pptx custom shape presets)

Change-Id: Iab21d0845d0cb6e4dadeffb5f7b9ebab1e4b955a

9 years agoresolved fdo#63161 out of bounds string access
Eike Rathke [Fri, 5 Apr 2013 12:41:46 +0000 (5 14:41 +0200)]
resolved fdo#63161 out of bounds string access

Introduced with c7709b460394283fd5b1d2779b6af3585f80a991
String to OUString where previous String::GetChar() handled this.

Change-Id: I9253df1af7498e2d7a8ea8077ec6b369697ad44e
(cherry picked from commit d526e48912deeb44061ff570d715c31ca45f77b8)
Reviewed-on: https://gerrit.libreoffice.org/3211
Reviewed-by: Michael Meeks <michael.meeks@suse.com>
Tested-by: Michael Meeks <michael.meeks@suse.com>
9 years agofix selection change event firing
Noel Power [Thu, 4 Apr 2013 16:07:52 +0000 (4 17:07 +0100)]
fix selection change event firing

Change-Id: I64e8b684dd5462e1a742ba47b5480951b4e3a4c4
Reviewed-on: https://gerrit.libreoffice.org/3210
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
9 years agofix 'Visible' property for XControlShape(s) Foreach support for CommandBars
Noel Power [Fri, 29 Mar 2013 17:04:52 +0000 (29 17:04 +0000)]
fix 'Visible' property for XControlShape(s) Foreach support for CommandBars

Seems now we need to additionally set 'Visible' property for XControlShapes
to ensure correct visibility
Also we need allow 'For Each' syntax to with with CommandBar collection.
Note: the implementation of the CommandBar enumeration seems wrong, I
would have thought that it should match ( and share ) implementation
details with normal index access ( it doesn't )

Change-Id: Ia5306b4c976f6dc9a5f82e245ca5440f204f5bab
Reviewed-on: https://gerrit.libreoffice.org/3209
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
9 years agosquash NoSuchElementExceptions when modifying keybindings
Noel Power [Fri, 29 Mar 2013 16:53:24 +0000 (29 16:53 +0000)]
squash NoSuchElementExceptions when modifying keybindings

Change-Id: I37882845660929e0001a834b6685a4087dfb465f
Reviewed-on: https://gerrit.libreoffice.org/3208
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
9 years agoAdded and fixed various vba API
Noel Power [Fri, 29 Mar 2013 16:46:21 +0000 (29 16:46 +0000)]
Added and fixed various vba API

Added OLEObject.LinkedCell
Added ComboBox.LinkedCell
Added Validation.Type

provided a 'real' implemenation for AutoSize member ( applicable to various controls )

Change-Id: Id556d4c95a800951803609433e834105a6f20dbe
Reviewed-on: https://gerrit.libreoffice.org/3207
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
9 years agoprepend Validation.Formula1 results with '=' for anything not a address
Noel Power [Fri, 29 Mar 2013 15:54:08 +0000 (29 15:54 +0000)]
prepend Validation.Formula1 results with '=' for anything not a address

Change-Id: I6061378788b7299f8a8431d1e8d00a4e6ea3e8fb
Reviewed-on: https://gerrit.libreoffice.org/3206
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
9 years agoRevert "fix 'Visible' property for XControlShape(s) Foreach support for CommandBars"
Noel Power [Fri, 5 Apr 2013 08:07:37 +0000 (5 09:07 +0100)]
Revert "fix 'Visible' property for XControlShape(s) Foreach support for CommandBars"

This reverts commit 5a588c257056b2e9f0b324b1904b1e568c762a94.

9 years agoRevert "fix selection change event firing"
Noel Power [Fri, 5 Apr 2013 08:06:01 +0000 (5 09:06 +0100)]
Revert "fix selection change event firing"

This reverts commit 4624a195238f27d9c7784aa3a710e479cb371ac6.

9 years agoRevert "squash NoSuchElementExceptions when modifying keybindings"
Noel Power [Fri, 5 Apr 2013 08:04:53 +0000 (5 09:04 +0100)]
Revert "squash NoSuchElementExceptions when modifying keybindings"

This reverts commit 276914e9cedfa28cc4461e9020c51c6e982f3a94.

9 years agoRevert "Added and fixed various vba API"
Noel Power [Fri, 5 Apr 2013 08:04:42 +0000 (5 09:04 +0100)]
Revert "Added and fixed various vba API"

This reverts commit 57b8dcc4323f736f51f9ed8334affeb042efbca4.

9 years agoRevert "prepend Validation.Formula1 results with '=' for anything not a address"
Noel Power [Fri, 5 Apr 2013 08:04:06 +0000 (5 09:04 +0100)]
Revert "prepend Validation.Formula1 results with '=' for anything not a address"

This reverts commit b23f3059af8724cf6c1b19a4835e1bca3522ab2c.

9 years agofdo#56098 paste special shift options incorrect/incomplete
Winfried Donkers [Mon, 28 Jan 2013 17:42:38 +0000 (28 18:42 +0100)]
fdo#56098 paste special shift options incorrect/incomplete

Change-Id: Ic84ec07f4e0963ad1759036f1d7cbfa295289375
Reviewed-on: https://gerrit.libreoffice.org/1903
Reviewed-by: Noel Power <noel.power@suse.com>
Tested-by: Noel Power <noel.power@suse.com>
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
9 years agofdo#56098 Paste Special options after cut incorrect
Winfried Donkers [Mon, 14 Jan 2013 15:05:33 +0000 (14 16:05 +0100)]
fdo#56098 Paste Special options after cut incorrect

Change-Id: Icf6aa698e69a2271cf68f420ceaec4aaffe94ad0
Reviewed-on: https://gerrit.libreoffice.org/1671
Reviewed-by: Noel Power <noel.power@suse.com>
Tested-by: Noel Power <noel.power@suse.com>
9 years agoicon style fixes in local help
Andras Timar [Tue, 2 Apr 2013 11:23:56 +0000 (2 04:23 -0700)]
icon style fixes in local help

correct icon style in offline help when icon style is Automatic
change icon style in offile help when icon style is changed on UI

Conflicts:

xmlhelp/Library_ucpchelp1.mk

Change-Id: I1b56beeaf370cb6b20b9a7c69f158291b4128ab0
Reviewed-on: https://gerrit.libreoffice.org/3201
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
9 years agofix selection change event firing
Noel Power [Thu, 4 Apr 2013 16:07:52 +0000 (4 17:07 +0100)]
fix selection change event firing

Change-Id: I64e8b684dd5462e1a742ba47b5480951b4e3a4c4

9 years agofix 'Visible' property for XControlShape(s) Foreach support for CommandBars
Noel Power [Fri, 29 Mar 2013 17:04:52 +0000 (29 17:04 +0000)]
fix 'Visible' property for XControlShape(s) Foreach support for CommandBars

Seems now we need to additionally set 'Visible' property for XControlShapes
to ensure correct visibility
Also we need allow 'For Each' syntax to with with CommandBar collection.
Note: the implementation of the CommandBar enumeration seems wrong, I
would have thought that it should match ( and share ) implementation
details with normal index access ( it doesn't )

Change-Id: Ia5306b4c976f6dc9a5f82e245ca5440f204f5bab

9 years agosquash NoSuchElementExceptions when modifying keybindings
Noel Power [Fri, 29 Mar 2013 16:53:24 +0000 (29 16:53 +0000)]
squash NoSuchElementExceptions when modifying keybindings

Change-Id: I37882845660929e0001a834b6685a4087dfb465f

9 years agoAdded and fixed various vba API
Noel Power [Fri, 29 Mar 2013 16:46:21 +0000 (29 16:46 +0000)]
Added and fixed various vba API

Added OLEObject.LinkedCell
Added ComboBox.LinkedCell
Added Validation.Type

provided a 'real' implemenation for AutoSize member ( applicable to various controls )

Change-Id: Id556d4c95a800951803609433e834105a6f20dbe