summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-08-19java: use 'Short.valueOf' instead of 'new Short'Noel Grandin132-445/+445
Change-Id: Icef19ef61ee0af2dd3bda527263934006271f219
2014-08-19java: use 'Long.valueOf' instead of 'new Long'Noel Grandin18-50/+50
Change-Id: If4fff3dd37326fbcdd01b743355a16591d71fa69
2014-08-19java: use 'Integer.valueOf' instead of 'new Integer'Noel Grandin322-1128/+1128
Change-Id: Ia8befb8d69914ce971174fc5f2ffc0e2f506a940
2014-08-19java: use Boolean.valueOf instead of instantiating Boolean objectsNoel Grandin198-402/+402
Change-Id: Ie41d6b0170a035a694dd270c311a137fd1810e74
2014-08-19java: classes in java.lang package do not need to be fully qualifiedNoel Grandin87-288/+277
Change-Id: I7b18f62336c3a8ca4c538b30ce04c99f202a4756
2014-08-19simplify CallFormWizardNoel Grandin5-137/+115
Change-Id: I0dfdc1acb0b550c1eeed16498f3e791e0123c4eb
2014-08-19java: remove unused methodsNoel Grandin48-3279/+1
Change-Id: Ibb905e6f3e7d92a0e558f1f6562e5b472cd2717b
2014-08-19fix intermittent crash in make checkNoel Grandin1-0/+9
The original crash was in GtkSalMenu::Active, triggered from RefreshMenusUnity and it looked like the refresh method was accessing already freed memory. Change-Id: Ib07d839a976869eb8719e71e0653f1a72e3b0e80
2014-08-19DOCX export: handle SDT around floating tablesMiklos Vajna2-0/+3
Change-Id: I07fedc201c51008baca3254dcc099f0182aa4c72
2014-08-19enable test after fixing the validation errorMarkus Mohrhard1-11/+0
Change-Id: I99cd2c23d640eef744b292d3643baab6d42d191f
2014-08-19fix for PtylTestEncryptionAndExport (on sofficemain.cxx)Ptyl Dragon1-1/+4
Change-Id: I2857dae2df3b3e7e89b5bd56b35a4b8f3868920e
2014-08-19DOCX export: handle multi-para SDT's ending right before a tableMiklos Vajna2-0/+3
Change-Id: I47ea5fd6e1b4d9d5a2893112efdcd810c4c84cfb
2014-08-19Make Draw use paper size when printing - fdo#63905Eilidh McAdam1-5/+28
Previously, Draw/Impress use the default size from the printer. Now Draw uses the paper size (specified in page formatting). Impress still uses the old method - not sure if this is correct but printing handouts etc probably complicate print/paper size. Change-Id: If90bae4ac59cd95dd50fcd8deb25fd900756193e Reviewed-on: https://gerrit.libreoffice.org/9866 Reviewed-by: Matúš Kukan <matus.kukan@collabora.com> Tested-by: Matúš Kukan <matus.kukan@collabora.com>
2014-08-19fix java1.5 build compatibilityNoel Grandin1-1/+0
accidentally introduced by me in commit 0477e6c3 "java: add @Override annotation to overriding methods" Change-Id: Ieccd78f57282778a5e8f805f7a40f5e6a24e9498
2014-08-19Fix Insert 3D Model file dialog's "All supported formats" filterZolnai Tamás1-1/+1
It seems on some system the file dialog does not like spaces between the formats. Change-Id: Ifa69f4f210061209f7f0aa9223417d06b06b577a
2014-08-19can actually manage to ask createStream for missing streamsCaolán McNamara1-3/+2
writerperfect::(anonymous namespace)::OLEStorageImpl::createStream(rtl::OUString const&) (WPXSvInputStream.cxx:260) writerperfect::WPXSvInputStreamImpl::getSubStreamByName(char const*) (WPXSvInputStream.cxx:201) MWAWInputStream::unzipStream() MWAWInputStream::MWAWInputStream valgrind + bff Change-Id: Iaecb8b7f05ed4369ddd37b34166dc3c3388ffb4d
2014-08-19odk: Clean up commentsChris Laplante15-70/+10
Change-Id: I38aa34192244cdd29e1cce7ac612aa9cd5f9e8a1 Reviewed-on: https://gerrit.libreoffice.org/11006 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-08-19empty m_aStatesCaolán McNamara2-10/+13
valgrind + bff Change-Id: I7b45e10471de77bd0481adf0bccdbf852c36d815
2014-08-19svx: Cleanup ASCII art and useless commentsChris Laplante207-2329/+237
Change-Id: I5399362056276f324fd43eda05d3f606dc6f8c71 Reviewed-on: https://gerrit.libreoffice.org/11011 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-08-19writerfilter: fail on mistyped namespace URL'sMiklos Vajna2-5/+2
And also fix one typo detected by this new check. Change-Id: Iaa7a4bb0b6dc3f81e5dd0b352584029cfed4ffbb
2014-08-19error C2296: '<<' : illegal, left operand has type 'const char [28]'Miklos Vajna1-0/+1
Change-Id: Ibc25771002bd8ac9b4a2aca9f3c2965b8da9014e
2014-08-18fdo#82427 disambiguate "NOT LIKE 'foo'"Lionel Elie Mamane1-2/+2
Change-Id: Iab383639ea73cc87c03f4f42433bc9ccfcd988ef
2014-08-18writerfilter: sort namespaces in OOXMLStreamImpl::getFastParser()Miklos Vajna1-2/+5
The motivation is that <namespace-alias> elements in model.xml are redundant, as the same info is available from oox as well. But without sorting, it's impossible to generate the same output, as the (not interesting) order isn't the same there. Change-Id: I634c62e43d1b54100bfa623c6f43dddd34279fb1
2014-08-18remove cruftEike Rathke1-3/+0
Change-Id: Id5ba28d7862590e11cca24fc8e25ca68fae1d5a8
2014-08-18Bin "temporary" code that doesn't compile any longerTor Lillqvist1-8/+0
Change-Id: I7550a40bab4ffd1b585ad37dceb59c38cf1e4ca3
2014-08-18Let's not export sheet tab color when it's not set.Kohei Yoshida1-2/+3
COL_AUTO is the default value which is treated as color not being set. The old code would export it as a white color which is not correct. Change-Id: Ib68fccfb228333f2059edc4cfffeed90880ebc60
2014-08-18Write test to ensure that we export sheet tab color settings correctly.Kohei Yoshida1-0/+18
Previously, we would incorrectly export a sheet tab without any color set as a tab with white color. Change-Id: I97e59a0d8e2fba6db64149f53acfe4331a5ce2ba
2014-08-18fdo#82757 call convertStringToNumber and detectNumberFormat with same localeLionel Elie Mamane1-1/+15
So that they agree (among others) on date recognition patterns. Change-Id: I964142702b5bb23bca2c62433e52f76dfa4bdacb
2014-08-18Typo: loop on all Marks instead of processing Mark(0) over and overMatteo Casalin1-1/+1
See: http://nabble.documentfoundation.org/Suspicious-loop-any-idea-td4119239.html Since the code was like this since initial import (2000), if this patch proves to be wrong then the other option could be to just don't loop and process Mark(0) just once. Change-Id: I41ac18604e916740dcc68bf69af37529842f774d
2014-08-18Generally better to have DLLPUBLIC class with some DLLPRIVATE membersStephan Bergmann1-10/+10
...in the same vein as 80a1a2599e04142683d2286d0e32d0e13fb45de3. Change-Id: I181d54475d82e2a01a56f48a13ac42dbad876d2c
2014-08-18Consistency around XColorItem in svx/sdshcitm.hxxStephan Bergmann12-25/+20
...similar to what has been done for svx/sdtmfitm.hxx in 6a2ea81ca1622d2c2ad55bea8ddc28167fcc2794 "Remove unused ctors" and 68969cc61adecac481ae9656978ef952f435b310 "Consistency around SdrMetricItem." Change-Id: I7ecf827a0713efaecb4b0eb49f9f8c06f8c59091
2014-08-18Consistency around SdrPercentItem in svx/sdshtitm.hxxStephan Bergmann9-19/+14
...similar to what has been done for svx/sdtmfitm.hxx in 6a2ea81ca1622d2c2ad55bea8ddc28167fcc2794 "Remove unused ctors" and 68969cc61adecac481ae9656978ef952f435b310 "Consistency around SdrMetricItem." Change-Id: I4e98c362f811c19f03766d0c78f10c795d3ac79d
2014-08-18Annotate code & remove unnecessary scope.Kohei Yoshida1-7/+9
Change-Id: I4b8ccef5125c52c48e5d9757bb1f245bf73d0629
2014-08-18Nested conditional !(cond1 && cond2 && cond3) is harder on human brain.Kohei Yoshida1-2/+2
Change-Id: I1c10c7f0f85607a826ec06ffce12de761af3921a
2014-08-18Using empty() makes it clearer.Kohei Yoshida1-1/+2
Change-Id: I031f478aab721af0a65762f98bcde3b2473453e6
2014-08-18TODO items from the old maintainers. No longer relevant.Kohei Yoshida1-12/+0
Change-Id: I699e320af9862fa3dc5f7408a834714668625888
2014-08-18detect * with no character following as invalid format codeEike Rathke1-0/+5
... so adding it to the list in Format Numbers using the checkmark button is not possible. Change-Id: I57ca6a7a3617583a82a99c87291373b1fe4e246d
2014-08-18Downcast to wrong SfxPoolItem sub-typeStephan Bergmann1-1/+1
Change-Id: I9f4dc2f470f94d6f7cc2959e368fda419d9482c4
2014-08-18Fix -Werror=sign-compareMiklos Vajna1-2/+2
Change-Id: I5c5f31a4970c1c5f2930dd3ae99a46c568101ac4
2014-08-18more out-of-bounds string accessesEike Rathke1-30/+32
Change-Id: Id5df5775e4c5bfb1c484e60e6831f6bc77158d35
2014-08-18do not even append the 0x1B in this caseEike Rathke1-1/+1
Change-Id: I016869b9d2230dfe6af233b1c3ae9b6de4818ce7
2014-08-18no need to set bRes=false here, it is alreadyEike Rathke1-4/+0
Change-Id: I80f78e0d2078c4e56d4f2ef5842b180e6080e410
2014-08-18DOCX export: don't forget to close SDT elements inside the TextBoxes of shapesMiklos Vajna5-0/+18
A usual problem with SDT is that in case it should end after the last paragrah of a container, there is no "next" paragraph that could have the relevant "EndSdtBefore" property. This is usually handled by closing the SDT tag before the container is closed. The problem here was that DocxAttributeOutput::WriteSdtBlock() did not notify DocxSdrExport about opening the SDT, as it thought there is no draw export in progress. This is because in case of "shape with a TextBox", the common writeDMLAndVMLDrawing() method is not called, instead the separate writeDMLTextFrame() and writeVMLTextFrame() methods are invoked. Fix the problem by adjusting these methods to writeDMLAndVMLDrawing(), so that they also set m_bDMLAndVMLDrawingOpen to true during the TextBox export. Change-Id: Ie08b0b955cd2d6a645970da3d485e447abfd6495
2014-08-18Partial revert of d4cf8c2518c77631f91db8564bf3a506f0ab8e70Stephan Bergmann1-47/+47
"Generally better to have DLLPUBLIC class with some DLLPRIVATE members." MSVC over-eagerly also treats the SdStyleSheetPoolBase template specialization as dllexport and fails to generate code for the ImplInheritanceHelper4() ctor because the SfxStyleSheetPool base class has no default ctor. Change-Id: I656c898ebd3d4ca58785084c5aeed4fa670cb7e0
2014-08-18Consistency around SdrOnOffItem in svx/sdtcfitm.hxxStephan Bergmann11-19/+14
...similar to what has been done for svx/sdtmfitm.hxx in 6a2ea81ca1622d2c2ad55bea8ddc28167fcc2794 "Remove unused ctors" and 68969cc61adecac481ae9656978ef952f435b310 "Consistency around SdrMetricItem." Change-Id: Ib461b5d3702e00a9d7cef3229c44e3328c776e1d
2014-08-18prevent out-of-bounds string accessEike Rathke2-5/+27
... while entering a * star symbol format code and there's no fill character following the * yet. Change-Id: I006f125ceefccba6a95ea033fd434d98e5d4f1c2
2014-08-18Generally better to have DLLPUBLIC class with some DLLPRIVATE membersStephan Bergmann5-325/+325
...in the same vein as 80a1a2599e04142683d2286d0e32d0e13fb45de3. Change-Id: I330665957aec2c9b98c7aff7fa7f25525e4cdf7d
2014-08-18Remove unnecessary #includeStephan Bergmann1-1/+0
Change-Id: I7064bfd29f5ce4da2cb46d5b7e9984bc21b16f41
2014-08-18drop unnecessary shl.hxx includesCaolán McNamara145-156/+1
Change-Id: Ieb984987c4a4f888a563377e0500444b12f43506
2014-08-18check len before memcpying into itCaolán McNamara1-0/+15
valgrind + bff on sf_3e0068c9b19bb548826bed0599f65745-CrdWMI-minimized.gif Change-Id: I74cc21609f1c97a27e13615593f678cbbc8463e3