summaryrefslogtreecommitdiff
path: root/sw
AgeCommit message (Collapse)Author
2015-06-02loplugin: loopvartoosmallKatarina Behrens
Change-Id: Icb30dac9cdcba493752623ccafff5f06ccafc31f
2015-06-02tdf#91592 WRITER crashes when navigating through commentsPhilippe Jung
without rSh.EnterStdMode, the image is selected and it has no GetTextNode. Change-Id: I91ed5a1ed002a04919042f4df22c49d3189daccd Reviewed-on: https://gerrit.libreoffice.org/15952 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-06-02cppcheck: noExplicitConstructorCaolán McNamara
Change-Id: I8ae8623252546ca94f65fc04b331dd9cafa4fc92
2015-06-02coverity#1302687 Dereference null return valueCaolán McNamara
Change-Id: I65e09944bdfa0ccc0aa2b0e6bf423ab943c642f8
2015-06-02tdf#91783 - Reverse the toggle behaviour of .uno:Graphic ChangePhilippe Jung
Rename: - .uno:Graphic to .uno:ShowGraphics - View->Hide Images to View->Images and Charts and invert toggle state Change-Id: Ife4954e17f7e169b234f477d01409cae52c32efe Reviewed-on: https://gerrit.libreoffice.org/16010 Reviewed-by: Yousuf Philips <philipz85@hotmail.com> Tested-by: Yousuf Philips <philipz85@hotmail.com>
2015-06-02loplugin:loopvartoosmallNoel Grandin
Change-Id: I809e408c994222cfa95ba8f56e4db7bd96be7080
2015-06-02Use more proper integer typesMatteo Casalin
Change-Id: I66223e76ba886219f4e458f53a3c9db81a43ddb2
2015-06-02Use more proper integer types and range-based for loopsMatteo Casalin
Change-Id: I48555d58af6c2cc814f9ac1cc39e221b31cce2f2
2015-06-02Translate some German messagesMatteo Casalin
Change-Id: I3c901c6a1195cf68bbd51fe6d6ee6d54bf808698
2015-06-02Use more proper integer types and range-based for loopsMatteo Casalin
Change-Id: Ifb7edfa11855afff373e638d583efd6ce55e93d3
2015-06-02SwDBManager: refer embedded data source from doc settingsMiklos Vajna
So that next time the document is loaded, we can find it. With this, the MM wizard can create embedded data source definitions which can be saved / loaded back from/to ODF properly. Change-Id: I5d012ce7fe878bb23ef6dac4526254cbee2683fb
2015-06-02sw: prefix remaining _SectionSaveStruct membersMiklos Vajna
Change-Id: Ia321a8fd657ea7d610f8a349b99d6dc91fd6d847
2015-06-01coverity#1302664 Unchecked dynamic_castCaolán McNamara
and coverity#1302661 Unchecked dynamic_cast Change-Id: I29735d3627c9d600465c02482002134cd196e098
2015-06-01CppunitTest_sw_tiledrendering: add search start point testcaseMiklos Vajna
Fails without the sw/source hunk of commit 1dc60bc9e99304c58007bfd5a964ff3f78480106 (SvxSearchItem: add m_nStartPoint{X,Y}, 2015-05-28). Change-Id: I7b13294760a8a3c9c413a4a11582bc2a14d3d499
2015-06-01sw: SwTxtNode::CutImpl(): destination must be different nodeMichael Stahl
Remove more dead code.: Change-Id: I9572228be0e5393351a7d22eb23e1f188423a219
2015-06-01sw: SwTxtNode::CutImpl(): destination must be in same SwDocMichael Stahl
Change-Id: I541dad26125bcd98e9c74016ecd03cd7f8bc71e6
2015-06-01sw: SwTxtNode::CutText() requires a destinationMichael Stahl
Remove dead code. Change-Id: Ib6a75718d411effe87d59d30420e2e9d7f15984e
2015-06-01sal_uInt16 to sal_Int32, and use -1 as a special caseMatteo Casalin
Change-Id: Iaf90f96665781d3aa43f1f71802538f54409bd4a
2015-06-01Translate German messageMatteo Casalin
Change-Id: Idbb72bc894cb8053e329a2713916cf896337351f
2015-06-01SwDBManager: embed data source definition if possibleMiklos Vajna
In the past SwDBManager (used by the MM wizard) created a smaller .odb file in the home directory by default in case the data source was something external (.ods file, etc). If the document is saved already (and experimental mode is enabled, as this is still a work in progress), then stop saving these small .odb files to the home directory, instead embed the data source definition into the currently active .odt file. Previously created such separate .odb files are still fully supported, of course. Change-Id: I7c1776e5ed57cdde05c0adfc5f7d1dc485363f03
2015-06-01Use o3tl::make_unique<>Miklos Vajna
Change-Id: I9be8542d5ea99694af54121d3fe659bb4ed8ebb6
2015-06-01tdf#79639 DOCX import: don't delay text frame conversion of in-header tablesMiklos Vajna
Floating tables may or may not be converted to table-in-textframes during import, depending on if we guess that it'll be a multi-page table with minimal wrapping or a real wrapped table. If the floating table is in a header or footer, then it won't be a multi-page one, so can do the conversion right away. Change-Id: I8d5ff8c5fe00037d5cef92dea6b54de6806214bc
2015-06-01WaE - Fix C4389: ´==´ : signed/unsigned mismatchMatteo Casalin
Change-Id: I049ca27a0b69887d7ab82312dd30311ddb2bed63
2015-06-01Use auto or more proper integer types, avoid temporariesMatteo Casalin
Change-Id: Iae81c30d23aa61e92b8dfd79c326c554b4164987
2015-05-31tdf#91781 Reorganize writer's menu barYousuf Philips
Change-Id: I28fcfb7511df137f8995dd4d1271d8dfdf112be8 Reviewed-on: https://gerrit.libreoffice.org/16006 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
2015-05-31Use more proper integer types and range-based for loopsMatteo Casalin
Change-Id: Ie91ab1fad1b2f16380071b8c8fbb928151f85d4b
2015-05-31Use more proper integer types and range-based for loopsMatteo Casalin
Change-Id: I04a53b2e6f48e597b5d2de79587458a9f7f61f4d
2015-05-31Use size_t and range-based fo loopsMatteo Casalin
Change-Id: I41a30326a2507b1a21b7f9ed17edb21e373ab526
2015-05-31More proper tipes, avoid cast to wrong typeMatteo Casalin
Change-Id: Ia323ed625b51bdb9dac3f3e2826b0dfec2141165
2015-05-31Unuseful check, unless nLoop is signed (as returned by GetSNumber)Matteo Casalin
Change-Id: If3a24832251de6be9c4428bfedb6a2a612d6a375
2015-05-31Use auto, intMatteo Casalin
Change-Id: I39a7f83684d044602dd95e4523c43920d3caeac8
2015-05-31Use size_t, auto and range-based for loopsMatteo Casalin
Change-Id: I7f3672928b3d1ee937c7c6c2684b1396425b9fe6
2015-05-31Use auto and range-based for loopsMatteo Casalin
Change-Id: Idbef553cf734eb9eb194912e60f7811d35ce6c84
2015-05-31Use more proper integer types and range-based for loopsMatteo Casalin
Change-Id: Ie02ebb5337bb902b33685feba95d1265be084450
2015-05-31Use more proper integer types and range-based for loopsMatteo Casalin
Change-Id: I59dc93687063e1df082d5c96c691dd364cc78ddb
2015-05-31Use std::find instead of custom codeMatteo Casalin
Change-Id: I5841fa214b53e5b65b4c1251b4c033bb2e55dadc
2015-05-31Use more explicative namesMatteo Casalin
Change-Id: Ie42b204b8cc81552b0fb18b8f4ef938787fa5c4d
2015-05-31Simplify and optimize (no need to count footnotes/endnotes)Matteo Casalin
Change-Id: I4b539ec929e62a3d65c8a3fa2e9eb7794abf2a37
2015-05-31Use more proper types and range-based for loopsMatteo Casalin
Change-Id: I9e891923a1301e4b3d19c75102943f30f42965a1
2015-05-31tdf#81475 Additional work on the formatting and draw toolbarYousuf Philips
Change-Id: Idf8c389915e880cbc4246743d2b6a70d4e99f2e2 Reviewed-on: https://gerrit.libreoffice.org/15992 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
2015-05-30SimplifyMatteo Casalin
Change-Id: Iafeed40abb3228c00c5490692c9f2f4d526c1dee
2015-05-30Fix indentationMatteo Casalin
Change-Id: I5a2d05d476b81ad610ddf470b4e9a176f41a8c82
2015-05-30Use size_t for GetMemberCount/GetMemberMatteo Casalin
Also use more proper integer types in related files. Change-Id: I07536491f0a28d27de07ceb3326b703206087caf
2015-05-300 is fine hereMatteo Casalin
Change-Id: I5f4e98f644dfd10e6fb35d15622b46fdcac00395
2015-05-30Fix TB Linux-F19-x86_64_14-with-checkJulien Nabet
CStyleCastExpr, suspicious cast from ´bool´ to ´sal_Bool´ (aka ´unsigned char´) [loplugin:salbool] Change-Id: Ic463a57a0ef701c3d8dbcfb9b2254f6bbc266460
2015-05-29VclPtr: tdf#91396 crash after tool options and sidebar switchingCaolán McNamara
Change-Id: I86c23ffc08c8dec275608d9bc0bbe5eaf7ce0993 Reviewed-on: https://gerrit.libreoffice.org/15985 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-05-29Fix Mac TBs by unhidding testSkipImages()Julien Nabet
Change-Id: I2624ef7824859339b1b0a669279e7c4186ebf35b
2015-05-29Revert "skip SkipImages unit test on MacOs"Julien Nabet
Let's reenable the test for MacOs to see. The system cache has been purged, a "make distclean" has been done (see http://nabble.documentfoundation.org/About-skip-SkipImages-unit-test-on-MacOs-td4149788.html) This reverts commit be01d68420086fc36ecf26b5f597ba7c6b29b369. Change-Id: Ib281db5e3497a3bc9b176a28ccbee25ba051910a
2015-05-29dispose SfxControllerItem objects correctlyLászló Németh
Change-Id: Id5f80e06e5609b4e85f3d6db7bc37aabe6ef0dac
2015-05-29fix Invalid Read on conversion of ooo95991-1.odt to pdfCaolán McNamara
"Prepare" can delete the Portion belonging to the SwTxtFrm and replace it. Prepare knows this and re-fetches it if that happens. But Prepare can call itself and the outermost Prepare doesn't know that the innermost Prepare replaced the SwTxtFrm (and re-fetched it for the remainer of the innermost Prepare). So bubble out that it was re-fetched so the outer most one re-fetches too Invalid read of size 1 SwParaPortion::SetPrep(bool) (porlay.hxx:299) SwTextFrm::Prepare(PrepareHint, void const*, bool) (txtfrm.cxx:1805) SwContentFrm::MakeAll() (calcmove.cxx:1317) SwFrm::PrepareMake() (calcmove.cxx:340) SwFrm::Calc() const (frame.hxx:1004) CalcContent(SwLayoutFrm*, bool, bool) (fly.cxx:1465) SwLayoutFrm::FormatWidthCols(SwBorderAttrs const&, long, long) (wsfrm.cxx:3306) Address 0x2137c850 is 832 bytes inside a block of size 840 free'd free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) rtl_freeMemory_SYSTEM(void*) (alloc_global.cxx:277) rtl_freeMemory (alloc_global.cxx:347) rtl_cache_free (alloc_cache.cxx:1222) FixedMemPool::Free(void*) (mempool.cxx:48) SwParaPortion::operator delete(void*, unsigned long) (in /home/caolan/LibreOffice/core/instdir/program/libswlo.so) SwParaPortion::~SwParaPortion() (porlay.cxx:1967) SwTextFrm::ClearPara() (txtcache.cxx:106) SwTextFrm::Init() (txtfrm.cxx:339) SwTextFrm::CalcLineSpace() (txtfrm.cxx:792) SwTextFrm::Prepare(PrepareHint, void const*, bool) (txtfrm.cxx:1724) SwTextFrm::Prepare(PrepareHint, void const*, bool) (txtfrm.cxx:1706) SwContentFrm::MakeAll() (calcmove.cxx:1317) SwFrm::PrepareMake() (calcmove.cxx:340) SwFrm::Calc() const (frame.hxx:1004) CalcContent(SwLayoutFrm*, bool, bool) (fly.cxx:1465) SwLayoutFrm::FormatWidthCols(SwBorderAttrs const&, long, long) (wsfrm.cxx:3306) Change-Id: I1fdade2846e3cbd2e73be1f58d2597e9358fa0ea