summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-03-11utl::ConfigItem::Commit() should call ClearModified()Michael Stahl
Rename the virtual function, and add a new non-virtual Commit() to do that. Change-Id: I09421df781ba965d6ff638b46cd8214fb3a00022
2015-03-11dbaccess: PVS-Studio V517 'use of if(A) ... else if (A) pattern'Michael Stahl
Change-Id: Ic89a0437062886f37987a9411d32632413085284
2015-03-11Clean up previous commitStephan Bergmann
Change-Id: Icd4703c1541fa82bbe76f44369434a12cb397a19
2015-03-11canvas: use constructor syntax in canvas.componentChris Sherlock
Change-Id: I983307f7eeb5702c51ca2398e69c9c560c6e2435 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2015-03-11SwDBManager::MergeMailFiles: merge two bCreateSingleFile blocksMiklos Vajna
Change-Id: Ia4290a8bfafc88c8e8e7601d62781c0da250824e
2015-03-11support fast MM printing in non-single-file mode only for CUPSLuboš Luňák
As said in the comment, the non-single-file mode could create way too many print jobs, so enable this only for the CUPS backend, which has been modified to send them as a single batch. Conflicts: configure.ac include/vcl/printerinfomanager.hxx sw/source/uibase/dbui/dbmgr.cxx vcl/inc/cupsmgr.hxx vcl/unx/generic/printer/cupsmgr.cxx vcl/unx/generic/printer/printerinfomanager.cxx Change-Id: I4c02ca0e8b91323b1d02f004c7b4813433064a11
2015-03-11mailmerge doesn't need to use the singlefile technique for printingLuboš Luňák
It should be sufficient for every record to just update the fields and print the document. The printing code apparently rather expects to do the printing in one go, so split the functions up there. Conflicts: include/sfx2/viewsh.hxx include/vcl/print.hxx sfx2/source/view/viewprn.cxx sw/source/uibase/dbui/dbmgr.cxx sw/source/uibase/uno/unomailmerge.cxx vcl/source/gdi/print3.cxx Change-Id: I4d17c703b3220f47609fc4b054ce048b299a0c92
2015-03-11do not needlessly make overriden functions more privateLuboš Luňák
These are public in the base class. Conflicts: sw/source/uibase/inc/view.hxx Change-Id: I839ffe56a835f99c2812cffb60804b74aaa9c5ac
2015-03-11avoid creating temporary document copies in non-singlefile MM modeLuboš Luňák
The singlefile mode needs a new copy for every record, because it modifies it (such as changing fields to text), but the non-singlefile mode does not need all that relatively expensive work, because it just updates the fields and nothing else. Conflicts: sw/source/uibase/dbui/dbmgr.cxx Change-Id: If02cf8aca1d0f050ffb63cd85d5a9455afc5a6ea
2015-03-11do not create temp file(s) during MM if not neededLuboš Luňák
Conflicts: sw/source/uibase/dbui/dbmgr.cxx Change-Id: I1360e215bff42dd866ab1d94a18a8f2f9ddc7c66
2015-03-11Clean up previous commitStephan Bergmann
Change-Id: Ibb7d689bd175959a195d27130db1a29d30f423bf
2015-03-11sc: use constructor syntax in scd.componentChris Sherlock
Change-Id: I997701eb56ca13ff0806f7284e1634c755f06fd5 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2015-03-11V595: pointer was utilized before it was verified against nullptrCaolán McNamara
Change-Id: I271e045ed2f80e648d620f26cd60215f7f806bd1
2015-03-11consistently check hereCaolán McNamara
Change-Id: I38f0e3d606d80b717b27a105ebe72b96f3eba50b
2015-03-11surely this check should preceed deref of pActiveViewShCaolán McNamara
Change-Id: Iaed1dafbae75fa61b15349aedda50a7b2d895719
2015-03-11redundant checkCaolán McNamara
Change-Id: Id6b72a1a3133e47a07ee274f4082dde0e7032894
2015-03-11leak on short readCaolán McNamara
Change-Id: I5da7ec2992f9f0b20aa075ee33d0b882cdf91901
2015-03-11TableRef: need to distinguish between entire table and All specifiedEike Rathke
Change-Id: I507b6dfc0ce1a7b0f28142b05e15834ad6e6ac80
2015-03-11add TableRef stackEike Rathke
Change-Id: If781e6ab13eb5ad175352e330379776d6ca4fcd8
2015-03-11Clean up previous commitStephan Bergmann
Change-Id: Ie64d47123200c23a1aa2c0a81135b265d09c0f63
2015-03-11sc: use constructor syntax in scfilt.componentChris Sherlock
Change-Id: I673c8daabb6438f833571b0c70df1e73e6b8d273 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2015-03-11vcl timers: avoid crash initializing too early.Michael Meeks
We need the default instance created first. Change-Id: I95f51e9ec5d9827f2b1b53bcadb1f43c9e637edd
2015-03-11vcl timers: avoid crash with vcldemo.Michael Meeks
The system timer needs earlier and/or more consistent initialization. Change-Id: I148d98537cc055a091181bd36a654ae35f665aaf
2015-03-11correct b0rken logic that accidentally worked neverthelessEike Rathke
... because sFormula1 in such cases usually (?) is not empty. Change-Id: Idc0b71e258018b4728e3d7e7f8942e0c09b22e5c
2015-03-11fix build after my hasty commitNoel Grandin
10a1b861853bc7c53d03d372f913134f9a9065ad "convert MarkType to enum class" Change-Id: Iad1c294c4836ededea23c5edcb67dea54dd5357a
2015-03-11Move more variables out of the timestamping blockTor Lillqvist
One or more pointers into them apparently gets stored into the NSSCMSMessage data structures during the my_NSS_CMSSignerInfo_AddUnauthAttr() call, and thus when the variables go out of scope said data can and will be reused for some arbitrary other thing, and those pointers in the NSSCMSMessage will point to bogus data. Avoids a crash when compiled with gcc. (No crash when compiled with Clang, it apparently allocates nested block stack variables differently.) (The Windows MSVC build uses a different code path entirely here.) Change-Id: Ic941d766904a216cce86ee6bd38864801b9110e8
2015-03-11fix windows buildNoel Grandin
after my commit 5eea85ec4fa7c458785be749a0e370a0883ff693 "convert SwMoveFlags and SwInsertFlags from enum to enum class" Change-Id: If5af977fdd77b82de447b71e166d81fca5840395
2015-03-11convert MarkType to enum classNoel Grandin
Change-Id: I73c23d327104b377834013a0a6bd2de18de2900b
2015-03-11dump ugly hack working around an ancient libxcb bug (tdf#89141)Luboš Luňák
According to the X protocol log in the bugreport, this timed function sometimes does time out, in which case the timestamp becomes 0, which as user timestamp is interpreted by window managers as "do not focus", which is indeed stupid to ask for just because a call timed out. Especially given that this is broken in principle, as the event is bound to come (barring the more than 5 years old libxcb bug, which must have been such a lame bug that it probably shouldn't even have been worked around, and definitely not unconditionally and permanently). Change-Id: I4d122ea038c0c56b1fda590df13bf119d746fd0a
2015-03-11V668 no sense in testing the result of new against nullCaolán McNamara
Change-Id: I4a33bd92fc8448638a4bfe1eab7e5041a4c5cc39
2015-03-11Ensure RTTI symbol visibility for Linux Clang -fsanitize=function,vptrStephan Bergmann
The problem being that any lib later loaded via osl_loadModule (e.g., libgcc3_uno.so) would not bind to the same global (RTTI-related) symbols as libsofficeapp.so and its dependencies (so, e.g., -fsanitize=function would erroneously assume that bridges/source/cpp_uno/shared/component.cxx's uno_initEnvironment is called with a different, non-matching uno_Environment type). Change-Id: I08b0cbc1f9eb74641eb617c46587a0a528a56c31
2015-03-11Use osl/thread.h abstractionStephan Bergmann
...which already takes care of things like increasing stack size under ASan Change-Id: I89f9a25a660aacd41e1125766b23f7be395e7af8
2015-03-11Fix copy/paste errorStephan Bergmann
Change-Id: I3fd9d6447adfa365a823ca6e87f0939670bcb39b
2015-03-11convert CHILD_ constants to enum classNoel Grandin
Change-Id: I1aca134fcc0384df4797cacafa9fbc1ed88d6617
2015-03-11convert tExternalDataType to enum classNoel Grandin
Change-Id: I3cf5670e8cc616e4284c5f4865d244ee4db2c628
2015-03-11convert SfxDockingConfig to enum classNoel Grandin
Change-Id: I2cfc9f2f165f970daa2dc42ec4d733dde968b55a
2015-03-11convert SfxChildIdentifier to enum classNoel Grandin
Change-Id: I7fb7b76d0642653efb9f3cfe2b55e3a7c5972c5e
2015-03-11convert SwMoveFlags and SwInsertFlags from enum to enum classNoel Grandin
Change-Id: I067656a47845c5d3fa143ce400b4ef0f8bf9ac5f
2015-03-11convert SetAttrMode to enum classNoel Grandin
Change-Id: If7dd0c49480756afb7d4eaaba597ecc305c35f64
2015-03-11SfxItemHandle is only used in one place, so inline itNoel Grandin
Change-Id: Ie54e0699312b6c072d2b162a068cffdf960be4d0
2015-03-11DocxAttribouteOutput::m_pHyperlinkAttrList: use unique_ptrMiklos Vajna
Change-Id: I7da23e7b7d35f2cf46c7dfbc8f251da2205925bb
2015-03-11const_cast -> mutableZolnai Tamás
Change-Id: Idedcb4a9add451fbdf39cad1429669a12b8c11b9
2015-03-11Make "Embedded Objects" frame expendable to fill space betterZolnai Tamás
Change-Id: I9b9335464c774bca13013576583877895d673592
2015-03-11Avoid casting SvxBrushItem:nShadingValueZolnai Tamás
Change-Id: Ida97950286bc69154d10cbc9b5ac699e7ad608ad
2015-03-11V668 no sense in testing the result of new against nullCaolán McNamara
Change-Id: I7783d96e40de7a8df794f143d2c7830bf3314218
2015-03-11slightly odd stuff hereCaolán McNamara
Change-Id: I715d49722ebe4658c108cb9b7bd6fa3934d973f8
2015-03-11tdf#89867: editeng: fix crash on shutdown after changing AutoCorrect optionsMichael Stahl
Since commit 5bff4b016c4b44f4123e0e6a4fd4c0c4dc0cfa2d the SvxAutoCorrCfg::pAutoCorrect is cleared by one terminate() listener but then another terminate() listener calls Commit() on all modified utl::ConfigItem and these two have a Commit() that does not clear the modified flag so they are always modified. Sadly there's no non-virtual Commit() wrapper that calls ClearModified() on the base class... Change-Id: I9ae220d78bb109c7bf0fdc544754a0686b357115
2015-03-11i18npool: fix spurious regex ^ matching in TextSearch::searchForward()Michael Stahl
Thanks to Eike for finding this: The anchors ^ and $ now anchor at the selection boundary because the only text the regex matcher gets passed is the selected text. This in two paragraphs aaa bbb aaa bbb aaa bbb aaa bbb when the selection spans from the second aaa to the third bbb, for "^aaa" finds the second aaa, where previously it found the third aaa at the real paragraph start. This may not be expected by the user, because the behavior of ^ is described as "Match at the beginning of a line" (or paragraph in our case), which the previous implementation did. (regression from 806ced87cfe3da72df0d8e4faf5b82535fc7d1b7) Unfortunately it's not obvious how to implement the same in searchBackward(). Change-Id: I07f7a8476b672d9511fa74ca473c32eea427698f
2015-03-11sw: s/eEnde/eEnd/Michael Stahl
Change-Id: I9ea963d09c2975b8e40856e3ba2d3896be9a1876
2015-03-10virtual ScTableRefToken::SetIndex(); of course..Eike Rathke
Change-Id: I4a43ea664e9db2bb44e0e7f089a71abf6f572b1e