summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-03-25fdo#76568 remove BerkeleyDB from license textAndras Timar
Change-Id: If269f9058bba37eca8abf4745fd30214fbdd1890
2014-03-25prevent KDE/Qt from interfering with the session managerLuboš Luňák
I occassionally get lockups in IceProcessMessages() called from QtCore, I'm actually not exactly sure why, as theoretically two connections from one app shouldn't be a problem, but since LO does its own session handling, there's no need to the KDE/Qt code to be involved, so prevent it from connecting to the session manager altogether. Change-Id: Iebe20d4cb5403e5fea8bd5d8c1f69b62d1c2907b
2014-03-25Avoid possible resource leaks by boost::scoped_arrayTakeshi Abe
Change-Id: I14e1f7ef217eb5e8e9db9f8962af868ab0a4ab81
2014-03-25remove commented codeThomas Arnhold
commented out since it came in with 835219840d42cfb891614db2ed7bf0386293468a
2014-03-25add parameter to supress dialogMathias Supp
With the new parameter you can now supress the dialog for document compare in writer. Change-Id: I984ee75552e5c006332331510df5d437b687903f
2014-03-25avoid repeated table layouting (fdo#75622)Luboš Luňák
With the document from fdo#75622, this saves 3775 calls and leaves only 13. e586fe4585dc07e6f6dd061d09f6a7fb0b22948c removed avoiding the call to LayoutTable(), which made loading slow. I checked that the doc from that bugreport still works, so if very original code was correct in avoiding the call sometimes, this should be ok too. Change-Id: Ia80f974d4497e5cb04612331527eb87b579ddb76
2014-03-25use a grid instead of a box because they shrink betterCaolán McNamara
Change-Id: If271f02d99625ffa6fd418cf83307add7c09d802
2014-03-25Remove commented-out debug codeStephan Bergmann
Change-Id: I1442d57eb2f80d98370549659eece5a2cd7db3c5
2014-03-25Adapt to sal/log.hxxStephan Bergmann
Change-Id: I96786bcab1205d212926af6c7c6afbf88bfe1453
2014-03-25fdo#76563 DOCX import: speed up importing lots of hyperlinksMiklos Vajna
The problem was that in writerfilter::ooxml::OOXMLStreamImpl::lcl_getTarget(), we went over the list of all hyperlinks for each request. Instead, let's do it once, and in the remaining cases just look up the result from a map. Numbers before on my machine (ms, load time): 2215, 2243, 2205 After: 1362, 1358, 1358 So that causes about 39% speedup for a non-debug build. Change-Id: Ib4718abbe834c5ba49a85469148b656e3c808041
2014-03-25Revert "avoid infinite loop when setting vert. text dir."David Tardon
The problem is already fixed by 33c310b6ff9feb277c001ce61db96864baedc3bc and 1a67b7cc3d5dc3dcd0de0e247f638c33d57dea1b . This reverts commit 363119a9f2f0710a55530909330efb343d5a8bae. Change-Id: Ieac14da9f37849cd51d14ed0035b3808b8dd77c0
2014-03-25update test filesDavid Tardon
Change-Id: I937a85fa7bda7df13e79e704973c21bfc732ba66
2014-03-25i115391 corected from isLocked to IsPasteResize which was used in modifiers ↵Armin Le Grand
for CustomShape and TextShape (cherry picked from commit 473a118a62842270b85713d0ab0dc247b5778439)
2014-03-25Reduce IAccessibleTabListBox to what's actually usedStephan Bergmann
...the calls to getAccessibleChild(0) and getHeaderBar(BBYTE_COLUMNHEADERBAR) ultimately all ended up at AccessibleBrowseBox::implGetHeaderBar(BBTYPE_COLUMNHEADERBAR). Change-Id: Ie25659e19d0d1ce2dcde2d1440ecc69b4fa265b0
2014-03-25Remove dead codeStephan Bergmann
Change-Id: Ia9035189bd01d3a3e5e3222760fc392f3f78880f
2014-03-25Remove dead codeStephan Bergmann
Change-Id: Id522113f1ba0c9e7b1356acc01a79e0e90a5e752
2014-03-25Remove dead codeStephan Bergmann
Change-Id: I59fb7843d5c9a6cf2873b6d668d0e9dccff316d2
2014-03-25Remove stray fprintfMatteo Casalin
Change-Id: I9d85108b8c2659f1b167299840772f51f80b2e29
2014-03-25Simplify by choosing shape kind in SvXMLElementExport constructorMatteo Casalin
Change-Id: I6d8e1e3c78675b6096f354cace3ff060801cad9e
2014-03-25Use isEmpty and endsWithMatteo Casalin
The isEmpty could be redundant, since the first test for length in the old code seemed to be just a pre-condition for evaluating the expressions in the second one. Change-Id: I0d1838d5eb143196a0d7be0cbadf9f0a59cff71b
2014-03-24Let's be more defensive here by checking for null return objects.Kohei Yoshida
Change-Id: I5164e7d82f882ea9fe296a5a2df616d396d6726f
2014-03-24Better to associate true for "enable" and false for "disable".Kohei Yoshida
The code reads better this way, and certainly is easier on human brain to process their logic. Change-Id: I3150fca3385931b9fe01ad13cb11fab410331349
2014-03-24Do not compare the same OUString twiceMatteo Casalin
Change-Id: Id915a41e3cc50720d36955da9aa2c7efa6c9034c
2014-03-24OUString* to const OUString* as constructor argumentMatteo Casalin
Change-Id: I54e3b086c57b9b727ffdd5d3aa0c38c2c2ea2954
2014-03-24sal_uInt16 to sal_(u)Int32 + some constificationsMatteo Casalin
Change-Id: I60a552f14c4c4735f702581be18231e658cb30e7
2014-03-24Remove temporary OUString by bailing out earlyMatteo Casalin
Change-Id: I58e63b11c684d686e0e0830bb4e0e3b7fc9bbc32
2014-03-24Remove temporary OUStringsMatteo Casalin
Change-Id: I328eb08b719b5fdd51e1ca7c5c6fa3546ac90adb
2014-03-24sal_uInt16 to sal_Int32/int and remove some temporariesMatteo Casalin
Change-Id: I2ab4bb2f57c95d2d4b1029fd6e324ebbe0ff7148
2014-03-24sal_uInt16 to sal_Int32 and remove a temporary OUStringMatteo Casalin
Change-Id: Ia305ad3b1e04129e172f0f2fe3428f84e4654576
2014-03-24Constify and reduce scopeMatteo Casalin
Change-Id: If80b842a79d476e5e90eeedc4520fc952c8f8f2a
2014-03-24Remove some OUString concatenated appends and some temporariesMatteo Casalin
Change-Id: I9f92a57644239b11941236a1cee5302eca993a7b
2014-03-24Result of expression is unused, remove that codeMatteo Casalin
This code has been there at least since 2000-09-18, so removing it seems to be safer than adding the evaluated token to the sMsg OUString, as the surrounding code would suggest. Change-Id: Ie9b2446b80a7bf79efbf6963b3a5e40548d4154c
2014-03-24sal_uInt16 to sal_uLong and remove unneeded castMatteo Casalin
Change-Id: I45152c575720e0720139d8a6d973333b105e1fa5
2014-03-24sal_uInt16 to sal_Int32Matteo Casalin
Change-Id: I9d92d5866be5f579a2d645d9039f9fb939e6e61e
2014-03-24Group common expressionMatteo Casalin
Change-Id: Id286b57ccba1edb35490c374740a58128ce7f0c4
2014-03-24sal_uInt16 to sal_Int32 and removed some unneeded castsMatteo Casalin
Change-Id: I122af4ed8a2504242f527cf98b26c9e1599497ea
2014-03-24sal_uInt16 to long in NumberingPreview::Paint and its helpersMatteo Casalin
Change-Id: I52f3365a00f05bf1ff34f5a01cb0c0dbdf2fda11
2014-03-24sal_uInt16 to long and constify loop boundMatteo Casalin
Change-Id: Iad9498676994cd60521f251fd84dcc2b90b54e88
2014-03-24Improved integer type consistence + some optimizationsMatteo Casalin
Change-Id: I5e2a6ef9c3f744997e9e473e9431d590ba6f9d04
2014-03-24sal_uInt16 to sal_Int32, reduce scopes, constifyMatteo Casalin
Change-Id: Idc283b9e9ebb2e1745c4bad54a27db3e73712bbc
2014-03-24sal_uInt16 to size_t/longMatteo Casalin
Change-Id: I9284ef8c51f9639ad4f7c0c4b4f65019a4ca524b
2014-03-24sal_uInt16 to sal_Int32 and remove OUString temporariesMatteo Casalin
Change-Id: I476fb65a1e55db084bb12e61e6d3d9ccf3a41637
2014-03-24sal_uInt16 to size_t and optimizationsMatteo Casalin
Removed unneeded casts, adapted cycles, reduced scope... Change-Id: I1781a9d4c42bd6b85f16e9573d0bc2b201084646
2014-03-24made range not editable if password is assignedEike Rathke
... until we can verify the password. Change-Id: I3690e9d8c0e07185a0533b669a034581895ab57a
2014-03-24coverity#735476: bRepeat is always false.Kohei Yoshida
Therefore act accordingly. Change-Id: Ie737c053a935d3cc0e0c03ab30da2cf3fde0e401
2014-03-24coverity#704301 Logically dead codeCaolán McNamara
Change-Id: I865979464a2abe51136b577fdb10ec0ae9faf11e
2014-03-24coverity#704300 Logically dead codeCaolán McNamara
since af22075998a021d23ec1b266433f239d3200c35d "undoapi: attempt to fix broken Undo contexts after executing a script" in 2010 Change-Id: I95f5ebf8960dc82d4a6da1ef186ba524e3cddfd1
2014-03-24coverity#704298 Logically dead codeCaolán McNamara
Change-Id: Ic2f52bb5ec072f11c99f20455e4536bc298b47c7
2014-03-24coverity#704294 Logically dead codeCaolán McNamara
Change-Id: I347b8cfaf6d608e59dec25bb80a96ba862b3fcae
2014-03-24Resolves: fdo#73466 overflow on addition to COMPLETE_STRINGCaolán McNamara
sw/source/core/text/itrcrsr.cxx:1632 SwTxtSizeInfo aSizeInf( GetInfo(), &rText, nCurrStart ) where nCurrStart is non 0 and the hidden 4th argument to SwTxtSizeInfo is COMPLETE_STRING in the past it was STRING_LEN unsigned 16bit 0xFFFF and so in GetMinLen in sw/source/core/text/inftxt.cxx adding x to it resulted in x-1 which at least is in bounds if selected by the std::min Change-Id: I78f176804b79fb3c991677adb016579eabcfd56f