summaryrefslogtreecommitdiff
path: root/sd
AgeCommit message (Collapse)AuthorFilesLines
2014-09-11fdo#75757: remove inheritance to std::vectorTakeshi Abe1-4/+24
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ž Vajngerl3-38/+67
Change-Id: I058cf5bdd3d11fb28b3e497c1a13e4ffc7e4ed84
2014-09-10fdo#75757: remove inheritance to std::vectorTakeshi Abe3-54/+66
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 Bergmann23-212/+212
Change-Id: I88eeac06413fc3935cbbdb357ff8bf9acaa383a8
2014-09-10Replace uses of old SFX_ITEM_ON alias with SFX_ITEM_SETStephan Bergmann11-26/+26
Change-Id: I64be7ca711dcd3ea7c4d5840a30f2f701d055e1b
2014-09-10callcatcher: update unused codeCaolán McNamara4-28/+0
Change-Id: Ie31c16318b09699e080484292d489a378e3a6dce
2014-09-09semibold->boldCaolán McNamara2-17/+17
Change-Id: I563f4530f2003ea3090cd15696ea53143f7b3aa6
2014-09-09crashtest: sep should be curSepCaolán McNamara1-1/+1
Change-Id: Ic83165ee4af86d0ed0bc77505aae8f50cfc1471a
2014-09-09bnc#480256: OOXML import: unit test for table background propertyMatúš Kukan2-0/+48
Change-Id: I97bf0bd1ea8cf8ece30a2fa328c5c7a8b0549a4a
2014-09-08coverity#1237355 Dereference null return valueCaolán McNamara1-7/+5
Change-Id: I66956979c494f96f76eb0a7840f28c8edc91d816
2014-09-06Related fdo#82088: dropping aliases again :)Stefan Weiberg20-85/+77
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 Weiberg1-3/+3
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 Grandin15-57/+49
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 McNamara18-404/+0
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 Behrens1-1/+1
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 Vajna1-0/+1
This leaked two files in /tmp during every run. Change-Id: I8dc0574c210925fa5d6704ffad9c106186a50151
2014-09-05resource files: remove unused definitionsThomas Arnhold2-4/+0
Change-Id: Ic782eab6943aa8e659acfceb9f20dac76224c258
2014-09-05src: use ToolBoxItem, as all other doThomas Arnhold2-8/+28
Change-Id: I77b0f8a670e4f0a8f75b99662c370b65ce737d3d
2014-09-05src: capitalization as the restThomas Arnhold1-1/+1
it's easier to grep Change-Id: I3639467b77c8071f2ffe3204669514948ffff8a2
2014-09-05Related: fdo#73151 bring DesignerDialog separator back tooThomas Arnhold2-0/+2
Change-Id: I79c602221769be56f2be1ca83e14f21782e44b38
2014-09-03Remove (misleading) EditEngine::QuickRemoveCharAttribsMatúš Kukan2-2/+2
Change-Id: I7a0be4e204a239dfdd9c184b3d54a69debe8a208
2014-09-03Show the right tab for SID_CHAR_DLG_EFFECTMaxim Monastirsky1-1/+1
Change-Id: I3a8b7a9e973d20f06d423ec55cf689478ca98e0a
2014-09-03coverity#704756 Dereference after null checkCaolán McNamara1-3/+3
Change-Id: I004b68ff42d2f56cb7eb1f3a0b20de841a0919c4
2014-09-03Related: fdo#73151 bring DesignerDialog back as invisible buttonThomas Arnhold2-0/+2
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 Arnhold1-0/+2
Accidently dropped by b4558b508141af16d335f45a0f12bdd34521e944 ? Because in draw it's still visible. Change-Id: Ifce5a349ddbb3ae3e33185eb38014ebd9ce4a80f
2014-09-03Related fdo#82088: removing another bunch of aliasStefan Weiberg9-12/+12
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 Arnhold1-5/+5
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 Bergmann1-1/+1
...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 Bergmann1-1/+1
...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 Mehrbrodt4-3/+4
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 Hallot3-16/+43
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 Hallot1-24/+39
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 Stahl3-2/+54
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 Bergmann1-12/+12
Change-Id: Id93eadfd0a34f319f4f6302e1dd225ba71c42a4e
2014-08-29fdo#80538 Show an infobar when document is in read-only modeSamuel Mehrbrodt2-3/+0
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 Hallot1-14/+57
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ž Vajngerl2-0/+37
Change-Id: Ie771a5e53f04c0cd307d24a8bfc3ab7bc9a3094a
2014-08-28parseXml should return xmlDocPtr instead of htmlDocPtrTomaž Vajngerl1-3/+9
Change-Id: Ia9fb79ea40ca840d7328a078e747ad64a63d18f1
2014-08-28PPTX import: fix missing document metadataMiklos Vajna1-0/+16
Without this, the creation / modification date is lost on import. Change-Id: I0b74ac91aee7b8b3e0bc763247086a3a39816bc1
2014-08-27callcatcher: update unused codeCaolán McNamara6-6/+0
Change-Id: Idaed255e4f004ad555ccbd6ba9dc29bf522d3c5f
2014-08-25Consistency around SdrMetricItem in svx/sderitm.hxxStephan Bergmann1-1/+1
...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 Stahl1-0/+2
Change-Id: I4c2f2f0bcce52839033876ec991529721e06a3c8
2014-08-24fdo#73151 Make better use of the sidebarSamuel Mehrbrodt16-62/+25
The general idea is to encourage use of the sidebar instead of floating windows (for Navigator, Styles&Formatting and Gallery) Changes: * Show the sidebar by default in Writer & Impress * Remove the Gallery floating window (Gallery now always opens in the sidebar) * Remove all Gallery, Navigator and Styles&Formatting links from the default toolbar in Writer (since they have an icon in the sidebar and the sidebar is shown by default now) * When selecting "More" from the Styles dropdown, the Stylelist opens in the sidebar instead of the floating window This has all been discussed extensively here: https://bugs.freedesktop.org/show_bug.cgi?id=73151 Change-Id: I3a0461d1472711da7121801000af294b432fccb1 Reviewed-on: https://gerrit.libreoffice.org/11077 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-08-23fdo#82577: Handle KeyCodeTor Lillqvist10-19/+19
Put the VCL KeyCode class in the vcl namespace. Avoids clash with the X11 KeyCode typedef. Change-Id: I624c9d937f7c5f5986d313b6c5f060bd8bb7e028
2014-08-22Remove some useless tools/debug.hxx includesMarcos Paulo de Souza4-4/+0
Also remove the tools/solar.h included from tools/debug.hxx. The include of solar.h header was necessary in some cases because of a macro or a typedef that was needed. Change-Id: Ia6e15d5c2571c58c9e9138b0d0a7f08ae88053c9 Reviewed-on: https://gerrit.libreoffice.org/11075 Reviewed-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com> Tested-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
2014-08-21These "newly added" record types are publicly documented nowadaysTor Lillqvist1-3/+3
Use symbolic names from the MS-PPT RecordType documentation, http://msdn.microsoft.com/en-us/library/dd945336(v=office.12).aspx Change-Id: I1deecfc69dd3360ef982f144d5ff5348a2953280
2014-08-19Resolves: fdo#82355 crash on loading pptCaolán McNamara1-2/+3
regression probably triggered by... commit 2e3c45afc6c5ea74f1f8b4a7dce806e537870546 Date: Fri Mar 4 07:38:16 2011 -0800 Remove usage of deprecated List container. but that just stopped at the first NULL by chance Change-Id: I767e3bc3130d99cedceb4172857d1741c677b19b
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 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-19error C2296: '<<' : illegal, left operand has type 'const char [28]'Miklos Vajna1-0/+1
Change-Id: Ibc25771002bd8ac9b4a2aca9f3c2965b8da9014e