Commit Graph

351644 Commits

Author SHA1 Message Date
Caolán McNamara
e95b80d991 coverity#735656 Division or modulo by zero
Change-Id: I846f5f10649e2f12bac763c87e88cd55135f3d00
2014-04-25 20:19:10 +01:00
Caolán McNamara
13ae10691d make 'Unicode' less-attractive to pick vs UTF-8
for people guessing the encoding of a .csv

Change-Id: Ie1b0a51bd2beb60351c244f97583a48ce596fbcc
2014-04-25 20:19:10 +01:00
Caolán McNamara
445d62565d error C2059: syntax error : ´)´
Change-Id: Ic81d7f524ff0ea5fb2e79de2828d77f91791ed35
2014-04-25 20:16:01 +01:00
Markus Mohrhard
054b968c63 quick fix for inheritance problems
Change-Id: I41c5c937d62d6ba0b3df2d4a0101319f272495a7
2014-04-25 20:37:47 +02:00
David Tardon
8657b48af4 refactor to decrease the amount of copypasta
Change-Id: Ib540d79034f1963905685c1282d091bc034cf4f3
2014-04-25 20:26:46 +02:00
Caolán McNamara
0a861a50b6 error C2872: ´chart´ : ambiguous symbol
Change-Id: Ic6d8366b2754c7f626552d66821d40319910559c
2014-04-25 19:15:30 +01:00
Markus Mohrhard
96c66da23a fix comment about ChartView::dump 2014-04-25 20:07:31 +02:00
Markus Mohrhard
3b2ec44912 the chart root shape has to be at the bottom, fdo#74333, cp#1000057
Change-Id: Ic99fec987f290e94e4b45f4d193406daa2de4740
2014-04-25 20:03:48 +02:00
Markus Mohrhard
12ace5060d dump also drawinglayer shapes that are externally added
Change-Id: I0a5ba2db0fa09193803442b5771a1d6b0475c2c8
2014-04-25 20:03:48 +02:00
Markus Mohrhard
a371f5de63 fix missing service factory during import, related fdo#74333, cp#1000057
Change-Id: I2cce561587d82b0434ef2d3e65e5d35b7ff99260
2014-04-25 20:02:21 +02:00
Markus Mohrhard
08299e9111 add way for shape dumper to dump single shape
Change-Id: I031921d6869d3bbdef4ed11e4316b6cd977992ca
2014-04-25 20:02:21 +02:00
Markus Mohrhard
9f13bb51a8 support sc.slowcheck
Change-Id: I91dcdba455660dee25accdd2185a876bf7012ff8
2014-04-25 20:02:21 +02:00
Tor Lillqvist
9a587bf74f No need for XShape dumping (for unit testing) for non-desktop
We don't do unit testing when cross-compiling anyway. (And even if we
did, in some magic fashion, I don't think we would want
debugging/testing functionality like this dumping thing to be dragged
in into a production build of an app. It's not a huge amount of code,
but still.)

Change-Id: I12bc552b10452263572074aae865138ff30fbfc8
2014-04-25 20:15:04 +03:00
Eike Rathke
1652b8a552 added .xlsx .xls .ods export/reimport tests for new spreadsheet functions
Change-Id: I71baaf27a16e60eb11f80f61664fc09dcf047cf1
2014-04-25 18:13:28 +01:00
László Németh
25c2a96661 updated Hungarian autocorrection patterns (with .* wildcards, too)
Change-Id: I5e88cdab06f765d375fee3dc69201f864db33653
2014-04-25 18:27:42 +02:00
Tor Lillqvist
0962f24a90 Obey --with-locales here, too
Avoid linking in various functions and potentially largish data
objects if the corresponding locale is deliberatedly skipped by using
the --with-locales configure option.

Change-Id: I8ec8c2b6176972d048a3c0e180ac0e6e805f2378
2014-04-25 19:00:42 +03:00
Kohei Yoshida
37d7d115dd fdo#75971: Perhaps this will prevent the crash ?
I can't reproduce the crash, so this is just a blind fix based on Julien's
input.

Change-Id: If4d20632dc1ce0671a755dd6dd31194702a95bf3
2014-04-25 11:54:47 -04:00
Caolán McNamara
187765b8a4 try including windows.h for MultiByteToWideChar
Change-Id: Ib737e520ff16f2e467504e85fc3969d525fd742a
2014-04-25 16:38:16 +01:00
Caolán McNamara
21334f74a5 Revert "give empty constructed default font a default height"
and make a real copy of the TargetFont

the 0,0 font size appears to mean "default" size so it can
take the desktop env font size or some such, with a hard-coded
value then the various "bold" entries in the UI are huge

This reverts commit 121aac3767.

Change-Id: Iec1d3867403808370d89d6b5ad2fec60ffdcd881
2014-04-25 16:34:31 +01:00
Caolán McNamara
6643b783b4 Related: rhbz#1091111 GetSdrPageView can return NULL
Change-Id: I560bf74235728fb39156c32b47dd40f181dada16
2014-04-25 16:34:31 +01:00
Norbert Thiebaud
731f7fe778 disable pytest_ssl on mac
Change-Id: I9f6a50f00bd98aeffa46f3ef40211e30edf658d6
2014-04-25 10:23:22 -05:00
Stephan Bergmann
6ee8e0eb5c Fix OutputDevice::Pop
Change-Id: Iaaf19c01dc4ec10c72a66dac35ac64e37766d08e
2014-04-25 17:06:22 +02:00
Tomofumi Yagi
f5dc536eae fdo#77683 the color in the toolbar buttons doesn't change.
The color in the toolbar buttons doesn't change when we use the Floating
Font/Background/Highlight Color Toolbar.
This problem seems happen sometimes,not always.

This patch modifies that SvxColorExtToolBoxControl::StateChanged()
in /svx/source/tbxctrls/tbcontrol.cxx handles SFX_ITEM_DEFAULT message
always.

Change-Id: If7410297db768c161287b75396186fbec3605f63
Reviewed-on: https://gerrit.libreoffice.org/9107
Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
Tested-by: Kohei Yoshida <libreoffice@kohei.us>
2014-04-25 14:50:58 +00:00
Stephan Bergmann
356fa61f40 If you intend DAVException to appear as a std::exception, then say so
Change-Id: Ifa7dd407b32ae6f61852a607a97453b1d071a1ef
2014-04-25 16:07:35 +02:00
Tomofumi Yagi
5c31515d2e fdo#73891 Fix "UI color panel does not show the actual color in Writer"
1.The Font/Background/Highlight Color panels identify the actual color
 by a small frame.
 (Regression from the commit 35aa48d80b
  See also fdo#32376 - Set default color to the current one in toolbar
  popups)

2.Fix this in the Floating Font/Background/Highlight Color Toolbar,too.

Change-Id: I5c2db8ab8923ab146cbf921dcb90894765f8420c
Reviewed-on: https://gerrit.libreoffice.org/9103
Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
Tested-by: Kohei Yoshida <libreoffice@kohei.us>
2014-04-25 13:54:57 +00:00
Chris Sherlock
5e57796c80 VCL: Move OutputDevice map structures to own VCL header file
Change-Id: Ifbaa51018d47fde72be80d5d1870fdda214db320
2014-04-25 23:34:10 +10:00
Chris Sherlock
cf3c6cb40f VCL: ImpObjStack replaced with std::stack
ImpObjStack uses it's own home-grown stack and stack functions. There
is a function that unwinds the stack, but really it would be better if
we used std::set. In fact, this is better, because the name ImpObjStack
is really not terribly descriptive. I've replaced it with a stack of
OutDevState objects.

Change-Id: I87bdd4340ad77b7ffd9ff176fa5a9ffeac8b8666
2014-04-25 23:34:09 +10:00
Chris Sherlock
ef3b68886c VCL: Remove unused and deprecated debug check function
Change-Id: I3fcf630b8a0ef5be0d98ddc11a746e07885bae53
2014-04-25 23:34:09 +10:00
Luboš Luňák
508337db0c add better info on the Qt patches needed for KFileDialog
Change-Id: I1902f962ac03b171c5e7a45d9c8e59450b04418f
2014-04-25 14:18:07 +02:00
Luboš Luňák
65a3622148 disable KFileDialog usage if QClipboard can recurse
Change-Id: If23a365b96c1634c2f8940f6ece973089dc3151f
2014-04-25 14:18:05 +02:00
Luboš Luňák
e809aa1e91 fix Qt4 QSocketNotifier configure check
When built as a part of the configure check, this doesn't know SAL_OVERRIDE.

Change-Id: I1420dd50efdd6666f246884f286a3f29e0b56a2c
2014-04-25 14:18:03 +02:00
Luboš Luňák
474ad6b0e2 make sure KFileDialog does not leave the SolarMutex released
Change-Id: I806bf5fe1cd1871de499ceeeadf36de539e9d637
2014-04-25 14:18:01 +02:00
Luboš Luňák
2cd8a1e0f1 Revert "Rewrite Qt4 based nested yield mutex locking."
In a dbgutil build LO aborts on an assertion failure the moment
KFileDialog is open. It's definitely on okay to release SolarMutex just
like that, since the Qt event loop is integrated with LO's, it'll call
back to LO code without the mutex held.

This reverts commit 13a34f4c63.

Conflicts:
	vcl/unx/kde4/KDE4FilePicker.cxx
	vcl/unx/kde4/KDEXLib.cxx

Change-Id: Idfa27fbb4728b529c37c25f710ea208fdaa4455c
2014-04-25 14:17:58 +02:00
Stephan Bergmann
aff54e8ef5 That lone acquire() was hopefully just a needless copy/paste
...from ab9d657e00 "INTEGRATION: CWS dba22ui:
acquire in dtor, to prevent reentrance."  Yuck.

Change-Id: Iec5e1fa9d04199a4a1e83c67ed2014299317c5d8
2014-04-25 14:14:50 +02:00
Tor Lillqvist
d5d10b03b1 WaE: implicit conversion of literal of type 'sal_Bool' to 'bool'
Change-Id: Icb96b36aca144262f44fe496b4a44605b8f8a85c
2014-04-25 14:35:54 +03:00
Tor Lillqvist
bcc44b82b5 Improve help message for --with-locales
Change-Id: I54109240f55a6e0d13dee16882a8175140b77867
2014-04-25 14:34:07 +03:00
Miklos Vajna
270fabec85 sw: adapt object/picturedialog.ui to FillAttributes
Change-Id: I7e1876c61468a5c45cf4dfd5db6d9c4a9697d751
2014-04-25 13:08:06 +02:00
Armin Le Grand
4a0b5e569d i#124638 support for DrawingLayre FillStyle for GraphicFrames and ...
... EmbeddedObjectFrames in Writer

(cherry picked from commit 8433ee82c9323501545164ddf6e6008db483ab7a)

Conflicts:
	sw/source/core/attr/format.cxx
	sw/source/core/layout/paintfrm.cxx
	sw/source/core/uibase/shells/grfsh.cxx
	sw/source/core/unocore/unomap.cxx
	sw/source/core/unocore/unostyle.cxx
	sw/source/ui/frmdlg/frmpage.src
	xmloff/inc/xmloff/XMLShapeStyleContext.hxx
	xmloff/source/draw/XMLShapeStyleContext.cxx

Change-Id: I441378ec3e9a32764781a8063adcc52051efe17f
2014-04-25 13:08:06 +02:00
Tor Lillqvist
474fe287c4 Filter out extra ICU data for locales we don't want special support for
Change-Id: I40fd00d91a7e5ad5163bef63e1b60381bac58aa4
2014-04-25 13:59:45 +03:00
Julien Nabet
b4a95f8d21 Since bPut is bool, let's use true/false
Change-Id: I37b05b3d62eda03aecfa253bfc729136a777c6eb
2014-04-25 12:49:12 +02:00
Eike Rathke
ee75263f6c we need to push a return value in any case, fdo#73148 related
... not just if there is no error; popping a value from the stack also
pops an error value, and the error is pushed again instead of the value
to be pushed, see call of IfErrorPushError() in PushDouble().

Change-Id: I92f486fa226c90870990f608cd43d4a1379a2361
2014-04-25 11:21:17 +01:00
Eike Rathke
9c78e71903 return early once we pushed an error, fdo#73148 related
Change-Id: Iadc520fe897966bf41c793ae37f510addfd68cef
2014-04-25 11:21:16 +01:00
László Németh
5e4b21e2d6 fdo#48017 fix WIN32 long path name support of spelling dictionaries
Change-Id: I1ccaae9dba4f82cd50531890e159519a765a0fff
2014-04-25 12:13:33 +02:00
Michaël Lefèvre
fe075edc27 fdo#43157 : [API CHANGE] Remove OSL_THIS_FILE
Change-Id: Ifa6bdb2f2bdf96826f09c42a1e36d97ed6e034cd
Reviewed-on: https://gerrit.libreoffice.org/8886
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
2014-04-25 09:57:19 +00:00
Tor Lillqvist
838d749ceb Add css_comp_chart2_ChartDocumentWrapper_get_implementation
At least with my test documents, this is the only component we now need
from the chartcontroller library.

Change-Id: Ia2c203413a585f4d9207bb22fa5f548eda3fb9a8
2014-04-25 12:53:43 +03:00
Tor Lillqvist
606b19f843 Drop libchartcontrollerlo.a in preparation for vmiklos's rework
Change-Id: Ic8ce9b91e666774eff7e452ec9f07c6053dce03b
2014-04-25 12:53:17 +03:00
Tor Lillqvist
ab07f81d0b Print the important failure messages on iOS even in a non-debug build
It might be that having fprintfs leftover in an app submitted to the
App Store is a no-go, but will fix that then if/when it happens.

Change-Id: Ic671fcce567c655a06fd4ed139100dc9b6f435be
2014-04-25 12:52:59 +03:00
Winfried Donkers
29c9712b04 fdo#73148 (partial patch) Add Excel 2010 function AGGREGATE
Change-Id: If8fc8608699a14e573456af2e1180342be942dd1
Reviewed-on: https://gerrit.libreoffice.org/8475
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2014-04-25 09:39:31 +00:00
Andras Timar
2e41702ed4 Updated core
Project: help  f1e1bf8afae41ba0a7defa75b48ca827d79e33cd
2014-04-25 09:27:02 +00:00
Miklos Vajna
38b9fe8269 chart2: use constructor feature for WizardDialog
Change-Id: Ifcaae6401f1ad5069248111b568a1cf5c033f5ab
2014-04-25 10:51:25 +02:00