summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/outlview.cxx
AgeCommit message (Collapse)Author
2014-07-18Resolves: fdo#81487 pasting into outline view crashes impressCaolán McNamara
CreateTitleTextObject will call indirectly ImpPageChange which triggers tools::EventMultiplexerEvent::EID_PAGE_ORDER and so in outlview.cxx without ignore page changes level in action the outliner is filled in from the slide contents in FillOutliner clearing the outliner contents and filling it fresh, but.. a) this hack tower is not prepared for all the outliner iterators to become invalid b) the contents of this title object is empty, because it was just created, and we didn't get a chance to fill in its text. This all works for typing vs pasting because the KeyInput uses the OutlineViewPageChangesGuard guard which sets the ignore pages changes bit. So, given that OutlineView::UpdateDocument expects the iterators of the outliner to be valid during the lifetime of the method lock the full method with the OutlineViewPageChangesGuard guard Change-Id: Iecbf37d54f5f0c5a181be5f27832f769a3d2e389
2014-07-17Renamed brdcst.[hc]xx to SfxBroadcaster.[hc]xxTobias Lippert
- Remove includes from files where they are not needed. - Update pch files Change-Id: I0188e3934ef429008c1ef495ab1d5b27f38664d5 Reviewed-on: https://gerrit.libreoffice.org/10342 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-07-03use assert when followed by derefCaolán McNamara
Change-Id: I8405e4d8f9fa1de3ef6ee474321b4ac2b4ce1624
2014-07-01coverity#704299 Dead codeNorbert Thiebaud
Change-Id: I41d4c99216cc19302f2d65db1471cb49016a784a
2014-06-25remove whitespacesMarkus Mohrhard
Change-Id: I9daea42a433b5032931a722878874917cf37f4d1
2014-06-09loplugin: inlinesimplememberfunctionsNoel Grandin
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
2014-05-30coverity#704728 Unchecked dynamic_castCaolán McNamara
Change-Id: I2db2d6ffdca1775f21969b523ede56b3fb3fd682
2014-04-24sd: sal_Bool->boolNoel Grandin
Change-Id: I3172a42f6b6abe434ffe0475d1201ff50b6c06ea
2014-03-18sfx2: sal_Bool->boolNoel Grandin
Change-Id: I87c5a180566e9da185c2992844e6522e82c17747
2014-03-05made ListBox handle more than 64k elements, fdo#61520 relatedEike Rathke
ListBox and related now handle up to sal_Int32 elements correctly. sal_Int32 instead of sal_Size or size_t because of UNO and a11y API. Also disentangled some of the mess of SvTreeList and other containers regarding sal_uInt16, sal_uLong, long, size_t, ... type mixtures. Change-Id: Idb6e0ae689dc5bc2cf980721972b57b0261e688a Reviewed-on: https://gerrit.libreoffice.org/8460 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2014-02-27Improve usability of the outlineRob Snelders
If you had data in the outline and would scroll to the bottom then it would be an empty view at the bottom. The width of the outline was defined as a fixed with twice. Once in the outlnvsh and one (even smaller) in the outlview. I have changed the with of the outlview to take the with of the outlnvsh. Change-Id: I1376a135acd92dbe8966b29ccb075e6b74412a8c Reviewed-on: https://gerrit.libreoffice.org/7832 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-27editeng: sal_Bool->boolNoel Grandin
Change-Id: Id4174904487fc153d8e80471da7c829c52092f78
2014-02-21vcl: sal_Bool -> boolStephan Bergmann
Change-Id: I2a3e3d3e3266ea0f0fafdd91362076a4aa160f0e
2014-02-14Drop unnecessary #includeTakeshi Abe
Change-Id: I7518b1014676fda6cfc052e110859cfbf7ca30ad
2014-01-28bool improvementsStephan Bergmann
Change-Id: Icac34936bdb551ad517170fd497212513719d2aa
2013-08-31fdo#62475 - remove visual noisePhilipp Riemer
Change-Id: I7409f7a58796c9bf7542b6a7904ad40581637eeb
2013-08-31fdo#62475 - remove visual noisePhilipp Riemer
This is a follow up commit to - 22d1beb78a475e4846af945afde1c4d6c263b5d6 - 1c7af455ab9345304a7ac48ce2e0310de2ac8a75 Change-Id: I102685391125f3b4f7bdf838f8bd17a2283d558d
2013-08-20Re-work 8bit characters in source code, or remove them.Michael Meeks
Change-Id: I93e14d4936c0ffbe03425d4a54bb0e09bc62b3e3 Reviewed-on: https://gerrit.libreoffice.org/5550 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@suse.com> Tested-by: Michael Meeks <michael.meeks@suse.com>
2013-08-11String->OUStringIvan Timofeev
Change-Id: I98aae013433adb644d289b5d15625dcce824916e
2013-05-10resolved fdo#35756 import more than 64k HTML table cellsEike Rathke
Enhanced EditEngine to be able to hold more than 64k paragraphs. Used also in RTF import Calc and Writer, so that could benefit as well. * changed all EditEngine,Outliner,... related paragraph index/count variables from sal_uInt16 to sal_Int32 * sal_Int32 instead of sal_uInt32 to match accessibility API * matched some Outliner methods' paragraph parameters from sal_uLong to sal_Int32 * containers capable to hold size_t nevertheless are limited to a maximum of sal_Int32 * changed definition of EE_PARA_NOT_FOUND and EE_PARA_ALL to SAL_MAX_INT32 + added EE_PARA_MAX_COUNT and EE_TEXTPOS_MAX_COUNT to initialize ESelection with what previously were hard coded 0xFFFF all over the place + for similar reason added EE_TEXTPOS_ALL corresponding to EE_PARA_ALL to initialize an ESelection spanning all available text like aSel(0,0,EE_PARA_ALL,EE_TEXTPOS_ALL) Change-Id: I62d1b9c399cd709a4f93dbac31b219a61c46ec00 Reviewed-on: https://gerrit.libreoffice.org/3838 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-04-20Remove pass-through header files sd/inc/eetext.hxx and sd/inc/app.hxxMichael Dunphy
Change-Id: Iaccc7c9d81b55ef3a039cb90c4e089ebfc7fe337 Reviewed-on: https://gerrit.libreoffice.org/3487 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-03-19translation and cleanup of comments in sd/source/ui/view/Urs Fässler
Change-Id: I988c0545600185c6b09131d27fb8480efddd947f
2013-03-11sd: translate debug messagesThomas Arnhold
Change-Id: I8a50173babdd441c8247867fce0fdfbedaf0bc02
2013-02-22fdo#38838 search replace for String::CreateFromInt32().Jean-Noël Rouvignac
I ran the following code replace: s/(Uni|Xub)?String\s*::\s*CreateFromInt32/OUString::number/ Change-Id: I7c047cf1c90632bddc23ed49f9455d745ac8688e Reviewed-on: https://gerrit.libreoffice.org/2282 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-02-12Renamed hard-to-remember 8-char headers in editeng.Kohei Yoshida
Change-Id: If255802082890e1b1b4c5197a791fa79a011773e
2012-11-28re-base on ALv2 code. Includes:Michael Meeks
Patches contributed by Armin Le-Grand #118898# Adapted ImpGraphic::ImplGetBitmap to correctly convert metafiles... http://svn.apache.org/viewvc?view=revision&revision=1293316 #118485# - Styles for OLEs are not saved. http://svn.apache.org/viewvc?view=revision&revision=1182166 Patches contributed by Andre Fischer http://svn.apache.org/viewvc?view=revision&revision=1172128 http://svn.apache.org/viewvc?view=revision&revision=1172133 Patch contributed by Ariel Constenla-Haile i#118505# - Remove MN_OLE_OBJECT menu item from Draw/Impress contextmenu - CWS contextmenu1 http://svn.apache.org/viewvc?view=revision&revision=1182915 Patch contributed by Zhang Jian Fang #118876#, Add check if the OutlinerParaObject is created successfully http://svn.apache.org/viewvc?view=revision&revision=1243381 restore a re-based rdbedit.
2012-09-11-Werror,-Wunused-private-field (various sd)Stephan Bergmann
Change-Id: Ib0756e3730783f2c842a835782452279ad8f189b
2012-04-13More RTL_CONSTASCII_USTRINGPARAM removalsOlivier Hallot
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi
Pattern used: find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\) ) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
2012-04-05More removal of RTL_CONSTASCII_USTRINGPARAM in sdOlivier Hallot
More removal of RTL_CONSTASCII_USTRINGPARAM in module sd
2012-03-25removed duplicate includes in sdTakeshi Abe
2012-03-01New IMPL_LINK_NOARG to work around SAL_UNUSED_PARAMETER problemStephan Bergmann
...see ebe26f72e90337da2d14f3029de148904e3e30b6 "WaE: 'unused' attribute ignored when parsing type" for the problem.
2012-02-15Fix fdo#45177 - avoid linked undo for the while.Thorsten Behrens
While I try to wrap head around subtleties for linked undo in Impress outline view, disable that here for the while. Better than a crash for sure.
2012-02-01pointer -> referenceIvan Timofeev
2012-01-28Fix duplicateExpression style Same expression on both sides of '&&Julien Nabet
2011-11-27remove include of pch header from sdNorbert Thiebaud
2011-03-18Merge remote-tracking branch 'origin/integration/dev300_m101'Jan Holesovsky
Conflicts: sd/source/ui/func/fuinsfil.cxx sd/source/ui/func/fuprobjs.cxx sd/source/ui/slideshow/slideshowimpl.cxx sd/source/ui/slidesorter/view/SlsPageObjectViewObjectContact.cxx sd/source/ui/toolpanel/ToolPanelViewShell.cxx sd/source/ui/view/drawview.cxx sd/source/ui/view/drtxtob.cxx sd/source/ui/view/outlnvsh.cxx sd/source/ui/view/outlview.cxx
2011-03-14remove debugging conditions that can no longer be hit with post List removalCaolán McNamara
2011-03-14Remove usage of deprecated container List in sd.npcdoom
2011-03-12Merge commit 'ooo/DEV300_m101' into integration/dev300_m101Bjoern Michaelsen
2011-03-06translated some comments from german to englishDaniel Di Marco
2011-02-07removetooltypes01: Rebase to DEV300m99Carsten Driesner
2011-01-17removetooltypes01: #i112600# Remove tools types from sdCarsten Driesner
2010-12-05Removed dead code and comments from sdRobert Roth
2010-11-26undoapi: support for (simple) marks on the Undo stackFrank Schoenheit [fs]
2010-11-16HC Cleanup - ImpressJoseph Powers
2010-11-16get this building againCaolán McNamara
2010-11-03remove commented out codeRicardo Moreno
2010-10-27undoapi: EndModelChange: Invalid SID_UNDO/REDOFrank Schoenheit [fs]