summaryrefslogtreecommitdiff
path: root/sd
AgeCommit message (Collapse)Author
2014-10-23FastSerializer: Buffer output and write it only at the endMatúš Kukan
Use OSequenceOutputStream class to concatenate strings in a Sequence<sal_Int8> buffer. And write data to file only at the end. The design is a bit fragile, since all FSHelpers need to be destroyed before calling FilterBase::commitStorage(). Otherwise data is not written. Change-Id: I26b02335ef36011bfcda17484b560811d18c7657
2014-10-22callcatcher: update unused codeCaolán McNamara
Change-Id: I96b4d44e44389245f3ccc4a08198676461c6a38b
2014-10-22Save precious vertical space by removing some redundant heading labelsAdolfo Jayme Barrientos
Change-Id: I6aaa7602f57f6cb2d0f9bc3ee897a9c3576d47d3 Reviewed-on: https://gerrit.libreoffice.org/12012 Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2014-10-22Replace DISABLE_SCRIPTING with HAVE_FEATURE_SCRIPTINGTor Lillqvist
Feature test macros that govern conditional compilation should be defined in config_*.h include files, not on the compilation command line. Change-Id: I40575a4762fd2564f10927b6f38a112dd9f9a3d7
2014-10-21Resolves: fdo#83588 Revert "center slide after changing zoom"Caolán McNamara
This reverts commit b179235f702e474b115ca479b603052f422346fd.
2014-10-21fdo#83579 - 'Extrusion On/Off' should be added to Fontwork toolbarYousuf Philips
Also hid 'Extrusion On/Off' button in the extrusion toolbar Change-Id: I768ba62878039a18cad8294046b3ae84d762d91b Reviewed-on: https://gerrit.libreoffice.org/12046 Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2014-10-21Resolves: fdo#84417 restore focus window after previewCaolán McNamara
regression due to changes of sd/source/ui/slideshow/slideshow.cxx in cc5518ca61b209408a9d5262bbdcc39efccdd72d commit cc5518ca61b209408a9d5262bbdcc39efccdd72d Author: Steve Yin <steve_y@apache.org> Date: Thu Nov 28 12:09:19 2013 +0000 Integrate branch of IAccessible2 Change-Id: I6b399d68c1f3ef32b702135b981100a23760569b
2014-10-21add CVE-2014-4114 testCaolán McNamara
Change-Id: I4d195f5ff7f9dc12747a8748915e82ab06d770fa
2014-10-21fix debugging buildCaolán McNamara
Change-Id: I7264f670dd60f6121a23a4cb5524edc3bf1dcee7
2014-10-21fdo#84938: replace WINDOW_BORDER constants with enumNoel Grandin
Change-Id: I91ca8e09971aee26f16257a4fd01125cfb2ebcdb
2014-10-21nShearWink -> nShearAngleMiklos Vajna
Change-Id: I122f16783db4025b9335ed82a12f051516d98d4c
2014-10-20Revert "at least fix the crash when calling SdXImpressDocument::disposeMichael Stahl
... for now" This reverts commit 599473a13e3c5ba669d995c913ad415bd674a16c. moggi says the unspecified crash happened with the tests following the comment in chart2import.cxx:75, but the tests run fine in valgrind now. The commit creates a memory leak in the CppunitTests as SfxBaseModel::dispose() returns early, because mbDisposed is set. Change-Id: I987dce6a4090784d166a4a3b2e7f9e2c0cddd289
2014-10-20coverity#704010 Unchecked return valueCaolán McNamara
Change-Id: I90750c51ce3b38defdba7ecdb7734172983efa8c
2014-10-20fdo#84938: replace TIB_ constants with enumNoel Grandin
Change-Id: I435ce2331fb49e7ce9fe97bdfddfaef706759a84 Reviewed-on: https://gerrit.libreoffice.org/12023 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-19-Werror=shadowMiklos Vajna
Change-Id: I940661c947307dc5dea371e5e6f9a9aedbfc904d
2014-10-17Consistency around SdrAngleItem in svx/sxciaitm.hxxStephan Bergmann
...similar to what has been done for svx/sdtmfitm.hxx in 68969cc61adecac481ae9656978ef952f435b310 "Consistency around SdrMetricItem." Change-Id: I8e76e4751e50f5952c6dfff9ee10362166bf0523
2014-10-17There is no ExportCGMStephan Bergmann
Change-Id: I84b0d4daa3a6090aadaa7f64bdb9277efbba371f
2014-10-17Pass args by const &Stephan Bergmann
Change-Id: I510e1aba6772e1f8d4013b235e95a1e5599fd601
2014-10-16fdo#84854 it seems long is not enough on 32 bitDavid Tardon
Fraction used BigInt internally for computations, rational does nothing like that. Change-Id: I3e9b25074f979bc291208f7c6362c3c40eb77ff5
2014-10-16ensure UserData dtors are done while SolarMutex is lockedCaolán McNamara
otherwise I can't even reorder two slides in the slide pane with dbgutil enabled without a SolarMutex assert in RemoveListener (and we have two SolarMutexes here for some reason, one should be enough) Change-Id: If224568f1b90d62c17bde65a896534aa10f8a661
2014-10-15Restore my pretty slide highlightingCaolán McNamara
and which got horribly destroyed by merge-conflict resolution of 78f6407978aa48c3cbb116bc281940dbf1f2dcbc Change-Id: Ie560416f4aa435e80c57a4449ee499fc5af20022
2014-10-15More -Werror,-Wunused-private-fieldStephan Bergmann
...detected with a modified trunk Clang with > Index: lib/Sema/SemaDeclCXX.cpp > =================================================================== > --- lib/Sema/SemaDeclCXX.cpp (revision 219190) > +++ lib/Sema/SemaDeclCXX.cpp (working copy) > @@ -1917,9 +1917,10 @@ > const Type *T = FD.getType()->getBaseElementTypeUnsafe(); > // FIXME: Destruction of ObjC lifetime types has side-effects. > if (const CXXRecordDecl *RD = T->getAsCXXRecordDecl()) > - return !RD->isCompleteDefinition() || > - !RD->hasTrivialDefaultConstructor() || > - !RD->hasTrivialDestructor(); > + return !RD->hasAttr<WarnUnusedAttr>() && > + (!RD->isCompleteDefinition() || > + !RD->hasTrivialDefaultConstructor() || > + !RD->hasTrivialDestructor()); > return false; > } > > @@ -3517,9 +3518,11 @@ > bool addFieldInitializer(CXXCtorInitializer *Init) { > AllToInit.push_back(Init); > > +#if 0 > // Check whether this initializer makes the field "used". > if (Init->getInit()->HasSideEffects(S.Context)) > S.UnusedPrivateFields.remove(Init->getAnyMember()); > +#endif > > return false; > } to warn about members of SAL_WARN_UNUSED-annotated class types, and warn about initializations with side effects (cf. <http://lists.cs.uiuc.edu/pipermail/cfe-dev/2014-October/039602.html> "-Wunused-private-field distracted by side effects"). Change-Id: I3f3181c4eb8180ca28e1fa3dffc9dbe1002c6628
2014-10-15fdo#84938: replace SYMBOL_TYPE constants with enumNoel Grandin
Change-Id: Ib3763f20d74c22e28d519a9ac47f6f3ab4e31f51 Reviewed-on: https://gerrit.libreoffice.org/11983 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-15nDrehWink -> nRotationAngleMiklos Vajna
Change-Id: I33ca88f38210140931b12a05e426d1373243156e
2014-10-14Resolves: fdo#84887 TabBar::ImplShowPage crashCaolán McNamara
Change-Id: I84250c6a40baeabd0d12958dfe0aea346d2b4fc8
2014-10-14add cgm loading testCaolán McNamara
Change-Id: Icb1732d867d86e2a1b180ce58cec4c91fc630881
2014-10-14fdo#84236 Remove view modes from sd context menuSamuel Mehrbrodt
Change-Id: I7146ee946c7f882decae2c8d93c63002d00dd511
2014-10-14remove duplicate definitions of PPT_TRANSITION_TYPE constantsNoel Grandin
Change-Id: I8b6743c4f2c5c3d52c7df33953ed3dd7b32a1a46
2014-10-14coverity#1242426 Dereference after null checkCaolán McNamara
Change-Id: I59c96846aa5bf4780e4c5bfb0b71242e3b928976
2014-10-14fdo#84938: convert EPP_LAYOUT constants to enumNoel Grandin
Change-Id: Ibf43bf9ca241c6286659a16906a45bbafa798748 Reviewed-on: https://gerrit.libreoffice.org/11961 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-13fdo#84213 Add show/hide ruler to sd context menuSamuel Mehrbrodt
Change-Id: Iee42ab31a82ed4459f956706cef513afcf70ef94
2014-10-13oox: refactor embedded media importMichael Stahl
Currently the oox import creates a temp file and leaks it, and there is no way to clean it up afterwards. Unfortunately it turns out that SdrModel has no way to access the imported OOXML storage, so add a really ugly hack to get the embedded media into the SdrMediaObj by setting both MediaURL and PrivateStream properties (currently oox really wants to set the properties in alphabetical order too...) Change-Id: I5a235fbeb08e7bc17faf066de52b94867e9a79a2
2014-10-13boost::rational throws if 0 is passed as denominatorDavid Tardon
Change-Id: I312fd6b964555b3b4aa4e22cec6054c9a83b2c52
2014-10-12Wording: 'Audio/Video' -> 'Audio or Video'Samuel Mehrbrodt
Change-Id: I9572d4c7fb5f50b869e69436302ac8c20e500392
2014-10-11fdo#84912 - MENU: Addition of AutoSpellcheck to Tools menuYousuf Philips
Change-Id: I5e16f68f8565a26857f4ef233e06a002209e2566 Reviewed-on: https://gerrit.libreoffice.org/11915 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2014-10-11fdo#84916 Fix string: Insert Audio/VideoSamuel Mehrbrodt
Change-Id: I76cd8502f9cb2af379dd732d2081feb094599aca
2014-10-11convert SFX_CALLMODE constants to SfxCallMode enum classNoel Grandin
and fix a couple of bugs in SC and SW where the call mode was being passed to the hints parameter by accident Change-Id: Ief805410b3f7035e012e229e77f92d5832430f58 Reviewed-on: https://gerrit.libreoffice.org/11916 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-11convert vcl StateChangedType to enum classNoel Grandin
Change-Id: Ifa46523619ae7fb8d112525b8df594836e51bb8f Reviewed-on: https://gerrit.libreoffice.org/11843 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-11sd: another temp-file leakMichael Stahl
Change-Id: Idcd31ea07c460aaecff3ea56072cf65e26040bda
2014-10-11sd: rename test classes to be uniqueMichael Stahl
Change-Id: I18d4f6af97fcfb9341711751a8d550e421f7a381
2014-10-10coverity#704776 Dereference after null checkCaolán McNamara
Change-Id: Ifbad1fc30665ff6b9238b5fb4728fc302b0458fa
2014-10-10coverity#708132 Uninitialized scalar fieldCaolán McNamara
Change-Id: I830210b44459cf94eabb983b99bfcc104f865492
2014-10-10coverity#1242757 Result is not floating-pointCaolán McNamara
there was two of these, see commit 164bd64255d71d96e35e908f6425acf8372795fb Date: Thu Oct 2 04:44:33 2014 -0500 coverity#1242757 Result is not floating-point Change-Id: I1f66191f329b2d87bdeb52aa1a7528ca662064a6
2014-10-10coverity#1244953 Uncaught exceptionCaolán McNamara
Change-Id: I3c4aeb3318af7cdb964128dd78f7d2cfba48000e
2014-10-10Unused PowerPointExport::mpMasterFSArray memberMatúš Kukan
Change-Id: I02b9c31146396a39a624fbb869a5880b176e0f9e
2014-10-10cid#1244955 Uncaught exceptionNoel Grandin
Change-Id: Iedf06cc78cda022112699be3db650d11c7249adc
2014-10-10vcl, sd: fix some TempFile leaks from vcl Graphic in cppunit testsMichael Stahl
The problem is that utl::TempFile::GetURL() will return an empty string if the file UCP is not available. There will be an entry in the log file: warn:legacy.osl:25344:1:ucb/source/core/provprox.cxx:366: UcbContentProviderProxy::getContentProvider - No provider for 'com.sun.star.ucb.FileContentProvider. Change-Id: I2741a04cf4b8b420294ae521199706921b37e5c6
2014-10-09German comment translation.Lennart Poettering
Change-Id: I479da454235a7cfc084ae1517ab9ffa07580ab0c
2014-10-09German comment translation.Michael Meeks
Change-Id: I98526bfd6f69d95d5c309e67c397bc85fb8817ab
2014-10-09fdo#81356: convert Fraction to boost::rational<long> - wipJuan Picca
* Added rational util functions used by Fraction class not available in the boost::rational class. * Replaced usage of Fraction by boost::rational<long> * Removed code that relies on: 1. fraction.IsValid() -- rational only allow valid values, ie denominator() != 0 2. rational.denominator() == 0 -- always false 3. rational.denominator() < 0 -- always false but implementation detail: http://www.boost.org/doc/libs/release/libs/rational/rational.html#Internal%20representation * Simplified code that relies on: 1. rational.denominator() != 0 -- always true * BUGS EXIST because Fraction allows the creation of invalid values but boost::rational throws the exception boost::bad_rational Change-Id: I84970a4956afb3f91ac0c8f726547466319420f9 Reviewed-on: https://gerrit.libreoffice.org/11551 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>