summaryrefslogtreecommitdiff
path: root/sc
AgeCommit message (Collapse)Author
2014-04-01Explicitly mark overriding destructors as "virtual"Stephan Bergmann
It appears that the C++ standard allows overriding destructors to be marked "override," but at least some MSVC versions complain about it, so at least make sure such destructors are explicitly marked "virtual." Change-Id: I0e1cafa7584fd16ebdce61f569eae2373a71b0a1
2014-04-01coverity#704284 Logically dead codeCaolán McNamara
since c24ab8def12f8a7a305e35d39c91976e345dd3b0 Change-Id: Ic65f785dd4b1b8c7a56d52bc917ee1da4ad83ebe
2014-04-01coverity#704241 Logically dead codeCaolán McNamara
Change-Id: Iabcc4cc9f68306eb0b0dadb7c9b8a27907ec6953
2014-04-01coverity#704264 Logically dead codeCaolán McNamara
and coverity#704265 Logically dead code Change-Id: Ice40fcb71de4cca07e3353cf579477c7e5363e52
2014-04-01Bin pointless INET_HEX_ESCAPETor Lillqvist
Change-Id: I72238e511c2fca4a4aba0be60b0f2d3b1f46e5c2
2014-04-01fdo#42164 Esc doesn't clear copy source overlay in panes of split/frozen viewTrent MacAlpine
Change-Id: I480fe9a66773bbc6775c6d20c9cf0e2f7e21c230 Reviewed-on: https://gerrit.libreoffice.org/8472 Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-03-31re-enabled user-defined numeric fields for dBase exportEike Rathke
Since commit f59e350d1733125055f1144f8b3b1b0a46f6d1ca it was impossible to define a numeric field with a precision of less than 2 decimals, even if all values were integers. It was also impossible to define a field width larger than needed for any values in that column. Furthermore, the integer part was shortened if the overall column's values resulted in more precision than defined, but the overall length did not reach the predefined length. This does not change the behavior of the original intention of f59e350d1733125055f1144f8b3b1b0a46f6d1ca to give the precision of number formats precedence over precision defined in the column header, which is debatable though because conflicts may silently change the field definition. Change-Id: I234c4bceaa1a6aadbd259cb8d9b6cb6f16bf91c2
2014-03-31one more commentEike Rathke
Change-Id: I473efb4c8233eed1a3a00ce9ab8c1fa84583e2a4
2014-03-31xmloff: sal_Bool->boolNoel Grandin
Change-Id: Id3d8f4f4ef32280a131907ffa32eb2ad5d6ea2e1
2014-03-31xmloff: sal_Bool->boolNoel Grandin
Change-Id: I64c33ae4c157e270acac9a1f820d3e6272ba0bea
2014-03-31coverity#1194940 Uncaught exceptionCaolán McNamara
Change-Id: Ibb1b15604e5129c48ca8be4af24dbcfd908ded2f
2014-03-31lint-ui spacingsCaolán McNamara
Change-Id: I09a1e84dc20aeeac6b535dbbedfc0f9c8e17517b
2014-03-31close files after testMarkus Mohrhard
Change-Id: Ibf04fa79570a2417c965e773a789827a86787471
2014-03-31close the file at the end of the testMarkus Mohrhard
Change-Id: I9e0636af65258646572da126e93766552fa1e1df
2014-03-31Fix various warningsStephan Bergmann
Change-Id: I78aa55539c2a3e522736bb178ba7d445300bf1f0
2014-03-31pivot layout dialog: remove SAL_OVERRIDE from destructorsTomaž Vajngerl
Change-Id: Icdb048a2ad9c49308213c3bb57f540e4ff567593
2014-03-31sc: clean-up address.hxx/cxxTomaž Vajngerl
Change-Id: Iea3d90fb22631b48b25836b73a8dad7bd979a58e
2014-03-31sc: clean-up pivot.hxx/pivot2.cxxTomaž Vajngerl
Change-Id: I88ed4da8dd2ca026eeea4a3fb267f4f9954c180a
2014-03-31pivot: new pivot table layout dialogTomaž Vajngerl
This commit adds a new pivot table layout dialog which was implemented from scratch. Instead of custom controls this one uses list boxes for field entries which greatly reduces the code. It also fixes some visual and behaviour bugs and adds the possibility to edit the "Data" field. Change-Id: I6c01252acee5a2e8910e40e65904504d00e03057
2014-03-30tools, sc: fix GCC -Werror=type-limits (comparison is always true)Michael Stahl
... on 32 bit platforms. These asserts appear to be impossible anyway. Change-Id: I6bd332ca49e9992740315e0f6c58e98ac337817c
2014-03-30coverity#1194921 Overflowed return valueCaolán McNamara
Change-Id: I872835c3a20eda807d571fa27794dbe2bf858e7a
2014-03-30coverity#1194916 Overflowed return valueCaolán McNamara
Change-Id: I26614f6d95276ec2b3b57301bd38ac53ea8f225d
2014-03-29coverity#1194918 Overflowed array index readCaolán McNamara
Change-Id: Ic9cec3fc6749672b30bb1e0c96159897e50a84e5
2014-03-29typo: opend -> openedThomas Arnhold
2014-03-29coverity#704282 Logically dead codeCaolán McNamara
Change-Id: Ife5b038c56a3609ac66fee67abf2e3f2cd48daee
2014-03-29coverity#704280 Logically dead codeCaolán McNamara
Change-Id: I4ba45a63373d5edf709688594cd25be4ff1385ec
2014-03-29coverity#704279 Logically dead codeCaolán McNamara
Change-Id: If6dd6c00e4c5aa544d687200e86a30fcf843700d
2014-03-29Typo: ccordinate->coordinateJulien Nabet
Change-Id: I2011dbed8f30b2b0d0568d5e19ed8e56bef509d9
2014-03-29sc: more stream tweaksMichael Stahl
Change-Id: I452ba76cec425e397369e0fcc689ba639d5325b0
2014-03-29sc: actually CopyFromStream() can just use remainingSize()Michael Stahl
Change-Id: I16e60caa7a1baeb2b05cbe5dc8ae24a67751c390
2014-03-29sc: adapt XclExpStream::CopyFromStream() to SvStream changeMichael Stahl
Change-Id: I58c183fe2b8e7b64ec0678e5eb136b9a467f1eb4
2014-03-29sc: adapt Excel filter to SvStream changesMichael Stahl
STREAM_SEEK_TO_END is apparently used to initialize variables and signal failure here, which is odd. Change-Id: I324a85b441dc377757f7c32eec2ad8a2c9a8c2eb
2014-03-28rhbz#1080196: Delete the destination first then paste.Kohei Yoshida
Deleting in-between pasting was causing the block iterators to become invalid when the deletion took place, which resulted in a segfault. Also cleaned up the bits about handling filtered rows. It was using the old row flag which is empty these days (so it never would have worked). Plus we do bail out earlier if the destination contains a filtered row. Change-Id: I78d3ee8bce1647c1c8685f92a3df3c38cc014811
2014-03-28rhbz#1080196: Write unit test for this.Kohei Yoshida
Change-Id: I1c83afa40eaf8c81ca3b436c6fb7d22f7eb9f223
2014-03-28translated German commentsEike Rathke
Change-Id: Id893ba9e4a145856be1f091293eecbf757fb423d
2014-03-28and restore the intention of the original patchEike Rathke
Change-Id: I8187d425a12f8a96d9e29df244084f7045f448ea
2014-03-28Revert "coverity#1038286 Logically dead code"Eike Rathke
This reverts commit f5adf08aa3a9a176bd2ed5acd638148eb8da7c85.
2014-03-28coverity#1038286 Logically dead codeCaolán McNamara
Change-Id: Ibbfdbc4925d185852a2b64304ba0983be43a4caa
2014-03-28bRefSizeChanged is always falseCaolán McNamara
Change-Id: I2f27e55a11f972374e7ef0d007a69f3cfb92a7bb
2014-03-28coverity#1078506 troubling Logically dead codeCaolán McNamara
Change-Id: I9687ab7340e9c9ab45ff4dd27eb53e671492e7b5
2014-03-28Remove remaining DBG_CTOR etc. remnants from scStephan Bergmann
Change-Id: Ica865166d6f187bbe610ed537208eab809a77e5f
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-28coverity#705450 Self assignmentCaolán McNamara
Change-Id: I839e77594f6f7dbc516e0e6d08b1cf2517f96ec4
2014-03-28coverity#982764 Dereference null return valueCaolán McNamara
Change-Id: Ib0f01bf529a739e5f92cd41979c18d76d7b545d1
2014-03-28coverity#982765 Dereference null return valueCaolán McNamara
Change-Id: I2fd5d432aff737016948a4f7bd45888cf6f4dba2
2014-03-28coverity#735461 Dead default in switchCaolán McNamara
Change-Id: Icc6763acdd7d7fb2526d8cf2c1142e7ed34efc8f
2014-03-28coverity#735462 Dead default in switchCaolán McNamara
Change-Id: I48bc819b939ae1a436d3103e8fc75c69c2324dc8
2014-03-28coverity#735463 Dead default in switchCaolán McNamara
Change-Id: I422f11f1ccda36c00e00775b32772c1e827b6686
2014-03-27Work around MSC "'override' cannot be used with 'inline'" bugStephan Bergmann
Change-Id: I16b931a3383794e646ab71011510926e49da3599
2014-03-27Second batch of adding SAL_OVERRIDE to overriding function declarationsStephan Bergmann
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: Ie656f9d653fc716f72ac175925272696d509038f