summaryrefslogtreecommitdiff
path: root/sd
AgeCommit message (Collapse)Author
2014-09-16fdo#75757: remove inheritance to std::vectorTakeshi Abe
from RecentlyUsedMasterPages::MasterPageList. Change-Id: Ifeb62d141a6394c7bd79a047a4904c372a8ebe66 Reviewed-on: https://gerrit.libreoffice.org/11413 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2014-09-15fdo#83619 Retain dropdown part after customizationMaxim Monastirsky
Change-Id: I84c33e5b646ba43b9cad1d9ed106e7ead911e5c0
2014-09-15sd: sal_Bool -> boolStephan Bergmann
Change-Id: Ic59f5f89017c2a50185596e1e264dcde260d3e70
2014-09-14Related: fdo#83572 Improve zoom modeMaxim Monastirsky
Make this mode permanent, and add also zoom out/pan functionality. Hold Ctrl for zoom out, Shift for pan. Change-Id: I5bd8adfcc4d403c35b33185e5894a2b020d604d0
2014-09-14fdo#55903 Immediate effect for zoom in buttonMaxim Monastirsky
That's what apparently people expect from this button to do, similar to the nearby zoom out button. This is also consistent with a similar button in math, and in print preview (both are using the same icon and same tooltip). The zoom mode that was assigned to this button until now, moved to a dedicated button (thus could be further improved to host other functionality as well - see the next commit). Change-Id: Ie640c72cf1aab1e3fc8a14211702a33a86bb3672
2014-09-12Keep files of failing tests aroundStephan Bergmann
(Arguably, such files should be stored in a workdir/CppunitTest/... directory removed and freshly created before every test run, instead of in TMPDIR.) Change-Id: I12e5073f4e8098cfd99456101fbc2d6ab919f093
2014-09-12Turn SfxItemState into a C++11 scoped enumerationStephan Bergmann
...to gain further confidence in the claim "that none of the existing code tries to uses combinations of these enum values" (d92602c5b13d0a60439d86c5a033d124178726ca "more fixes for SfxItemState") Change-Id: I987922d945e8738e38adfde83b869adf3ff35b13 Reviewed-on: https://gerrit.libreoffice.org/11384 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2014-09-11WaE: Unreferenced function definitionTor Lillqvist
Change-Id: I6f6560e2c2aaf4b71480fc2ffc7ef2f6e2474ab0
2014-09-11fdo#75757: remove inheritance to std::vectorTakeshi Abe
from LayeredDevice::LayerContainer. Change-Id: Icc4b16db92daadbd742e83e90c95477c0c465f5b Reviewed-on: https://gerrit.libreoffice.org/11397 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-09-11get rid of QUERYINT macro in sdTomaž Vajngerl
Change-Id: I058cf5bdd3d11fb28b3e497c1a13e4ffc7e4ed84
2014-09-10fdo#75757: remove inheritance to std::vectorTakeshi Abe
from ParagraphObj, by using boost::ptr_vector. This is also a supposed fix for ParagraphObj::operator=(), because ParagraphObj::ImplClear() now makes the vector empty while its original code kept deleted pointers. Change-Id: I7710eb33fc05bed55474ff00baaeb8e19cd79f3d Reviewed-on: https://gerrit.libreoffice.org/11379 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-09-10Replace uses of old SFX_ITEM_AVAILABLE alias with SFX_ITEM_DEFAULTStephan Bergmann
Change-Id: I88eeac06413fc3935cbbdb357ff8bf9acaa383a8
2014-09-10Replace uses of old SFX_ITEM_ON alias with SFX_ITEM_SETStephan Bergmann
Change-Id: I64be7ca711dcd3ea7c4d5840a30f2f701d055e1b
2014-09-10callcatcher: update unused codeCaolán McNamara
Change-Id: Ie31c16318b09699e080484292d489a378e3a6dce
2014-09-09semibold->boldCaolán McNamara
Change-Id: I563f4530f2003ea3090cd15696ea53143f7b3aa6
2014-09-09crashtest: sep should be curSepCaolán McNamara
Change-Id: Ic83165ee4af86d0ed0bc77505aae8f50cfc1471a
2014-09-09bnc#480256: OOXML import: unit test for table background propertyMatúš Kukan
Change-Id: I97bf0bd1ea8cf8ece30a2fa328c5c7a8b0549a4a
2014-09-08coverity#1237355 Dereference null return valueCaolán McNamara
Change-Id: I66956979c494f96f76eb0a7840f28c8edc91d816
2014-09-06Related fdo#82088: dropping aliases again :)Stefan Weiberg
Change-Id: I41f6472423b60e3699ed6158cc5eccb10de1538d Reviewed-on: https://gerrit.libreoffice.org/11295 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-09-06Related fdo#82088: removing aliases in headersStefan Weiberg
Change-Id: Id3496d1720630dd7a873edd04b664fc279c1c25e Reviewed-on: https://gerrit.libreoffice.org/11294 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-09-06SfxHint: convert home-grown RTTI to normal C++ RTTINoel Grandin
Also note that I fixed a bug in SvxFontMenuControl::Notify where the if statement had the check the wrong way around. Change-Id: I611e8929c65818191e36bd80f2b985820ada4411 Reviewed-on: https://gerrit.libreoffice.org/11147 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-09-06DockingWindow LayerDialog appears unusedCaolán McNamara
along with SID_LAYER_DIALOG_WIN There is a seperate normal Layer Dialog, but no apparent way to create this Docking Window Change-Id: I57b6928c14586f48cdf5e3e7588b6aa8560ecec1
2014-09-05fdo#82681: return IsUserDefined w/o negationKatarina Behrens
when the predicate is called StyleSheetIsUserDefinedPredicate Returning negation thereof somewhere, somehow, corrupts one of SfxItem pools. Thus, invalid read happens and crashes Impress and Draw. Now the loop in SdStyleSheetPool::UpdateStdNames does nothing (it iterates through user-defined styles, but its body does something for non-user-defined styles), so more investigation here is needed. This is partial revert of commit 3440766f0ad43454287a874b5fd34b6f2af6bdf1 Change-Id: I06f0da320c49674dac2adf43b7c374babbdadb57
2014-09-05CppunitTest_sd_import_tests: missing DoClose() callMiklos Vajna
This leaked two files in /tmp during every run. Change-Id: I8dc0574c210925fa5d6704ffad9c106186a50151
2014-09-05resource files: remove unused definitionsThomas Arnhold
Change-Id: Ic782eab6943aa8e659acfceb9f20dac76224c258
2014-09-05src: use ToolBoxItem, as all other doThomas Arnhold
Change-Id: I77b0f8a670e4f0a8f75b99662c370b65ce737d3d
2014-09-05src: capitalization as the restThomas Arnhold
it's easier to grep Change-Id: I3639467b77c8071f2ffe3204669514948ffff8a2
2014-09-05Related: fdo#73151 bring DesignerDialog separator back tooThomas Arnhold
Change-Id: I79c602221769be56f2be1ca83e14f21782e44b38
2014-09-03Remove (misleading) EditEngine::QuickRemoveCharAttribsMatúš Kukan
Change-Id: I7a0be4e204a239dfdd9c184b3d54a69debe8a208
2014-09-03Show the right tab for SID_CHAR_DLG_EFFECTMaxim Monastirsky
Change-Id: I3a8b7a9e973d20f06d423ec55cf689478ca98e0a
2014-09-03coverity#704756 Dereference after null checkCaolán McNamara
Change-Id: I004b68ff42d2f56cb7eb1f3a0b20de841a0919c4
2014-09-03Related: fdo#73151 bring DesignerDialog back as invisible buttonThomas Arnhold
Let the user decide if he wants to have this button and/or use the sidebar. Partial revert of b4558b508141af16d335f45a0f12bdd34521e944 Maybe we should do the same for the Navigator button. Change-Id: I05ba37e7fa18b4d0a74ae90db05f8e5c63cf449c
2014-09-03Related: fdo#73151 bring ZoomToolBox backThomas Arnhold
Accidently dropped by b4558b508141af16d335f45a0f12bdd34521e944 ? Because in draw it's still visible. Change-Id: Ifce5a349ddbb3ae3e33185eb38014ebd9ce4a80f
2014-09-03Related fdo#82088: removing another bunch of aliasStefan Weiberg
Change-Id: I6e2ab6d20723803aedb530b4d25aa79ec0edbb8f Reviewed-on: https://gerrit.libreoffice.org/11260 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-09-01Partially revert: fixincludeguards.sh: sdThomas Arnhold
Doesn't look this sane... commit 3b58ababc566adef48d8ab600489e554c4585b1d Author: Thomas Arnhold <thomas@arnhold.org> Date: Wed Oct 23 22:38:46 2013 +0200 fixincludeguards.sh: sd Change-Id: Ia6836deaa1982febf71cd8abd89e93ea0a844721
2014-09-01Consistency around SfxBoolItem in svx/svx3ditems.hxxStephan Bergmann
...similar to what has been done for svx/sdtmfitm.hxx in 68969cc61adecac481ae9656978ef952f435b310 "Consistency around SdrMetricItem." Change-Id: I3253b4cc5657a7d6b960ee892584109d373eed3d
2014-09-01Consistency around SfxUInt32Item in svx/svx3ditems.hxxStephan Bergmann
...similar to what has been done for svx/sdtmfitm.hxx in 68969cc61adecac481ae9656978ef952f435b310 "Consistency around SdrMetricItem." Change-Id: I3193eab34a34c051002adeedd8b368e26f55f7a3
2014-08-31fdo#80538 Add (hidden) edit icons to the toolbar againSamuel Mehrbrodt
per https://bugs.freedesktop.org/show_bug.cgi?id=80538#c23 Change-Id: I1e9b06bd84ddbfbf70b4de904679bb99c2b72da0 Reviewed-on: https://gerrit.libreoffice.org/11203 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-08-31Help buttons mushrooming all over the place...Olivier Hallot
Change-Id: I098cdc4899c27930f3d0a16d7fbd26dbce91d4c5 Reviewed-on: https://gerrit.libreoffice.org/11212 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-08-31fdo#83289 (part) help btn for impress photo albumOlivier Hallot
Help button in Impress Photo Album dialog Change-Id: Id21a29955036ed74ee9b66be8c076ecf81f25a17 Reviewed-on: https://gerrit.libreoffice.org/11211 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-08-29n#708518: sd: check that master page matches when setting parent styleMichael Stahl
In ODF import it happened that the parent style of "outline2" etc. was always set to the "outline1" style of the first master page in the document, but it should be the "outline1" style of the same master page as the "outline2". (regression from e955433c3574cb602dedba96bc645898f97858bf) Change-Id: Ie563d5ee5c2040aeb6ca5c8bb25b195e15ea964e
2014-08-29Fix CppunitTest nameStephan Bergmann
Change-Id: Id93eadfd0a34f319f4f6302e1dd225ba71c42a4e
2014-08-29fdo#80538 Show an infobar when document is in read-only modeSamuel Mehrbrodt
and remove the Edit icon from the toolbar Change-Id: I27d9506bd0fb76b3f1ad056a9866f7744674a3e2 Reviewed-on: https://gerrit.libreoffice.org/11182 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2014-08-28Fix fdo#83160 (part): Help button for impress rem.Olivier Hallot
HIG-ify Impress remote dialog and add help button in dialog Change-Id: I17a67090121af9fb9656a3afa177fa4c5403332b Reviewed-on: https://gerrit.libreoffice.org/11154 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-08-28bnc#822347: Test for bullet character defined as '' - empty char.Tomaž Vajngerl
Change-Id: Ie771a5e53f04c0cd307d24a8bfc3ab7bc9a3094a
2014-08-28parseXml should return xmlDocPtr instead of htmlDocPtrTomaž Vajngerl
Change-Id: Ia9fb79ea40ca840d7328a078e747ad64a63d18f1
2014-08-28PPTX import: fix missing document metadataMiklos Vajna
Without this, the creation / modification date is lost on import. Change-Id: I0b74ac91aee7b8b3e0bc763247086a3a39816bc1
2014-08-27callcatcher: update unused codeCaolán McNamara
Change-Id: Idaed255e4f004ad555ccbd6ba9dc29bf522d3c5f
2014-08-25Consistency around SdrMetricItem in svx/sderitm.hxxStephan Bergmann
...similar to what has been done for svx/sdtmfitm.hxx in 6a2ea81ca1622d2c2ad55bea8ddc28167fcc2794 "Remove unused ctors" and 68969cc61adecac481ae9656978ef952f435b310 "Consistency around SdrMetricItem." Change-Id: I4a0715b18bc3aa032779252cad2450c905a467a4
2014-08-25set names on a bunch more threads...Michael Stahl
Change-Id: I4c2f2f0bcce52839033876ec991529721e06a3c8