Commit Graph

328484 Commits

Author SHA1 Message Date
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
Thorsten Behrens
deaa9689e2 Add some error handling to bitmap conversion.
Fixup for 7cf2b5809f, makes sure cairo
has all data committed to the surface, and handle random errors.

Change-Id: I39e5b5777968c4563a8ce3870bac3d4182090f3b
2013-06-13 12:48:16 +02:00
Noel Power
c32dd08cfb blind ( windows ) fix re. uno::Refererence vs rtl::Reference foobar fdo#65545
Change-Id: I81b877e8e1b6945c2f1265947ad915ed1070800a
2013-06-13 11:43:46 +01:00
Miklos Vajna
c7e237045d fdo#58819 VML export: handle objects anchored in the header / footer
Previously such shapes landed in the middle of section properties.

Change-Id: I7993eaa721e2b53d8adb1cbdee40992bbeb11416
2013-06-13 12:16:11 +02:00
Caolán McNamara
5bf554a891 Related: fdo#65595 password dialog has truncated label
Change-Id: I7b18bebb878fc5027109121595e444ef1d6a7cfc
2013-06-13 10:37:03 +01:00
Armin Le Grand
67608078a8 Resolves: #i121463# Enhanced handle visualization..
and some fixes in that region

(cherry picked from commit 2ece2411aa1ab78e6aec269d08d8a9b526390939)

Conflicts:
	default_images/svx/res/cropmarkers.png
	default_images/svx/res/cropmarkers2.png
	default_images/svx/res/cropmarkersACC.png
	default_images/svx/res/markers.png
	default_images/svx/res/markers2.png
	default_images/svx/res/markersACC.png
	officecfg/registry/schema/org/openoffice/Office/Calc.xcs
	officecfg/registry/schema/org/openoffice/Office/Draw.xcs
	officecfg/registry/schema/org/openoffice/Office/Impress.xcs
	officecfg/registry/schema/org/openoffice/Office/Writer.xcs
	officecfg/registry/schema/org/openoffice/Office/WriterWeb.xcs
	sc/source/core/tool/viewopti.cxx
	sd/source/ui/app/optsitem.cxx
	svx/inc/svx/svdhdl.hxx
	svx/source/svdraw/svdhdl.cxx
	svx/source/svdraw/svdstr.src
	sw/source/ui/config/viewopt.cxx
	sw/source/ui/docvw/edtwin.cxx

Change-Id: I4094c2ca18a3c29e8e24a15ddeb040808ce4605d
2013-06-13 10:37:03 +01:00
Caolán McNamara
de435e745a Updated core
Project: translations  0951535c576e6a2693b25311832b25bcd67b7bb3
2013-06-13 09:36:35 +00:00
Tor Lillqvist
504638e73f Disable Graphite for Android and iOS
It definitely does not make sense for iOS, I assume. For Android the situation
is unclear, but let's disable it for now. It causes linking errors currently
anyway as the graphite_serverfont.cxx is not compiled for Android. (Whether it
could and should be compiled then instead of disabling Graphite, I don't
know.)

Change-Id: I1a874d304af508d2217da08e49dc158664f2e9d2
2013-06-13 12:29:22 +03:00
Miklos Vajna
837ccd73e2 DOCX: don't export auto color as page background
That auto here would mean black, potentially rendering the whole
document unreadable.

Change-Id: Ie17a6a9b00c9ab24204291d09175a3fba69cd4ea
2013-06-13 11:03:41 +02:00
Tor Lillqvist
348c7ca4b7 Simplify EPM tests for OS X
We always should use the internal epm anyway on OS X, so no need to
look for PackageMaker.app in /Developer which doesn't even exist any
more.

Change-Id: I943f34e14e9ce0c3bec5bd7b86612a62e5b9e83d
2013-06-13 11:15:06 +03:00
Stephan Bergmann
9760621b5c Work around -Werror=type-limits when plain char is unsigned
...assuming the original intent of the code was to check for ASCII range 0x20--
0x7F.

Change-Id: I8033890a76e059d997efb01431207a453f00a981
2013-06-13 10:04:20 +02:00
Stephan Bergmann
7142090557 Remove dead code related to unused WITH_SVP_LISTENING
Change-Id: I8a12d0ea18a60541d9a11db26cc417a190443ff4
2013-06-13 09:49:36 +02:00
Stephan Bergmann
42bb40a7ed Enable -fstrict-aliasing, -fstrict-overflow in -O0 debug builds
...so that -Wstrict-aliasing, -Wstrict-overflow=1 included in -Wall do not only
produce warnings/errors in non-debug builds.

Change-Id: I4534427738fa7688853564e8c7255a0c3cd199e1
2013-06-13 09:49:35 +02:00
Stephan Bergmann
64600ceed4 gb_COMPILERNOOPTFLAGS, gb_COMPLEROPTFLAGS, gb_DEBUG_CFLAGS all already defined
...in com_GCC_defs.mk

Change-Id: I0a3b29e1a91acf3425afa44dea0353bebf88f58f
2013-06-13 09:49:34 +02:00
Stephan Bergmann
5ccbd3f5c3 Generate full backtraces, including local variables
Change-Id: Ia655865b621b1c8e37a52715b89534a00dcda1d7
2013-06-13 09:49:34 +02:00
Stephan Bergmann
8790f80d68 Only print the rtl::Reference's pointer
...but do not pretty-print its dereferenced value.  This is in line with the
handling of css::uno::Reference, and avoids gdb Python exceptions when trying to
print uninitialized rtl::Reference instances (which can e.g. happen during a
"backtrace full").

Change-Id: I9a3c0a6441cf23cba748183226832d2ba23bd531
2013-06-13 09:49:33 +02:00
Adam Co
db23f89b76 fdo#65655 : fix for Different_Odd_And_Even_Pages flag ignored
Signed-off-by: Miklos Vajna <vmiklos@suse.cz>

Conflicts:
	sw/qa/extras/ooxmlexport/ooxmlexport.cxx

Change-Id: Icf9949bb00aa905d22aedfd8f2b297dfa89dfedb
2013-06-13 09:40:06 +02:00
Markus Mohrhard
c688919620 a few more fixes for crashes around cell text attr storage
Change-Id: If5d6f4baf49b5828a1765b638eb4d2225f7b5400
2013-06-13 09:26:29 +02:00
Markus Mohrhard
52fcfa0707 remove method without definition
Change-Id: Ia41f28ed31fc254a6785c6444a78822eb969f2f9
2013-06-13 09:26:29 +02:00
Andras Timar
3c3075bdc8 work around lexer bug in l10ntools
Change-Id: Ie53e5475888b9a912f868c12c471b2521f6b0ea1
2013-06-13 08:28:19 +02:00
Andras Timar
34f0478ba8 make categories localizable in Elements docking panel
Change-Id: Ic1e4af8f8dd60ab48d701b5d713beafd0ddd22df
2013-06-13 08:03:38 +02:00
Andras Timar
eaf4c51ea9 typo: s/CATERGORY/CATEGORY/
Change-Id: I37f2db8b073ad1257101af02118cfbc91ee60f26
2013-06-13 08:03:38 +02:00
Matúš Kukan
f5d3fb36ab scp2: remove unused defines
Change-Id: Icac7b4dd5dd31f39e0db09e251e7136e61a064aa
2013-06-13 07:50:33 +02:00