summaryrefslogtreecommitdiff
path: root/sd
AgeCommit message (Collapse)Author
2014-11-06use the new OUString::fromUtf8 methodNoel Grandin
Change-Id: I771004b7ccab3344a67e827e45bc34c22ffa5f77
2014-11-06Bin unused include files, thanks to Andrea GelminiTor Lillqvist
Change-Id: I848505b1d4ff03779b89a08d4aeefd6ea0ff205b
2014-11-05sd: fix STL assertion "dereference past-the-end iterator"Michael Stahl
(regression from 967a386bccb15b99915a1e878e42450fbe9a2d0e) Change-Id: I9408170eb155f433922e5b3887059078a141d78a
2014-11-05Fix for SUSE L3 bug 624546 (freedesktop 83733)Marco Cecchetti
Problem: When I'm in outline mode, if I select a slide in the left slide preview pane, ctrl-c, then select another slide I would like it after and hit ctrl-v; it refuses to cut/paste. Analysis: This issue is due to the fact that the outline view always grabs focus when activated and a view is activated whenever is pushed to the sfx shell stack even if it is not the new top-most active view shell (see `ViewShellManager`, `SfxViewShell`, `SfxDispacther`). Solution: Make the `OutlineViewShell` grabs focus only if it is the top-most active view shell. Rationale: When `OutlineViewShell::Activate` is invoked, instead of removing the focus grabbing action completely, we check if the `OutlineViewShell` instance is the the top-most view shell and perform the focus grabbing action only in such a case. This change required to have also the `DrawViewShell` grabbing focus on activation (only when it is the top-most view shell). In order to implement this solution I needed to add a new method (and data member) to the `ViewShellManager` class. I named it `GetTopViewShell`. This method returns a pointer to the top-most active view shell of the internal stack. The returned pointer is updated in the `UpdateShellStack` method, before the sfx shell stack is updated. For more details see : https://gist.github.com/mcecchetti/15b3ebc505d6582ea0db Change-Id: I619a406864f50f0e62dee3fcb9ac5d46e3d48272
2014-11-05callcatcher: update unused codeCaolán McNamara
Change-Id: I792c007541d4d703f17c8cdcd2d441ca505acc52
2014-11-05coverity#736461 Resource leakCaolán McNamara
Change-Id: I38351eecce12effb61d69439b67062b43344d541
2014-11-05fdo#85809 - MENU: Rearranging the Insert > Media submenuYousuf Philips
Change-Id: I34f753904a232a7b338736eee60f9bc225cd8f7f Reviewed-on: https://gerrit.libreoffice.org/12226 Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2014-11-05fdo#85813 drawingML export: fix handling of impress tablesMiklos Vajna
Change-Id: Ia17b14c4b27e808ceab388aa33602875e67433a5
2014-11-05Register ParaLineSpacingPopup in sc and sdMaxim Monastirsky
The Sidebar Paragraph panel is used there for text boxes. Change-Id: Icff81d50c0341f02d29e36d0c3b99478a872a48f
2014-11-05fdo#38835 strip out OUString globalsNoel Grandin
they are largely unnecessary these days, since our OUString infrastructure gained optimised handling for static char constants. Change-Id: I07f73484f82d0582252cb4324d4107c998432c37
2014-11-04remotecontrol: required version for MacOSX is 10.8Riccardo Magliocchetti
Change-Id: I11b64b79de90d776fd117aa687c971ed80172b76 Reviewed-on: https://gerrit.libreoffice.org/12245 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2014-11-03fdo#85620 - Changing the label 'Gallery' and having it in the insert menuYousuf Philips
Change-Id: I4deaef9a942b82566bc7dcdc65f2a84441045f91 Reviewed-on: https://gerrit.libreoffice.org/12167 Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2014-11-01fdo#84938: replace MIB_ constants with enumNoel Grandin
Change-Id: I58c1b4c9e4c4b3751b233d2fe10b9c953b945c4a Reviewed-on: https://gerrit.libreoffice.org/12179 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-31Removed duplicated includesAndrea Gelmini
Change-Id: I5362d997bfa086c9fb1726efcb15132a966684f6 Reviewed-on: https://gerrit.libreoffice.org/12160 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2014-10-31convert COMMAND_WHEEL constants to an enumNoel Grandin
Change-Id: I413d821a984ab556bd19c52704c04de6d828f699
2014-10-31KEY_ALLMOD is the same as KEY_MODNoel Grandin
so just dump it Change-Id: I006045aea345e84ff1944fc1ed1daa94bd7bca61
2014-10-30Fixed typos. No automatic tools (sed, and so on).Andrea Gelmini
Change-Id: Ia43976d84eede6f699381bc4f3daf89b95e4cb4f Reviewed-on: https://gerrit.libreoffice.org/12150 Reviewed-by: Bryan Quigley <gquigs@gmail.com> Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-10-30Related: fdo#84846 move code setting edit mode to a new methodBoris Egorov
First change in series to fix fdo#84846. Change-Id: I52dc333c2caa30ee3c75d9cc80862cf24a204f93 Reviewed-on: https://gerrit.libreoffice.org/12148 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-10-29remove unnecessary 'using namespace rtl' declarationsNoel Grandin
It turns out that almost none of them were necessary. Change-Id: I1311ed28409c682b57ea8d149bcbaf2c49133e83 Reviewed-on: https://gerrit.libreoffice.org/12133 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-29coverity#1242433 SdrMakeOutliner alway derefs pModCaolán McNamara
so change from a pointer to a reference Change-Id: I81eb2c9e4df8353fbbdad7058c6ca7ea22286e62
2014-10-28Windows build fix.Kohei Yoshida
Change-Id: Ia118c81e39f5f48d4678cc375bad45f31ba8322e
2014-10-28Move these headers from include to svx; they are not used outside svx.Kohei Yoshida
Change-Id: I8685b451a39e890250a3309ddb70346bac4084b2
2014-10-28fdo#84938: replace TIMEF_ constants with enumNoel Grandin
Change-Id: Ia6aa4e21fef46b20d1d8996d2f15855b8ba1776e Reviewed-on: https://gerrit.libreoffice.org/12114 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-24coverity#1242429 Explicit null dereferencedCaolán McNamara
Change-Id: I30f65243995288008fbc41de76bd3f4e2d21b00e
2014-10-24Related: fdo#84844 Support fill color in SvxColorToolBoxControlMaxim Monastirsky
Change-Id: I6ccc1d4e71a9fe76cd16dd957f626722aaba543c
2014-10-24Register the item type based on the SIDMaxim Monastirsky
Change-Id: If954191b71daf52c4f49fb7638e583cd0a2c97a5
2014-10-24coverity#735385 try and silence Copy-paste errorCaolán McNamara
Change-Id: Ifc3c705db7f3d88f26753bd189db34ca8ef8160d
2014-10-23Fraction: Revert "fdo#81356: convert Fraction to boost::rational<long> - wip"Jan Holesovsky
This reverts commit 47a2d7642d249d70b5da0c330a73f3a0032e4bba. Conflicts: cui/source/tabpages/transfrm.cxx svx/source/svdraw/svdedtv1.cxx svx/source/svdraw/svdibrow.cxx sw/source/filter/ww1/w1filter.cxx tools/source/generic/rational.cxx Change-Id: I4849916f5f277a4afef0e279b0135c76b36b9d15
2014-10-23Fraction: Revert "boost::rational throws if 0 is passed as denominator"Jan Holesovsky
This reverts commit 1c8695ecf65174298ebd9edb5b0289db07af98ca.
2014-10-23Fraction: Revert "fdo#84854 it seems long is not enough on 32 bit"Jan Holesovsky
This reverts commit 582ef22d3e8e30ffd58f092d37ffda30bd07bd9e. Conflicts: svx/source/svdraw/svdedtv1.cxx svx/source/svdraw/svdibrow.cxx sw/source/filter/ww1/w1filter.cxx Change-Id: I80abc7abdeddc267eaabc9f8ab49611bb3f8ae83
2014-10-23fdo#85247: copy and paste of a slide results in a blue slide in presentation ↵Muthu Subramanian
mode. Seems like "Default" is handled specially or probably the copy-buffer is broken This now checks for slide 'type' as well, before cosidering it a duplicate Change-Id: If8c472bcefb54cee72e7411f92a76b4e2db2b6ce
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