354219 Commits

Author SHA1 Message Date
Caolán McNamara
c26ba0d35e coverity#1209946 Uncaught exception
Change-Id: I875faea495a375b998c439a0c987b2241ca47ea8
2014-05-27 21:08:38 +01:00
Caolán McNamara
d13b39a3d8 coverity#1209947 Uncaught exception
Change-Id: I01501e99787118e7a7d8259dc65ae20a2932dea7
2014-05-27 21:08:38 +01:00
Caolán McNamara
cf5411c2bd coverity#1209948 Uncaught exception
Change-Id: I095820c3abcb8e2b47e564096f050309b22cf901
2014-05-27 21:08:37 +01:00
Caolán McNamara
22b28fb784 coverity#1209949 Uncaught exception
Change-Id: I968c5cd5929e2587588f0e0547352acdc19e456a
2014-05-27 21:08:37 +01:00
Caolán McNamara
f3395a6585 coverity#1209951 Uncaught exception
Change-Id: I11bdec73ea12e189cca41f5f275616a138cf5793
2014-05-27 21:08:36 +01:00
Caolán McNamara
92814c6fe4 coverity#1209953 Uncaught exception
Change-Id: Ia167c532afc8ba900629b3f056021deed45185ea
2014-05-27 21:08:35 +01:00
Caolán McNamara
116f362ef2 coverity#1213514 Uncaught exception
Change-Id: I475b8c9bdcea120ac7ba24862000a16d9f4127c0
2014-05-27 21:08:35 +01:00
Michael Stahl
3935ff3b33 configure: don't check JVM bit-ness when cross compiling
Change-Id: Icf3a58257c8c8e90d7e9d38f167a9b9f80d4bf32
2014-05-27 20:52:53 +02:00
Michael Stahl
747bcdc143 fdo#78332: sw: fix separators in SwDDEFieldType::PutValue()
Setting 3 separators instead of 2 does not work.

(regression from 263153842741d7ce21cc0bf1c5296a55a1138024)

Change-Id: Id0b4649404b8a49a7f89a237c46106bce4e146ff
2014-05-27 20:52:53 +02:00
Kohei Yoshida
054213e86b fdo#78976: Correct way to determine the end position for matrix check.
Change-Id: Ifd6acd85a9bf33742cb62327a3b8a4320f35d0f3
2014-05-27 14:48:50 -04:00
Kohei Yoshida
175519643d fdo#78976: Test for this.
Change-Id: I454e29c2cdf0857d329d84000d79973489cebb41
2014-05-27 14:48:50 -04:00
Matúš Kukan
a6b00d16eb Related bnc#822625: Cache FontEntry with the original FontSelectPattern.
Otherwise we never hit cache directly, only after expensive call to
ImplFindByFont.

Change-Id: If15b368feeba94c8fff8ee7cbe049fc4a2069768
2014-05-27 19:38:23 +02:00
Matúš Kukan
5792e76cb5 Related bnc#822625: Cache minimum height for table cells.
Change-Id: I35e295347a046376289f5d4fd5468860d0b8f0ae
2014-05-27 19:38:23 +02:00
Eike Rathke
f68eed1518 do not replace a General format with a General format
Found when investigating fdo#79228 which was caused by the ScPatternAttr
change due to the number format being applied.

Change-Id: Ieada557f5e194401a9ce255f26d71d36e0704f35
2014-05-27 19:33:06 +02:00
Eike Rathke
cb0d44a05b update language-subtag-registry as of 2014-04-10
Change-Id: I99deaf80f559e28de106b639663b262544cdf60c
2014-05-27 17:49:12 +02:00
Kohei Yoshida
345d6dd9d9 Actually OK and Cancel is better here than Apply and Close.
Because the same dialog is used when creating a new pivot table, where
the Apply and Close semantic feels a bit weird.  Also, some features of
the dialog were designed with Ok / Cancel in mind (like the destination
location).

Change-Id: I9ac889bca9f967cb97b34ab45ea563547b58d422
2014-05-27 11:29:25 -04:00
Eike Rathke
13975eb359 add SvxLanguageComboBox
Change-Id: Idd97331669ff204efb568ef1c17ba7444db4abf4
2014-05-27 17:23:57 +02:00
Markus Mohrhard
ed24ae433b prevent that early return prevents further user interaction
Change-Id: I24f814a402d2b8af3ddf888719b78d3158c2a38f
2014-05-27 16:56:03 +02:00
Michael Meeks
8c9b3cdcce cache the bitmap converted to flat RGBA pixels.
Conflicts:
	chart2/source/view/inc/3DChartObjects.hxx
	chart2/source/view/main/3DChartObjects.cxx

Change-Id: Ied38d4457fbc04ded42fe4fb55a8ec654cefa259
2014-05-27 16:56:03 +02:00
Takeshi Abe
f46d9c7d4d Avoid possible memory leaks in case of exceptions
Change-Id: Id75c459cfa59fe2adfc0f748dc33d0bc9e271507
2014-05-27 23:29:02 +09:00
Maxim Monastirsky
426033250d reportdesign: Fix applying the last used color
The last used color is stored inside
SvxColorToolBoxControl, so we must call its Select method
to do that. (This also fixes using the last shape, See
commit ce842113ae728e8995c7c5398204a20d0707e843 for a
fix of exactly the same problem in chart2.)

For the font color, there was also another problem:
The SID used for that button is SID_ATTR_CHAR_COLOR2.
The problem is that SvxColorToolBoxControl::Select
actually calls for that SID the ".uno:CharColorExt"
command instead of ".uno:FontColor" (which activates
in writer the format paintbrush mode). Given that since
commit 584b415924bba22db23a4258062e54973de0ed7c this
command also receives the last used color as argument,
the easiest solution is to register ".uno:CharColorExt"
here as well.

Change-Id: I2db25a7fb537ce10dfec7b1c2d049dd77d9f8f6b
2014-05-27 17:23:36 +03:00
Maxim Monastirsky
209eea5457 chart2: Fix using the last shape
Clicking a shape button works only for the default shape,
not for the last used one.

Steps to reproduce:
1) Click on the drop-down arrow of one of the shape buttons,
   and select a shape. Notice that the button icon updates
   with the last selected shape.
2) Click on another button.
3) Click on the first button, and try to draw something.
   The button doesn't work anymore. Only opening the sub
   toolbar and selecting the shape there will work.

The problem is in ToolboxController::execute that requires
the command to be in the listener map, but we didn't
register sub commands (like .uno:SymbolShapes.sun).
Instead of doing that, we'll try some generic solution.
(Note that calling the corresponding method from
SvxTbxCtlCustomShapes like we do in other methods here
won't work, because ChartController::queryDispatch checks
for the "_self" target, but SfxToolBoxControl::Dispatch
doesn't provide it.)

Change-Id: I5be3dfd3ee3ca9ab9d8080929173dbe5984f61a0
2014-05-27 17:23:35 +03:00
Caolán McNamara
42119194fd coverity#706499 Uncaught exception
also coverity#706500 and coverity#706502 and coverity#706503

Change-Id: If8c76f9fea669f3397a3db65fefaabe101bf9c35
2014-05-27 13:59:53 +01:00
Thomas Arnhold
65a54a19ad Export Config: Use ModelessDialog
The huge size of this dialog calls for a maximize button...

Change-Id: I68706669ac4e10ea9d5cba5526e9f1b0eb3628b6
2014-05-27 14:00:29 +02:00
Thomas Arnhold
bab0c4fc0c bin obsolete CLOOK comments
Change-Id: I34f37587284893927463e214f0d7d1c3e914c7b2
2014-05-27 14:00:28 +02:00
Thomas Arnhold
dd4035568a remove external header guards
Change-Id: I847e5e3652517d0c11eb2cf3e9625ed649595bc5
2014-05-27 14:00:28 +02:00
Thomas Arnhold
92b447876d css already means ::com::sun::star
Change-Id: I48d7b746d7cc49246743c62480b0d225d2519342
2014-05-27 14:00:28 +02:00
Thomas Arnhold
e6ff6f9a71 use namespace css instead of com::sun
Change-Id: I47582b072bb939cf270a76e430a9f7908b5c1d93
2014-05-27 14:00:28 +02:00
Caolán McNamara
3041269ff2 Resolves: fdo#77206 CRASH printing with all applications on windows
Change-Id: I5d5066413508a115f6b4c63b8b3dd19268f66574
2014-05-27 12:39:14 +01:00
Michael Stahl
7e91dd0a38 fdo#77454: sw: ww8 import: add heuristic to ignore mangled crop values
Older versions of OOo/LO would mangle negative crop values on round-trip
of WW8, which now (since the drawing-layer does not ignore them) causes
the images to be rendered invisible; probably large factors don't make
sense anyway, so ignore the crop if it's 50x the image size, which
happens to work for the bugdoc.

Change-Id: I9f36d37e3be27234554bc91e80bfe719b1ce86af
2014-05-27 13:32:52 +02:00
Stephan Bergmann
898b7643e4 loplugin:sallogareas
Change-Id: I7fe1350e55bea2eead2c7fedf432da594aa6bd9c
2014-05-27 13:29:50 +02:00
Caolán McNamara
9b47595a34 Resolves: fdo#79275 File Properties dialog’s layout is subpar
Change-Id: I594d93c0630528841a1f243e6b6e9eda67b6138d
2014-05-27 12:28:33 +01:00
Caolán McNamara
9172ee7293 the stock multilineedit is sufficient IMO
Change-Id: I374c17fcda80c4f821271bf665a41beae100cccf
2014-05-27 12:07:13 +01:00
Thomas Arnhold
1908f27da8 desktop: further src file cleanup
Change-Id: I37f83084203fcc4e2f7d68f7c21774573b9281e8
2014-05-27 13:00:20 +02:00
Jean-Pierre Ledure
4916efd5c6 Access2Base - Bug when event triggered by toolbar button
Argument given by LO to macro triggered by toolbar button is an integer, not an object.
This should not cause a visible error for the end-user from within the Events() Sub

Change-Id: I4a307270b0d5cf2992b3bb304deb8cd30222dd95
Reviewed-on: https://gerrit.libreoffice.org/9452
Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu>
Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
2014-05-27 05:50:31 -05:00
Jean-Pierre Ledure
c3fe2934ff Access2Base - setProperty erroneously omitted
Change-Id: I5d2a1b37d80137e6b8fd080d8c2d73372ad0512c
Reviewed-on: https://gerrit.libreoffice.org/9479
Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu>
Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
2014-05-27 05:49:59 -05:00
Caolán McNamara
e7fa9b1679 newly unused helpid
Change-Id: I977e6df72fcb06a192af539559f79b2f146495f7
2014-05-27 11:48:19 +01:00
Caolán McNamara
2472eedb55 Updated core
Project: help  5916c2b39f6aa68c6d47f266be84085a84d9a8c7
2014-05-27 05:48:01 -05:00
Stephan Bergmann
a58518e355 Fix (small) memory leak (as observed with CppunitTest_filter_tiff_test)
Change-Id: Ib840d66882faeca01d07a8764957a1c7c4075ec0
2014-05-27 12:47:22 +02:00
Lionel Elie Mamane
aa48af5753 fdo#67935 "print on group change" acted as "print in first group instance"
The "parent" group changed iff this is the first iteration of *this*
group *or* *detail* *section*.

The "parent" group's first iteration means that we are in the first
value of the parent group (in other words, the *grand*-*parent* group
changed).

Change-Id: Ia4a798cb37db2f17e7deef1058b25795bfc02648
Reviewed-on: https://gerrit.libreoffice.org/9503
Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu>
Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
2014-05-27 05:46:58 -05:00
Lionel Elie Mamane
7b8e9ea4f9 fdo#67937 "print on group change" defaults to TRUE
Thus it needs to be saved when it is *false*.

Change-Id: I01bae547afe71ede12fb852c1a9040b7e45bf7b9
Reviewed-on: https://gerrit.libreoffice.org/9502
Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu>
Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
2014-05-27 05:46:51 -05:00
Lionel Elie Mamane
3a99c2f91e OXMLSubDocument: copy PrintWhenGroupChange, too
Change-Id: If6a5d9a50f5d600b96faebc51b9798a8e63eec49
Reviewed-on: https://gerrit.libreoffice.org/9501
Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu>
Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
2014-05-27 05:45:39 -05:00
sk94
5249cf49ed RID_DLG_UPDATEINSTALL conversion to .ui
Change-Id: I02ead5dc934d0f9ae9e958cbe6592250f1aaf1a4
Reviewed-on: https://gerrit.libreoffice.org/9464
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-05-27 05:44:23 -05:00
Eike Rathke
17979abf4f resolved rhbz#1101224 do not attempt to obtain names for NULL tabs
This happened when the HTML export via clipboard tried to resolve
conditional formats, where we have a temporary instance of a document
containing only the sheet to be exported.

Change-Id: Ic7498a1cab3eabede74773868287a2cc3edef052
2014-05-27 12:37:21 +02:00
Thomas Arnhold
ea491d056d OSL_TRACE -> SAL_INFO
Change-Id: Ib9e1ed6119b5286871ac10136f7fcbefffe7aebe
2014-05-27 12:34:30 +02:00
Caolán McNamara
501e5b98ad Resolves: fdo#77831 use classic token rules for user-defined char (%foo)
Change-Id: Iebae064986ad722d445c8d654e39e338e104f021
2014-05-27 11:27:41 +01:00
Stanislav Horacek
e1b8e1099e Updated core
Project: help  1c2805c0bc819a94bf5754e7838db134c1cdb62f

rename print range command Remove to Clear

Change-Id: I8c787b7caadfe52a93532596e5b404781712dba5
Reviewed-on: https://gerrit.libreoffice.org/9490
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-05-27 04:24:43 -05:00
Stanislav Horacek
23f4f77b47 Updated core
Project: help  ab67f805e692888fd0c89157b54e9c41c9d405b0

correct name of command adding separator in customize dialog

Change-Id: Ia57602ccfa957918b44390c4db9b17b4bbe33e15
Reviewed-on: https://gerrit.libreoffice.org/9491
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-05-27 04:24:30 -05:00
Miklos Vajna
cd1abdce1e fdo#78348 DOCX import: end progressbar after parsing is done
Change-Id: Id3db99a7ea341bcfc9bf2cd2b718e70a17d41f76
2014-05-27 11:23:28 +02:00
Michael Stahl
732eee2de4 fdo#79236: sw: Undo of changing style crashes on invalid item (-1)
Change-Id: Ie0b0791722a0ca8d75b7981362661be0c9706c6d
2014-05-27 11:13:23 +02:00