summaryrefslogtreecommitdiff
path: root/svx
AgeCommit message (Collapse)Author
2014-07-20vcl consitent use of long for corrdinateNorbert Thiebaud
most of length in vcl are calculated in 'long' but array of X position tend to be in sal_Int32. As a prep work to be able to support 'double' as the base type of Device Coordinate, harmonize the use of 'long' for non-float coordinate. Change-Id: I7cb33301ff6a5e2c62247b36a4e07e168a58a323
2014-07-19XFillStyle -> css::drawing::FillStyleMiklos Vajna
Change-Id: I6b2fabd72fd34f4ac1b3a18f386c90794bc39ce4
2014-07-18coverity#1215318 Uncaught exceptionCaolán McNamara
Change-Id: I784198cacba86fe1778e49ceebe574b9cbd6888b
2014-07-18coverity#1226494 Uninitialized pointer fieldCaolán McNamara
Change-Id: I88d0414ea6188e807aa347dce4567821e0b7c6f3
2014-07-18CharBackColor advertised in unoshap2.cxxmatteocam
Reviewed on: https://gerrit.libreoffice.org/10272 Change-Id: I696c152f9c053b745ab753a8899cc447eba8d1f8
2014-07-18inline unnecessary typedefNoel Grandin
Change-Id: Ie33e6b9038d6c18482c2ba7aa47f62d23973ab08
2014-07-17Renamed brdcst.[hc]xx to SfxBroadcaster.[hc]xxTobias Lippert
- Remove includes from files where they are not needed. - Update pch files Change-Id: I0188e3934ef429008c1ef495ab1d5b27f38664d5 Reviewed-on: https://gerrit.libreoffice.org/10342 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-07-16Convert RID_OFADLG_OPTIONS_TREE to .uiPalenik Mihály
Conflicts: cui/source/inc/treeopt.hxx cui/source/options/treeopt.cxx Change-Id: I971c7760e7252321aeca8a4f403515562a9057bb Reviewed-on: https://gerrit.libreoffice.org/10323 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-07-16coverity#707280 Uncaught exceptionCaolán McNamara
Change-Id: I764f6472903e6aebef55af1e96c4941e8429d18f
2014-07-15Related: fdo#80633 we can retain cached size for visibility changeCaolán McNamara
we still need to invalidate the layout of our parents, but we can keep the cached optimal size Change-Id: I8e77366bd61ff45d34f9d411c7f501a3a9ccbd4e
2014-07-14Related cp#1000084: Make this work for other apps too and set proper defaultMatúš Kukan
Extend d98c817cc71e62a2beecc7142062f9ef33a7149b and fix default. Change-Id: I79ad35bd5ad6fbd6e7d260864d4bf40fafb6b604
2014-07-11bnc#883684: Better fix for this.Kohei Yoshida
Instead of making all chart objects exempt from unloading, check each OLE object on whether or not it already has its persistent storage created. If not, don't unload it else it would have nothing to load back from once unloaded. Change-Id: I2312e86c9376d3699ef4aa1e0cf2f4c04f706c1e
2014-07-11new loplugin: externalandnotdefinedNoel Grandin
Find "missing headers," where a function is declared directly in the .cxx (as extern) and not defined, and should arguably instead be declared in an include file. Change-Id: I6d83ee432b2ab0cd050aec2b27c3658d32ac02a2
2014-07-11drop unused helpidsCaolán McNamara
Change-Id: Ie684da5922d9f645495a1965b9462d0ae2de2342
2014-07-11RID_SVX_XFORMS_TABPAGES conversion to .uiSzymon Kłos
Change-Id: I0f3647e95b2150eb8753aa333eeb492fee76bd2a Reviewed-on: https://gerrit.libreoffice.org/10192 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-07-11Clean up usage of 'this' and constness.Matúš Kukan
Change-Id: I35085bebdec47598a5f927924b429b02b44c0e65
2014-07-11Allow to move only callout handle with shift key (cp#1000084)Matúš Kukan
When line callout was used, you couldn't move the point next to the rectangle. Now it's possible with shift key pressed. Change-Id: I70565e4e3f80daf0e1007031ef7d49036fb0e26b
2014-07-10Move the rest of the members to the impl class.Kohei Yoshida
Change-Id: I80186a617c751420954b27e070559cc8487c7fd9
2014-07-10Move "prog name" (whatever it is) to the impl class.Kohei Yoshida
Change-Id: Ifa4f2f2f923d4800cf5fd540631204492ace1936
2014-07-10pGraphicObject -> mpGraphicObjectKohei Yoshida
Change-Id: I8b396ff1018fb54eecd44624a11bc2e405bb7f84
2014-07-10Move Graphic member to the impl class.Kohei Yoshida
Change-Id: Iee58a6c9b7081a2aa00f6f050574a5827840286b
2014-07-10Head cleanup - use forward declarations.Kohei Yoshida
Change-Id: Icc4fa0acad77d61200eb77cc70e21866590b658e
2014-07-10Move the embedded object to the impl class.Kohei Yoshida
Change-Id: I15af9a74fdcc40d65b3f8b394fc69037c017fe76
2014-07-10Use initializer properly and remove Init().Kohei Yoshida
Change-Id: Ic343ff4ddd51a933ba97971d5a1197f5a25ef772
2014-07-10Clean this up.Kohei Yoshida
Change-Id: If44715c7d88f7494cbb61a7c1b696c0494426c59
2014-07-10use SimpleReferenceObject in sdr::overlay::OverlayManagerNoel Grandin
to replace hand-rolled version Change-Id: I3f47bf686ac07bba03acacace817767f2845af4f
2014-07-09bnc#883684: Make chart objects exempt from automatic unloading.Kohei Yoshida
The Memory option page contains "Number of objects" setting which controls how many OLE objects can be loaded at any given time. When the number of total OLE objects exceeds this number the oldest ones get unloaded. Note that the total number is across all open documents, not per document. Technically, chart objects are OLE objects, but unlike other OLE objects that are embedded Calc, Writer, Draw documents, chart objects normally "belong" to the host document. It therefore makes no sense to subject chart objects to this automatic unloading. In the future we may want to apply this exemption to other types of OLE objects, like formula objects for example.. Or maybe this setting can be removed altogether... Change-Id: I7dd92550880efb4db8fc843cf1c915c712166da4
2014-07-09Scope reduction.Kohei Yoshida
Change-Id: Ibc9314320c7b22f676978bb8b8157844a12c9bf8
2014-07-09Let's not derive from std::vector.Kohei Yoshida
Change-Id: I512d97d36c344df097cc5a1ac90aa9d3d219c1e9
2014-07-09simplify loopDavid Tardon
Change-Id: I26c1456ca805c6f3ecfa5bd4876e7ae345f087e7
2014-07-09fdo#81004 this looks like a mis-merge to meDavid Tardon
Change-Id: I2d30774a8a89002b6c2d8487bfce15eb13c82e0d
2014-07-09drop unused helpidsCaolán McNamara
Change-Id: I385fcf216645a79d5c6cdadd31a37be20938371a
2014-07-09tweak conversion a bitCaolán McNamara
a) rework to remove the need for a ::Resize impl b) move the explicit pixel size into relative APP_FONT size c) lock down the target combobox size so it doesn't jump around Change-Id: Iad995453c178234d1ad0f794b5193920dcd275fe
2014-07-09RID_SVXDLG_IMAP conversion to .uiSzymon Kłos
Change-Id: I6d0ecb693177436a47d1115cdab6d5ec20254f4f Reviewed-on: https://gerrit.libreoffice.org/10105 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-07-08Resolves: #i125211# corrected breaking metafiles with gradient actionsArmin Le Grand
(cherry picked from commit 87637364387e5fd87d3b880ce230caa053ec555d) Conflicts: svx/source/svdraw/svdfmtf.cxx Change-Id: I853f3499121c8708a7de9d04ff2856037061c6ed
2014-07-08don't terminate via unhandled exception on loading ooo89328-1.sxcCaolán McNamara
Change-Id: If266fa0ebaf2c3c0cd54238879a858098066c03d
2014-07-08use SimpleReferenceObject in svx moduleNoel Grandin
to replace hand-rolled version Change-Id: I084a21161ae44991199fbd2b12d61dcb7d592408
2014-07-07DBG_ASSERT->assert when followed by dereferenceCaolán McNamara
Change-Id: Ic1c999ffdc391ea01be5711721e7c9e63179473e
2014-07-07clang scan-build: Dereference of null pointerCaolán McNamara
Change-Id: I7d47d4465bca247d52899239b3d2112790eca579
2014-07-06fix assert for empty string case on loading ooo119654-1.odtCaolán McNamara
Change-Id: I97cbb6ff0f320d9315310cbc06c52c3c4f958a64
2014-07-04coverity#704499-501 Division by zeroNorbert Thiebaud
Change-Id: I5f082f10cb6822707a279d5b38ef2936ad2e5c41
2014-07-04coverity#704033 Uncheck return valueNorbert Thiebaud
Change-Id: I7c119d41d2419f1181f6fe30d501e5142d2586ec
2014-07-04coverity#704032 Uncheck return valueNorbert Thiebaud
Change-Id: Ibb37a059f740580f1d02ed58172451ad5efdd8d5
2014-07-04Avoid possible memory leaks in case of exceptionsTakeshi Abe
Change-Id: I04a0a2c296206f155ee4916b15b853a7f10c2c2a
2014-07-04Drop unused #includesTakeshi Abe
Change-Id: Ief545db58a0dbb26ba293aa71debc816a8925b6c
2014-07-03Generally better to have DLLPUBLIC class with some DLLPRIVATE membersStephan Bergmann
...in the same vein as 80a1a2599e04142683d2286d0e32d0e13fb45de3. Change-Id: I5ffb27f0bc965aede03e6d1e849cd68ef6e16e2a
2014-07-03fix regression in paper format previewCaolán McNamara
regression from 7d9bb549d498d6beed2c4050c402d09643febdfa Change-Id: Iede5abe9fddfff48bd73d69f4b48e178aa2342d3
2014-07-03coverity#706094 Unintended sign extensionCaolán McNamara
and coverity#706093 Unintended sign extension coverity#706092 Unintended sign extension coverity#706091 Unintended sign extension Change-Id: I64ec74ad8eecdb47a6245086ea6e01716a02cd32
2014-07-03use assert when followed by derefCaolán McNamara
Change-Id: I8405e4d8f9fa1de3ef6ee474321b4ac2b4ce1624
2014-07-03Resolves: #i125189# corrected used transparency and handling...Armin Le Grand
to values used in the fallback SvxBrushItem (cherry picked from commit 63f53dbd6cac4fcd7fe568af62f29ae19768085f) Conflicts: sw/source/core/layout/paintfrm.cxx Change-Id: Ifa339c76e8f55a2b4550f1252e6ab3e4dee57080