Commit Graph

328906 Commits

Author SHA1 Message Date
Tor Lillqvist
dc2d434687 s/rtl_copyMemory/memmove
Change-Id: Iead9b7ee98a11ad5a9916d6e176c8938378b817a
2013-06-14 13:25:06 +03:00
Stephan Bergmann
f31d4ad929 Remove unused ContentProviderRegistrationInfo
Change-Id: Ic30cbc95b4baa4dabaa0f8f8e129aa5cf4ca5f2f
2013-06-14 12:22:40 +02:00
Stephan Bergmann
940dba6b0f Some clean up
Change-Id: Ie8f8b4fe48a94cd760fa85cc83121c4ab0f3b507
2013-06-14 11:35:23 +02:00
Stephan Bergmann
4d8bf09305 Always try to mount in gio::Content::getGFileInfo
...and not only if the caller happens to pass in non-null ppError.  Otherwise,
calling soffice with a document URL handled by the gio UCP that is not yet
gio-mounted would silently do nothing and exit with EXIT_SUCCESS, as the first
thing the type detection code does on the URL is execute "getPropertyValues" for
"IsDocument", which calls getGFileInfo with null ppError, so a void instead of a
boolean value is returned, which then derails the type detection code to
silently fail (which is another problem that needs fixing).

Change-Id: I48a84428cdee5caead02909abc2efd3ae3722052
2013-06-14 11:22:51 +02:00
Zolnai Tamás
3abe80ac14 Highlight "LIMIT" as a keyword in sql edit
Change-Id: I5aed0a4d9b3e912b1cad0be2092b2dc394e10b04
2013-06-14 11:07:39 +02:00
Caolán McNamara
43de0b2443 Related: #i119548# document that ms changed the meaning of fWidowControl
Change-Id: I884c3c57dfd1d2e7bfa0675fd0c0184113cdda9c
2013-06-14 09:56:49 +01:00
Lei De Bin
0e619cb550 Resolves: #i119548# Window/Orphan control setting lost when save .doc file
Reported by: luo qing le
Patch by: Lei De Bin
Review by: Chen Zuo Jun

(cherry picked from commit 9b161d18404d8fac5663bc3b3a854bdd4fad3bf0)

Change-Id: I7e51d2fd6b72d08b793b857cf2a3de5989145695
2013-06-14 09:55:39 +01:00
Lei De Bin
7edabc8639 Resolves: #i119470# fix page number in header lost when save in web layout
Reported by: luo qing le
Patch by: Lei De Bin
Review by: Chen Zuo Jun

(cherry picked from commit 3654740a6f770631d34897aad345f006313c46b9)

Conflicts:
	sw/source/filter/ww8/wrtw8esh.cxx
	sw/source/filter/ww8/wrtww8.hxx

Change-Id: I1c25d17b1780adeddee46d500f2f0753944e9ffc
2013-06-14 09:41:27 +01:00
Julien Nabet
074c13a63d cppcheck: fix operatorEqVarError (in lotuswordpro)
Change-Id: I0fb3d99326ec3cb930b85626c749613f65ee8b6e
Reviewed-on: https://gerrit.libreoffice.org/4281
Reviewed-by: Noel Power <noel.power@suse.com>
Tested-by: Noel Power <noel.power@suse.com>
2013-06-14 08:31:21 +00:00
Zolnai Tamás
00eafaa949 fix limit bug: selecting "All" has no effect to sql
LimitBox set its value to -1 if the current
text is "All" but just when it loses its focus
so dispatching its value to the controller
 must be after this setting.
(see limitboxcontroller.cxx)

Plus some clean up in LimitBox.cxx

Change-Id: Ic1d314a5a67c2b261b2e9c50973f51de2bfb8db8
2013-06-14 09:45:38 +02:00
Zolnai Tamás
05d7382940 hsqldb does not support "select * from t limit n"
If limit clause follow from clause directly than the statement
parser of hsqldb parses "LIMIT" token like a table alias and
that's why the next number is unexpected.
The problem was that the limit token was not added to a "keyword"
vector in which parser search while working with form clause.
If the algorithm find a keyword after table names than it
knows it is the end of the form clause. That's why it
worked with any other keywords like "ORDER_BY",
"WHERE", "GROUP BY" and so on.

Change-Id: Iacd3ea3493c85eb0f2579aaad6903537ac65d25a
2013-06-14 09:45:36 +02:00
Julien Nabet
059f041dfd cppcheck: fix duplicateExpression
Change-Id: If3b7b1faab858afa82d4c665ee1a5036190e69aa
Reviewed-on: https://gerrit.libreoffice.org/4278
Reviewed-by: Tomáš Chvátal <tchvatal@suse.cz>
Tested-by: Tomáš Chvátal <tchvatal@suse.cz>
2013-06-13 21:22:44 +00:00
Tomaž Vajngerl
6372309a0d Starmath: ElementsDockingWindow vertical orientation of elements
Change-Id: I4161cacc95576a5f34205c92482a38bb60ecc9f2
2013-06-13 22:44:00 +02:00
Julien Nabet
6934312f61 cppcheck: fix all the others Prefer prefix ++/-- operators
Change-Id: I7956510a5faf1d659f88268941f8afce44e83560
2013-06-13 22:18:37 +02:00
Jian Fang Zhang
8778882b87 Resolves: #i120738# need to call OWeakObject::release() explicitly
to make sure the week object is released correctly.

Found by: zhangjf
Patch by: zhangjf

(cherry picked from commit 1e51e5dab1664dadb40509c4fab593fb27040efd)

Conflicts:
	ucb/source/ucp/tdoc/tdoc_stgelems.cxx

Change-Id: I33d0b3b7cda2aa9a220056bf7d641b09036f89e9
2013-06-13 21:15:56 +01:00
Julien Nabet
f52a86b459 cppcheck: fix several Prefer prefix ++/-- operators
Change-Id: Ie8ce0ebb9ec979575657a89ebbfe4d01142b04e5
2013-06-13 22:11:36 +02:00
Zhe Wang
1ff3ab9235 Resolves: #i119579# position & direction of bracket incorrect in Arabic locale
* subversion/main/oox/source/drawingml/textparagraphpropertiescontext.cxx
[]WritingMode2 is used to numerous explicit writing directions, so use WritingMode2 to instead WritingMode.

Patch by: Ma Bingbing <jiazema@gmail.com>
Suggested by: Wang Zhe <kingwisemmx@gmai.com>
Found by: Wang Lifeng <phoenix.wanglf@gmail.com>
Review by: Wang Zhe <kingwisemmx@gmai.com>(cherry picked from commit 4545d293b1cf5009b075cdc82d43916909b77347)

Change-Id: Ic621ce6107bdc0b83c511f055175ae7b629f1503
2013-06-13 21:00:34 +01:00
Armin Le Grand
721255a3c0 Resolves: #i122039# Take GraphicAttr into account for...
SVGs in Writer GraphicObjects

(cherry picked from commit 436b901a3b195a7e5089d1a03a46ed9442239610)

Conflicts:
	sw/source/core/doc/notxtfrm.cxx

Change-Id: I0e1d4087c94f7d73f1b124ea7918f051c9eacd12
2013-06-13 21:00:34 +01:00
Armin Le Grand
6c9b376b2d Resolves: #i121532# unified getting the blended selection color
(cherry picked from commit dd4bed5d1151db2a45dbbfe9eff61875f8f4835d)

Conflicts:
	svtools/inc/svtools/optionsdrawinglayer.hxx
	svtools/source/config/optionsdrawinglayer.cxx
	sw/source/core/crsr/viscrs.cxx

Change-Id: I21167b58a9b81f5fa15c7def5fb4b6023f91f32b
2013-06-13 21:00:33 +01:00
Armin Le Grand
0061af7950 Resolves: #i121656# Some more cleanups for SVG import
also const as const can
(cherry picked from commit bb9ad24b16add4888c4b1fadac5252b95a72f04f)

Conflicts:
	svgio/inc/svgio/svgreader/svgstyleattributes.hxx
	svgio/source/svgreader/svgstyleattributes.cxx
	svgio/source/svgreader/svgtoken.cxx

Change-Id: If236eb8b1e0193c43229ea6dc496eb3a8fd20c42

Related: #i121656# removed const for return-by-value

(cherry picked from commit aa85e31b3162cd4b18c818bf0af1a854cb05c57d)

Conflicts:
	svgio/inc/svgio/svgreader/svgstyleattributes.hxx
	svgio/source/svgreader/svgstyleattributes.cxx

Change-Id: Ief43c478ea3000d114487918875e9a201dd827bc
2013-06-13 21:00:33 +01:00
Julien Nabet
f321d9519f cppcheck: fix return statement followed by break
Change-Id: I10d23062bd5231487db5e7837477743198c83a20
2013-06-13 21:23:50 +02:00
Julien Nabet
5614804a66 cppcheck: fix a bunch of reassignments
Change-Id: I4dfea342905d38a47dfac91bc4a4875c9338f5d5
2013-06-13 21:04:23 +02:00
Julien Nabet
00c9fe2cfc cppcheck: fix reassignments
Change-Id: Ic9a994ccd00f4ca938a93bce000313495f2c31c8
2013-06-13 20:52:19 +02:00
Julien Nabet
b72c6d89ec cppcheck: fix m_pOwnInteraction not initialized
Change-Id: I0e83709aff4661d4b065806f7aff120ad940b4c4
2013-06-13 20:39:23 +02:00
Julien Nabet
14ed0d1629 cppcheck: fix redundant assignments
Change-Id: I3fb495c6e18b3cb5e9d4beca4212d4aa8097401e
2013-06-13 20:36:56 +02:00
Luboš Luňák
03af6cb629 do not override C++11 decision made for libc++ on macosx
Removed in 44159c6cdf , but since it's
set in CXX, this either has to pass, or it has to fail (or it shouldn't
be hardcoded the way it is).

Change-Id: If5b7b7096927f5d97c7c744cbbfea08e90f1de55
2013-06-13 20:19:23 +02:00
Luboš Luňák
5a8233df85 fix libstdc++ C++11 ABI check with Clang
Do not confuse GCC and libstdc++ versions. Clang defines GCC
version #defines, so the old version was wrong for it. Correct __GLIBCXX__
values found from GCC/libstdc++ repository history.

Change-Id: I94f5250609f7c9a114b2d15093abc9ca4209b13f
2013-06-13 20:08:16 +02:00
Luboš Luňák
50d248aa3f work around the C++11 __float128 problem with libstdc++ headers and clang
Change-Id: Ia1b443d22b3b7f6f93f1ad8c5fa760b0f1da3b83
2013-06-13 20:08:16 +02:00
Luboš Luňák
44159c6cdf split the 'can we use C++11' check into independent tests for each problem
Change-Id: If0fdc13b02ca6dd4eb67afee5b308d2e51a5b30d
2013-06-13 20:08:16 +02:00
Luboš Luňák
d7ae9f7743 rename HAVE_CXX0X->HAVE_CXX11 and clean up to #define in a config header
Change-Id: Id13e77fe890301a8510952994a91853568a7aea6
2013-06-13 20:08:16 +02:00
Luboš Luňák
5fcd67d436 move C++11 check to stand alone
Change-Id: Ia1b22f1cd111a7008a023c1c9b60fa4e07832f24
2013-06-13 20:08:15 +02:00
Armin Le Grand
cfddb61cd3 Resolves: #i121656# Replaced many gallery base graphics with SVG
(cherry picked from commit bea9a9501814bdbc342a2adfa57019704260a532)

Conflicts:
	extras/source/gallery/gallery_system/sg10.sdg
	extras/source/gallery/gallery_system/sg10.thm
	extras/source/gallery/gallery_system/sg12.sdg
	extras/source/gallery/gallery_system/sg12.sdv
	extras/source/gallery/gallery_system/sg12.thm
	extras/source/gallery/gallery_system/sg16.sdv
	extras/source/gallery/gallery_system/sg17.sdg
	extras/source/gallery/gallery_system/sg17.thm
	extras/source/gallery/gallery_system/sg19.sdg
	extras/source/gallery/gallery_system/sg19.sdv
	extras/source/gallery/gallery_system/sg19.thm
	extras/source/gallery/gallery_system/sg2.sdv

Change-Id: I4c2e34c470b05ddae5923e782c31d15aa4961e0d
2013-06-13 17:06:23 +01:00
Caolán McNamara
eef5c87b16 add components to gallery importer needed for svg
Change-Id: I3ce56f505e5e011f592d9622665a9b7451dc51ae
2013-06-13 17:06:22 +01:00
Caolán McNamara
cb8c6bf3c5 don't make it a secret what the errors are
Change-Id: Id5af439df527148e01ef41f21e55ff88ca19e672
2013-06-13 17:06:21 +01:00
Miklos Vajna
a1dda85b46 fdo#58819 VML export of ESCHER_Prop_Rotation
Change-Id: I3deb8f914cabd58a284bef825092a6980b1f6310
2013-06-13 17:29:32 +02:00
Andras Timar
4a143c44fe Updated core
Project: help  50f2902dc9d125c6ab5b379d5389364bb7bdf09c
2013-06-13 15:15:03 +00:00
Miklos Vajna
175d28d564 fdo#58819 VML export of mso-position-*
mso-position-horizontal, mso-position-horizontal-relative,
mso-position-vertical and mso-position-vertical-relative

With this, the watermark in the bugdoc is almost in place, if you ignore
the missing rotation.

Change-Id: I8d3d834089e734654fcbbb0fb6166b4d7e01f80f
2013-06-13 17:14:06 +02:00
Miklos Vajna
1f2e2563a6 fdo#58819 initial VML export of ESCHER_Prop_gtextUNICODE
Change-Id: I67b5dc102fc264d0a643620bbdc5796bdaa46d82
2013-06-13 17:14:06 +02:00
Stephan Bergmann
3af0114a29 Introduce O[U]String::toUInt32
...which has become necessary since bd60d41176
"Handle oveflow in O(U)String::toInt() functions" reduces values in the range
(SAL_MAX_INT32 .. SAL_MAX_UINT32] to zero, but some calls of toInt32(16) relied
on getting a correct (unsigned) value for the whole input range ["0" ..
"FFFFFFFF"] (see libreoffice-4-1 commit 9bf6c83367cedb7be81bf67f30d2147d26c7a8c3
"Revert overflow checks in O[U]String::toInt{32,64} again").

Audited all uses of toInt32/64 with non-decimal radix.  (There is still a TODO
comment in oox/source/helper/attributelist.cxx, and
stoc/source/typeconv/convert.cxx will still need some love and test code.)

Change-Id: Iadaca1c0e41dab553687d0ce41c20c10cd657a95
2013-06-13 17:08:36 +02:00
Armin Le Grand
4edbfa892b Related: #i121504# corrected error in canvas module when cairo is used
(cherry picked from commit e811ac4450b81cc27d51c06e5a614cd016d6e587)

Conflicts:
	canvas/source/cairo/cairo_devicehelper.cxx

Change-Id: I0419259723c3dfca22263af9b858bb07141b179e
2013-06-13 16:04:59 +01:00
Armin Le Grand
e08407052f Resolves: #i121534# only handle bitmaps which are inside visible area
(cherry picked from commit ad026d3b68d5d0d527eed591b3c6f8247bec641b)

Change-Id: I2f4ca680a003e1c58d9cbefa3bee81bcc117916b
2013-06-13 15:56:09 +01:00
Oliver-Rainer Wittmann
57bf1f7594 Resolves: #i122529# only check position protection when...
moving a text frame, graphic or embedded object in Writer

(cherry picked from commit ba9e13a1ebad1569cd5ccf65925a06329ba0d188)

Conflicts:
	sw/source/ui/docvw/edtwin.cxx

Change-Id: I126165d6be7505223c4255262103cfb123ec3d55
2013-06-13 15:54:41 +01:00
Jan Holesovsky
90197a2375 Unit test to avoid the regression...
...that appeared thanks to the bnc#819614 fix.

Thanks Fridrich for constructing the document!

Change-Id: I780f65ca436caee83094a8591dd9e36b33d921e8
2013-06-13 16:48:19 +02:00
Armin Le Grand
45a8eaf9c5 Resolves: #i121534# Adapted rotated bitmap paints to use own transformer...
due to bad quality of GraphicManager paints

(cherry picked from commit f4887567cc71dca520d57cb6ff2b40eb49142cda)

Conflicts:
	drawinglayer/source/processor2d/vclhelperbitmaprender.cxx

Change-Id: Ie4b5873cdfb8bc7f1f4b288e1f983672343d8847
2013-06-13 15:46:44 +01:00
Jan Holesovsky
b0f10dd326 Revert "bnc#819614: Fix runaway lines."
This reverts commit 5fe65c0c5e.

Unfortunately this causes a regression elsewhere.

This also disables the unit test for this bug - will re-enable when I find
a fix that both fixes this, and does not regress other stuff :-)

Change-Id: Iad334e3c59c928edb78f25c0f36a33a26a7e6125
2013-06-13 16:22:51 +02:00
Armin Le Grand
e0cce521f1 Resolves: #i121504# Support for alpha channel in clipboard for all systems
(cherry picked from commit ef3931ff410117e1237b3bef7bc090e8b83b9519)

Conflicts:
	automation/source/server/statemnt.cxx
	basic/source/runtime/methods.cxx
	canvas/source/vcl/devicehelper.cxx
	canvas/source/vcl/spritedevicehelper.cxx
	drawinglayer/source/processor2d/vclhelperbufferdevice.cxx
	drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx
	drawinglayer/source/tools/converters.cxx
	dtrans/source/win32/dtobj/FmtFilter.cxx
	editeng/source/items/bulitem.cxx
	extensions/source/scanner/sanedlg.cxx
	external/gcc3_specific/makefile.mk
	filter/source/graphicfilter/eos2met/eos2met.cxx
	filter/source/graphicfilter/ios2met/ios2met.cxx
	filter/source/msfilter/msdffimp.cxx
	fpicker/source/office/iodlg.cxx
	framework/source/fwe/classes/addonsoptions.cxx
	framework/source/fwe/helper/actiontriggerhelper.cxx
	sc/source/filter/excel/xiescher.cxx
	sc/source/ui/docshell/docsh.cxx
	sc/source/ui/inc/viewfunc.hxx
	sd/source/ui/app/sdxfer.cxx
	sd/source/ui/unoidl/unopage.cxx
	sd/source/ui/view/sdview3.cxx
	sfx2/source/appl/fileobj.cxx
	sfx2/source/appl/linkmgr2.cxx
	sfx2/source/dialog/filedlghelper.cxx
	sfx2/source/dialog/intro.cxx
	sfx2/source/doc/docinf.cxx
	sot/inc/sot/formats.hxx
	sot/source/base/formats.cxx
	svtools/bmpmaker/bmpcore.cxx
	svtools/bmpmaker/bmpsum.cxx
	svtools/inc/svtools/transfer.hxx
	svtools/source/filter/filter.cxx
	svtools/source/filter/wmf/emfwr.cxx
	svtools/source/filter/wmf/enhwmf.cxx
	svtools/source/filter/wmf/winwmf.cxx
	svtools/source/filter/wmf/wmfwr.cxx
	svtools/source/graphic/graphic.cxx
	svtools/source/graphic/provider.cxx
	svtools/source/misc/transfer.cxx
	svx/inc/svx/xoutbmp.hxx
	svx/source/sdr/overlay/overlaymanagerbuffered.cxx
	svx/source/xoutdev/_xoutbmp.cxx
	sw/source/core/view/viewsh.cxx
	sw/source/filter/ww1/w1filter.cxx
	sw/source/filter/ww8/ww8par.hxx
	sw/source/ui/dochdl/swdtflvr.cxx
	toolkit/source/awt/vclxbitmap.cxx
	toolkit/source/helper/vclunohelper.cxx
	vcl/Library_vcl.mk
	vcl/Package_inc.mk
	vcl/aqua/source/dtrans/DataFlavorMapping.cxx
	vcl/aqua/source/dtrans/OSXTransferable.cxx
	vcl/aqua/source/dtrans/PictToBmpFlt.cxx
	vcl/aqua/source/dtrans/PictToBmpFlt.hxx
	vcl/inc/vcl/alpha.hxx
	vcl/inc/vcl/bitmap.hxx
	vcl/inc/vcl/bitmapex.hxx
	vcl/inc/vcl/pngwrite.hxx
	vcl/inc/vcl/salbtype.hxx
	vcl/inc/vcl/wall.hxx
	vcl/source/gdi/animate.cxx
	vcl/source/gdi/bitmap2.cxx
	vcl/source/gdi/bitmapex.cxx
	vcl/source/gdi/bmpconv.cxx
	vcl/source/gdi/cvtsvm.cxx
	vcl/source/gdi/impgraph.cxx
	vcl/source/gdi/impimagetree.cxx
	vcl/source/gdi/metaact.cxx
	vcl/source/gdi/wall.cxx

Change-Id: I79938bc412c048c3d4e64f430f216e73bec16167
2013-06-13 14:50:46 +01:00
Cédric Bosdonnat
6ed3ef87d2 Fixed libcmis handling of related multipart content types
Change-Id: I8468286be1affc635838b5329d2df72b53f5c9de
(cherry picked from commit 6b10219eefc0d6bd0e871976d6fe781a26020c8b)
2013-06-13 14:54:46 +02:00
Fridrich Štrba
c7157dd841 Change the paths to ones that exist
Change-Id: I60de04bba401632b01f0da7b772a91a98de5ff07
2013-06-13 14:56:33 +02:00
David Tardon
14c139e370 fdo#62224 set spacing to content too
Change-Id: Idafcd96ff8b01139dfc22cf3d0d2f5e98759488e
2013-06-13 14:48:17 +02:00
David Tardon
118141cb83 gbuild: fix output
Change-Id: Ifbe4a0b6b93c5be6dfd64b6c77ef7172d3f1c425
2013-06-13 14:48:16 +02:00