summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-01-28Fix apparently broken OSL_ASSERT (that would have never fired)Stephan Bergmann
Change-Id: I0a79282466879f00f47e00aa646f827dfe028712
2014-01-28!STATE_CHECK shall presumably be STATE_NOCHECKStephan Bergmann
Change-Id: Ic037c105a8867585489671bab71a6db9186bada4
2014-01-28Fix odd bSimple = ThreeDLookScheme_Simple argumentsStephan Bergmann
...where ThreeDLookScheme_Simple == 0, so actually passing bSimple = false, but ultimately this argument gets ignored anyway in the implementations of those two getDefault*LightColor calls that each pass in a null xChartType. Change-Id: I7940321562254a2b58064c160f9c18ecc129f2d5
2014-01-28Fix apparently broken OSL_ASSERTs (that would have never fired)Stephan Bergmann
Change-Id: I10c5152ca09be49625f960e6dc3228ec2284ce58
2014-01-28Apparently missing "nPos <"Stephan Bergmann
Change-Id: Id334f044d475de7ef14503e1a45190a0021d58be
2014-01-28Apparently broken bitmask operationStephan Bergmann
Change-Id: Id4dfa3d4676b50a86fd6044d501de15b122bb7f1
2014-01-28Whatever this dead code was ever supposed to be good forStephan Bergmann
...it would never fire as ARGS_ARE_XY_VALUES is a non-zero enum member. The code had been like that since the initial import. Change-Id: Icc3c329218b3105123b2a1448ff9a2838ecd4912
2014-01-28Apparently broken bitmask creationStephan Bergmann
Change-Id: I001a529b6690fe421d626133e0257c71df1d5ddf
2014-01-28Apparently broken bitmask checksStephan Bergmann
Change-Id: Ie5749b43de5e47cfede4662e346dee194c454b2f
2014-01-28Apparently missing "== nError1"Stephan Bergmann
Change-Id: I9096e00db4c94b318406b022f675bb866f568d7e
2014-01-28using cppu::WeakComponentImplHelperBase::rBHelper; does not work hereMatúš Kukan
Change-Id: I07422d10f7a3e84fdbe62e93b6c5a59323d8a7a8
2014-01-28copy&paste typoMatúš Kukan
Change-Id: I528a6a747e88fe2a4b4abfd9372daddf4e8aa502
2014-01-28fwk: Constructor feature for one instance UICommandDescription.Matúš Kukan
Change-Id: I3b772ce36492e89451597b3c7dadc5e5b5b22de7
2014-01-28Introduce com.sun.star.frame.theUICommandDescription singleton.Matúš Kukan
Change-Id: Ic88cca3722d555ba48d7da8c176556fa1ff90650
2014-01-28fwk: Constructor feature for one instance UICategoryDescription.Matúš Kukan
Change-Id: I56c906c9eeafb625dee65eec9fe39ea3aee66251
2014-01-28Introduce com.sun.star.ui.theUICategoryDescription singleton.Matúš Kukan
Change-Id: I79a78f208b2aa5eaacbd2e349b2b5066afa1ad23
2014-01-28Introduce com.sun.star.frame.theAutoRecovery singleton.Matúš Kukan
To replace com.sun.star.frame.AutoRecovery single-instance service, incorrectly converted in 279859fdbc40f68d8f1649fa5b928d9de49e8d9e Unfortunately needs a lot of changes in autorecovery.cxx. Change-Id: Iba5188dffea3e03803236f23e0b3f343746ace90
2014-01-28Support direct ctor calls for singletons too.Matúš Kukan
Change-Id: I6db797c950b8222b3ad95faff86adf5e7b41ff4b
2014-01-28This has always only converted the condition of ?: to longStephan Bergmann
...not the resulting value, and seems unnecessary anyway. Change-Id: I8c58b180af2bd36f2c3dbcad888c3dd0b9e4c87d
2014-01-28fdo#74014: Better fix, to re-use existing method.Kohei Yoshida
Change-Id: Ib62270f695d90190be03aed694a4d2cf395b35b5
2014-01-28coverity#707723 Uninitialized scalar fieldCaolán McNamara
Change-Id: I137d29a05efaa4b709a362a02ca0c78bd7a3e048
2014-01-28coverity#707747 Uninitialized scalar fieldCaolán McNamara
Change-Id: I6bc4dbdd46a945d77b85ef8ec9c6333784cd0039
2014-01-28hidpi: Set the mnDPIScale during initialization too, of course.Jan Holesovsky
Change-Id: I71b4607d08c7f764670903c5c8e66f451fe2eb57
2014-01-28Related: fdo#73051 make font size drop down of optimal widthCaolán McNamara
presumably keithcu felt the font size was too wide, so lets try and implement the desired effect of an optimal width. Change-Id: Idc1741de04b3559fa415ebcf2289f96ba240ca8f
2014-01-28coverity#705167 Missing break in switchCaolán McNamara
Change-Id: Ia87d4dce6780ce1f69b031599c1a211436f4f819
2014-01-28MSVC apparently does not pack bitfields of different typeStephan Bergmann
...so c963d7e642c24f40c19fb9dc227db5da96728c12 "bool improvements" changed the size of some structs in sw/source/filter/ww8/ww8struc.hxx that are used for raw IO and thus have fixed layout requirements. Reverted that part of the commit and instead use explicit conversion between bool and sal_uInt16 where necessary. Also added static asserts for those structs that were easily identifiable as being used for raw IO. (Also reverted the bools in some other structs that were not (easily) identified as being used for raw IO even if that might thus not be necessary, but better safe than sorry.) Change-Id: I60e17a2821d67961f50691625999f2aa72c5ebce
2014-01-28Resolves: fdo#73051 font size menubar widget too narrowCaolán McNamara
regression since 7347482cc360ad3dc9ed77047441c2e30476fed3 Change-Id: I44e1709f5f391c4ce8b5eaddf02da6fd9652d030
2014-01-28ooxml: Small code refactorJacobo Aragunde Pérez
* Use PUT_PROPS macro in all cases. * Added putPropertyToGrabBag( OUString, Any ) to avoid the explicit creation of a PropertyValue object every time. Change-Id: If098dd3a94d1843c4c5dbc3a507b05754d9d59c7
2014-01-28ooxml: Preserve shape style effect attributesJacobo Aragunde Pérez
Preserve <a:effectRef> tag and its contents from inside shape style properties tag <wps:style>. Added some lines to existing unit tests to check for the preservation of these attributes. Change-Id: I6e47b228dcc9788a4a2dfe87bd1186d2f04dbeea
2014-01-28give MSVC a hint to not break the build, fdo#74042 relatedEike Rathke
... and be explicit about std::min() types. Change-Id: I6a0dd499d1a29d389ee9da31b71639e3c7c1a6ae
2014-01-28swpagerelsize: take care of Sz.GetWidthPercentRelation() in SwFlyFrm::CalcRelMiklos Vajna
This allows two type of relative sizes: relative to margin (default, what we had before) and relative to the entire page. Change-Id: I1625f072365e418352f3d507764e03484bb812be
2014-01-28swpagerelsize: implement RelativeWidthRelation UNO property for SwXFrameMiklos Vajna
Which exposes SwFmtFrmSize::eWidthPercentRelation. Do not document yet, will be done if layout/filters/UI confirms that the data structure is suitable. Change-Id: Ic4eac3356452f4bedf9809ff5678e299b7339053
2014-01-28swpagerelsize: add an eWidthPercentRelation member to SwFmtFrmSizeMiklos Vajna
Relative width so far was always relative to margin. This new member can describe if the relative width should be relative to e.g. page. Change-Id: Idaed3c1ade8cd49021ed3406abd6f79cf8e742be
2014-01-28fdo#74042 Don't attempt to copy more than a string has to offerMaxim Monastirsky
Change-Id: I5898efeaecce2cf2ee7d4ac581a21761533138bd Reviewed-on: https://gerrit.libreoffice.org/7698 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2014-01-28Resolves: #i124121# prevent italic emulation with ITALIC_DONTKNOW fontsHerbert Dürr
(cherry picked from commit a8cd1fab9a17df6179c31e1a73816f1bcd627a9b) Conflicts: vcl/aqua/source/gdi/ctfonts.cxx Change-Id: Ib2893a0ce119ac56ac7091fd18a652fe990e82ec
2014-01-28coverity#705144 Missing break in switchCaolán McNamara
Change-Id: Ie3c28d7172ec17ed7de6033c6eada6fb66d1cdf2
2014-01-28coverity#705141 Missing break in switchCaolán McNamara
Change-Id: I9b94f1056fa62b2c0c609f6d448e1750bb0e9ce5
2014-01-28uno: Let C++ inline functions return bool instead of sal_BoolStephan Bergmann
...to improve diagnosing misuses of boolean expressions in client code (cf. compilerplugins/clang/implicitboolconversion.cxx). This change should be transparent to client code. Change-Id: Id4f3c7159c5cfac56dd9edf4d1a43e36eed39fec
2014-01-28salhelper: Let C++ inline functions return bool instead of sal_BoolStephan Bergmann
...to improve diagnosing misuses of boolean expressions in client code (cf. compilerplugins/clang/implicitboolconversion.cxx). This change should be transparent to client code. Change-Id: I2c7779ad07daa77ae06709c1f6512f2fa25fcd36
2014-01-28Explicit null checkStephan Bergmann
Seen this cause JunitTest_sc_unoapi once with a NullPointerException, though I do not know whether ac can legitimately be null here. Change-Id: I1ca40dfca2d1a597842fba011a813be8154d8dd8
2014-01-28cppu: Let C++ inline functions return bool instead of sal_BoolStephan Bergmann
...to improve diagnosing misuses of boolean expressions in client code (cf. compilerplugins/clang/implicitboolconversion.cxx). This change should be transparent to client code. Change-Id: I4c9a55f8c7d0f05fda617f9b33d93ce78bb8fbeb
2014-01-28typelib: Let C++ inline functions return bool instead of sal_BoolStephan Bergmann
...to improve diagnosing misuses of boolean expressions in client code (cf. compilerplugins/clang/implicitboolconversion.cxx). This change should be transparent to client code. Change-Id: Ie011e52f6cb022fd1d24f6a872037f3023060247
2014-01-28Resolves: #i123950# Corrected/extended interactive crop feature...Armin Le Grand
to work in all situations (cherry picked from commit a440c753532e9ae1747ef3b3ed990d8b713913da) Conflicts: include/svx/sdr/overlay/overlaybitmapex.hxx svx/source/svdraw/svddrgm1.hxx svx/source/svdraw/svddrgmt.cxx svx/source/svdraw/svdmrkv.cxx svx/source/svdraw/svdograf.cxx Change-Id: I33601a429657965fcc9b18da85aa5ffabad65983
2014-01-28drop RID_SCDLG_INSCONT, etc. nowCaolán McNamara
Change-Id: Iee2eaf89f662b61fc4ec32b353b13417ee6b2610
2014-01-28coverity#705140 Missing break in switchCaolán McNamara
Change-Id: I1b08e9afda2eeb3c4c79154376f34cad3e1f0a4c
2014-01-28coverity#705139 Missing break in switchCaolán McNamara
Change-Id: Ie4fc12e93a51bc117ec82058c579593f7677cd9b
2014-01-28coverity#705138 Missing break in switchCaolán McNamara
Change-Id: Ia7f2211bb4a8c006259c9db6a2eac64593f8e91e
2014-01-28coverity#705513 Dereference null return valueCaolán McNamara
Change-Id: I7fd1569fe5d5c4383f028915af95fec55b8f8121
2014-01-28coverity#705602 Big parameter passed by valueCaolán McNamara
Change-Id: I4f96325d6387bf7e8859d09f1d5b41c605e8227d
2014-01-28coverity#705810 Dereference before null checkCaolán McNamara
Change-Id: I2fab51f08c461faaf4b88b4b7c0b887ba877226c