summaryrefslogtreecommitdiff
path: root/sw
AgeCommit message (Collapse)Author
2014-03-30Do not evaluate the same expression 10 timesMatteo Casalin
Change-Id: I3feb440e0013ba75b738e4110315c7034ef29639
2014-03-30Check early bail-out before performing unrelated operationsMatteo Casalin
Change-Id: I335a90070221153810e94938cfcfbfe10688071b
2014-03-30Removed OSL_ENSURE since condition cannot happenMatteo Casalin
Change-Id: Ifa71ac9a56ea7ffb5491bdfabc4ec5473e85a02d
2014-03-30sal_uInt16: to sal_Int32/long, constify, reworked some castsMatteo Casalin
Change-Id: I81e13e42619d73346c63689bf4392f924348b4ae
2014-03-30Remove consecutive appends + minor optimizationsMatteo Casalin
Change-Id: I001d958763c5d9104ff9dd24a4d81828e00034c0
2014-03-30Constify and reduce scopeMatteo Casalin
Change-Id: I42074930dd59875bea4f1b3c0d73400020ea7485
2014-03-30Remove unneeded (and probably wrong) cast to sal_BoolMatteo Casalin
Change-Id: I8fa169749922d1ea015c9009f5a54099bdf40f93
2014-03-30OUString: constify and remove unneeded castsMatteo Casalin
Change-Id: I89825bbb4b0255c5525bc4680194ab0ce37f7f7b
2014-03-30sal_uInt16 to size_t/sal_Int32Matteo Casalin
Change-Id: I49a479d1fca258d5d3e713454d84a2fcb6fd74c1
2014-03-30sal_uInt16/short to sal_Int16 + minor optimizationsMatteo Casalin
Change-Id: Ia75c12ecdcd33d2013e8c138dfcbb07b8be6a551
2014-03-30Rework SwFrmPage::GetAlignmentMatteo Casalin
* Early bail-out * Remove temporaries * Some constification * Don't check the same pointer twice Change-Id: I10e19f8807872e16b6d1419f6a345b6343b17c94
2014-03-30Use SAL_N_ELEMENTS for array sizeMatteo Casalin
Change-Id: Ie6eb631124f0bdbbff8a543babbc22bdd52c0afc
2014-03-30sal_uInt16 to sal_Int32/size_t and some reworkMatteo Casalin
Change-Id: Iea599d8d8af6ad2655485dfb7973e73bd527377e
2014-03-30sal_uInt16: to sal_Int32 and rework initializationMatteo Casalin
Change-Id: Ifd5d7a8fd792da9931995ae4982504b68afe8303
2014-03-30Remove one more OUString concatenated appendMatteo Casalin
Change-Id: I7d4d000560c6774ffb691c47f951a191f9a92fa9
2014-03-30Remove empty branch in if statementMatteo Casalin
Change-Id: Ifa2713638369f8c77e58f4945570fd3faf137d93
2014-03-30Fix alignmentMatteo Casalin
Change-Id: I8a1ba77649c862eab1f381c678689c435420140e
2014-03-30Use getToken instead of indexOf and re-assignmentMatteo Casalin
Change-Id: If91343c2334f03cd35f95b79b8e341c6ee355f62
2014-03-30OUString optimizationsMatteo Casalin
* Remove temporaries * Remove concatenated appends * Constify Change-Id: I94db8071c69568818c94670a4b9c71ab31660ac9
2014-03-29coverity#704900 Dereference after null checkCaolán McNamara
Change-Id: I5ffac44f4fa48be0a4158c9eb234e94d2a22f5ed
2014-03-29typo: opend -> openedThomas Arnhold
2014-03-29typo: selektion -> selectionThomas Arnhold
2014-03-29typo: persistance -> persistenceThomas Arnhold
2014-03-29typo: optimisation -> optimizationThomas Arnhold
2014-03-29typo: approriate -> appropriateThomas Arnhold
2014-03-29coverity#735516 Logically dead codeCaolán McNamara
Change-Id: I080944f3e3d6e5fd715d1da355f9dc1e92abbd87
2014-03-29coverity#704379 Logically dead codeCaolán McNamara
bNotify is set to true in only one place, and bDone is set to true and the only use of bNotify is inside a !bDone block so it can only be false there Change-Id: I05b09d5e1e1406e1268f2e97b0f50db36c391727
2014-03-29coverity#704377 Logically dead codeCaolán McNamara
Change-Id: I817c0c092ee6efa19c4250d9c9dba0861801a440
2014-03-29coverity#704374 Logically dead codeCaolán McNamara
in order for bContinue && pSdrView && bQuickBalloon to be true bContinue must be true, but if it was true then it would have entered the prior bContinue && bQuickBalloon condition, and all legs of that set bContinue to false Change-Id: If81cc389cb4e9604b34e0ae76d0f763585f4c7c1
2014-03-29coverity#704354 Logically dead codeCaolán McNamara
also coverity#704355 and coverity#704356 Change-Id: I132b9881792fcc4bac59d8227141e53dda7ee725
2014-03-29coverity#704353 Logically dead codeCaolán McNamara
Change-Id: I6d8ae15ca5ec647b1429fb47a3e976501165e780
2014-03-29Typo: varient->variantJulien Nabet
Change-Id: I0b62f630573dc76d90e3c1f659b2ac359758b243
2014-03-29Reader::ResetFrmFmts(): work around spurious MSVC warning C4701Michael Stahl
Change-Id: I216888cb92d61a5b8c9252fe8c12c01a6fb9af8a
2014-03-28clip to maxCaolán McNamara
Change-Id: Ibc25262fc0e350ce2d676940f0ec7f2fb368128f
2014-03-28Resolves: #i124468# add checks for the read numbers of column for a sectionJürgen Schmidt
note acecfab9dde94abe733d63260777007337b9aff0 covers the same territory and fixes mostly the same problem, but ccolM1 isn't clipped for the other places where it gets used (cherry picked from commit 32d9f959cf3f133b9257c066a979848a967f7081) Conflicts: sw/source/filter/ww8/ww8par6.cxx Change-Id: Idad7d95b28d38b7c52b56cab16c533565d9ecfea
2014-03-28Remove remaining DBG_NAME* usesStephan Bergmann
...that had been used for DBG_CTOR, DBG_PROF, etc. Change-Id: I8eac38e24b7110511feb7813aaf5a20ab82bdbe0
2014-03-28sw: adapt frame/templatedialog4.ui to FillAttributesMiklos Vajna
With this, editing frame properties of an existing TextFrame and editing frame styles work again. (regression from 6e61ecd09679a66060f932835622821d39e92f01) Change-Id: Ib2bbd337d3d1f648f220d585d42d8310c3486111
2014-03-28coverity#1157772 Logically dead codeCaolán McNamara
Change-Id: I4eda11bdeda2e9f2e7d124d19ba051fafc846321
2014-03-28Resolves: #i124451# apply correct index entry template patterns...Oliver-Rainer Wittmann
which are used for e.g. TOC (cherry picked from commit 52c89c2aff23dbb875c9a86021145b30af463908) Conflicts: sw/inc/tox.hxx sw/source/core/tox/tox.cxx sw/source/filter/ww8/ww8par5.cxx Change-Id: Id14cecc07d09d3461c091a6451143cbce206e308
2014-03-28loplugin:literaltoboolconversionStephan Bergmann
Change-Id: I920ffc647ca92276491b720e1312314f27ab58f2
2014-03-28-Werror,-Wunused-variableStephan Bergmann
Change-Id: I7b9ccef3de21d657b215f5225d8ef539921cc541
2014-03-28loplugin:implicitboolconversion,literaltoboolconversionStephan Bergmann
Change-Id: I28d228c0992660ca181a4c420736600ee79b3ea5
2014-03-28loplugin:saloverrideStephan Bergmann
Change-Id: I0822af84c04ab70b2a202d232720aa77d8472983
2014-03-28coverity#705106 Integer overflowed argumentCaolán McNamara
Change-Id: I843b02cb8d215c149aa646441f3c7b0ab5550906
2014-03-28coverity#1078669 Failure to restore non-local valueCaolán McNamara
Change-Id: I3817295a39e409cf5a9ab72b9b24d7b859f5a186
2014-03-28Merge back branch alg_writerframes to trunkArmin Le Grand
(cherry picked from commit b635b4fa4e42053d30ab639643d2236a20243f62) Conflicts: comphelper/inc/comphelper/TypeGeneration.hxx comphelper/source/property/TypeGeneration.cxx cui/source/factory/dlgfact.hxx cui/source/inc/cuitabarea.hxx cui/source/tabpages/tabarea.cxx cui/source/tabpages/tabarea.hrc cui/source/tabpages/tabarea.src cui/source/tabpages/tparea.cxx drawinglayer/source/primitive2d/polypolygonprimitive2d.cxx drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx drawinglayer/source/texture/texture.cxx editeng/inc/editeng/unotext.hxx editeng/source/items/frmitems.cxx include/drawinglayer/texture/texture.hxx include/editeng/brushitem.hxx include/svx/sdr/primitive2d/sdrdecompositiontools.hxx include/svx/svxids.hrc include/xmloff/xmltypes.hxx reportdesign/source/ui/misc/UITools.cxx sc/source/ui/drawfunc/drawsh.cxx sfx2/source/dialog/tabdlg.cxx svl/source/undo/undo.cxx svx/inc/svx/unoshprp.hxx sw/Library_sw.mk sw/inc/doc.hxx sw/inc/format.hxx sw/inc/frmfmt.hxx sw/inc/swatrset.hxx sw/inc/unomap.hxx sw/inc/unoprnms.hxx sw/source/core/access/accpara.cxx sw/source/core/attr/format.cxx sw/source/core/attr/swatrset.cxx sw/source/core/doc/docdraw.cxx sw/source/core/doc/docfly.cxx sw/source/core/doc/notxtfrm.cxx sw/source/core/inc/frame.hxx sw/source/core/inc/frmtool.hxx sw/source/core/layout/atrfrm.cxx sw/source/core/layout/paintfrm.cxx sw/source/core/text/inftxt.cxx sw/source/core/text/porfld.cxx sw/source/core/text/txtfly.cxx sw/source/core/txtnode/fntcache.cxx sw/source/core/uibase/app/docst.cxx sw/source/core/uibase/app/docstyle.cxx sw/source/core/uibase/shells/drawdlg.cxx sw/source/core/uibase/shells/frmsh.cxx sw/source/core/unocore/unoframe.cxx sw/source/core/unocore/unomap.cxx sw/source/core/unocore/unoprnms.cxx sw/source/core/unocore/unostyle.cxx sw/source/ui/fmtui/tmpdlg.cxx sw/source/ui/fmtui/tmpdlg.src sw/source/ui/frmdlg/frmdlg.cxx sw/source/ui/frmdlg/frmpage.src sw/source/ui/inc/frmsh.hxx xmloff/source/text/txtprhdl.cxx xmloff/source/text/txtprmap.cxx Change-Id: Id3ffaa83bb5594d287f1ac8f2c1c9cf55c70946d
2014-03-28Resolves: #i124514# show/hide Overlay object to highlight...Oliver-Rainer Wittmann
annotated text range according the according view option which show/hides the annotations/comments (cherry picked from commit b8c793949e416432619d3c7d7611fc44694c3b77) Conflicts: sw/source/core/uibase/docvw/SidebarWin.cxx Change-Id: I0701ee137317349c5d917841448c183015d5513a
2014-03-28coverity#704060 Unchecked return valueCaolán McNamara
Change-Id: I6d0459d8cc8b9801e696cc4ab205b5213df5540e
2014-03-28coverity#705497 Dereference null return valueCaolán McNamara
Change-Id: I1dbbda7e2be6426409ce8f03d6570fec451a01b5
2014-03-28coverity#705502 Dereference null return valueCaolán McNamara
Change-Id: I5f41ff8017879a75f088fc0aa1b8ce99f935a46f