summaryrefslogtreecommitdiff
path: root/sd/source
AgeCommit message (Collapse)Author
2013-02-12fdo#46808, Adapt animations::SequenceTimeContainer UNO service to new styleNoel Grandin
The service already existed, it just did not have an IDL file Change-Id: I9698830f9c01936a12669ee950e2b231f303c2f8
2013-02-11fdo#55430 switches off text mode when clicking an other object.Lennard Wasserthal
This patch complements 85ea03ae536831649b104694d08dced4d4c8663f (and 6fbba11da54b52554941f00b07e42cc5d7a1643c, which didn't work correctly before) This also fixes issues when clicking on another object to stop text editing. Switches off text mode, and instantaneously selects the other object. (Rotation doesn't belong into the ./sd/ text routine AT ALL, which also caused bug 37482, which is resolved differently from now on) (Creating text fields doesn't belong into the ./sc/ shape text routine either, and if this executed, it causes funny glitches) Known issues: text mode stays on when you use drag'n drop (the one WITH waiting, to move to other applications etc). Change-Id: I3c8cdedbfae58165ebeda5887c1b6573832eb495 Signed-off-by: Lennard Wasserthal <Wasserthal@nefkom.net> Reviewed-on: https://gerrit.libreoffice.org/1344 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2013-02-11fdo#46808, Use singleton util::theMacroExpander new-style constructorNoel Grandin
And deprecate the old-style service util::MacroExpander Change-Id: Ifcefe31a8f8c68c6d44d6ec19616727eb607e1cd
2013-02-09Remove unused methodsThomas Arnhold
GetOptimalSizePixel and GetHCtrlWidth are never called Change-Id: Ib2ce1445447e85de66683f8b0fdf4fc8aa464084
2013-02-09Translate German commentsThomas Arnhold
Change-Id: I79cc861fadb908605c6d2ed638e3d06ca5a57869
2013-02-07sdremote: More logging.Jan Holesovsky
Change-Id: I5fe792ddfe1fac5166865c51014d87309d48bab2
2013-02-07sdremote: Disable Impress Remote in the menu also when not allowed in Options.Jan Holesovsky
Change-Id: Ida8a3847a54c5415e1802a6688e110202bac35c1
2013-02-07sdremote - disable the menu item if it is not compiled in.Michael Meeks
Change-Id: Id054eb611fe86fdaaf1bba8d1e85342a3cc0e146
2013-02-06fdo#58699 - sdremote - fix it so it closes even with no bluetooth.Michael Meeks
Change-Id: I09588f4e4b22466843f855d99c06f616c04518ac
2013-02-05fdo#43157 - Clean up OSL_ASSERT, DBG_ASSERTRadu Ioan
- changed osl_trace with sal_info Change-Id: I6504abf50f6193db52d101ec856bcaf1ee2a982c
2013-02-04String to OUString.Kohei Yoshida
Change-Id: I3a0eff8ca0c8b654a38ee2df1022ca162bcb67aa
2013-02-04fdo#59426: Don't try to repair package during flat detection phase.Kohei Yoshida
Change-Id: I35968241a79db0aabe06e25c0efac2aa3d1c5b84
2013-02-04Use application background consistently in Draw, fdo#59042Robert Roth
Change-Id: I990a88b2726a7fafe8b15179962f004008090c7a Reviewed-on: https://gerrit.libreoffice.org/1957 Reviewed-by: Jan Holesovsky <kendy@suse.cz> Tested-by: Jan Holesovsky <kendy@suse.cz>
2013-02-04fdo#60213- fix the right-click misbehaviorFaisal M. Al-Otaibi
Change-Id: Iea44c9e70efeb84482aefc70b311f1781241b030 Reviewed-on: https://gerrit.libreoffice.org/1971 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-01-31MIN_FREEHAND_DISTANCE is used nowhereTakeshi Abe
Change-Id: I3111c8fd60089302d7eee51df0ac81ae1a6f5eab
2013-01-30the name field for SdrShadowColorItem seems to be redundant nowCaolán McNamara
Change-Id: I6e90cdfc9577bfa0ee1dd1018a41aa7979dfaf04
2013-01-28Removed empty app.src from drawRobert Roth
Change-Id: I4e9bd57db4510b48b84847dda23feed5b8817df3 Reviewed-on: https://gerrit.libreoffice.org/1910 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2013-01-28remove stray SAL_CALL that breaks windows buildLuboš Luňák
Change-Id: Ia3e6f37460e96f463952072ffbf3e76386edb10d
2013-01-28fdo#51232: i#119987# fix Impress crash when pasting text under Outline viewHerbert Dürr
Patch by: Wang Zhe Testing by: Yan Ji Review by: hdu (cherry picked from commit 484621239c7f743f44579d2b199b0347dc4734cd) Change-Id: I340de4f1b626defa52ecc48938c63ec4d1ce5c1d Signed-off-by: Tor Lillqvist <tml@iki.fi>
2013-01-28fdo#59881 - sdremote: give up on threaded / UNO usage.Michael Meeks
Process incoming commands in the main thread in a Timeout, build thumbnail / previews there too - to avoid the deadlocks mentioned in the bug. Change-Id: I5f5e8d6fbc2e059d4194f72f3e086e1aa87ab2cc
2013-01-28fdo#46808, Adapt document::*PropertyValues UNO service to new styleNoel Grandin
The services are: document::NamedPropertyValues document::IndexedPropertyValues The services already existed, they just did not have IDL files Change-Id: Ibafe9b5afb9b30785df4f66aa923f4b96ceabeed
2013-01-28fdo#46808, Convert SvNumberFormatter to use XComponentContextNoel Grandin
Change-Id: If4e8312dae6bc5eb8bb7655cf250f06ab37b7e5c
2013-01-26sdremote: kill memory corruption / mis-matched alloc/free's.Michael Meeks
Change-Id: I253f28d7c83371282adde86c8eaadd6f25beff5a
2013-01-25fdo#48086 - add help for impress (insert -> animated image)Joel Madero
Help file was already available, just added the button to the UI dialog for Presentation's insert->animated image modified: sd/source/ui/dlg/animobjs.cxx modified: sd/source/ui/dlg/animobjs.src modified: sd/source/ui/inc/animobjs.hrc modified: sd/source/ui/inc/animobjs.hxx Change-Id: I0dbc51f0630d8df001cb17c7465d0e599a5f7815 Reviewed-on: https://gerrit.libreoffice.org/1849 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2013-01-24Change GetSavedValue() to return OUStringChr. Rossmanith
removed temporarily added OUString(...GetSavedValue()...) constructs again Change-Id: I11477654d217a5ae127c1ef1b19cbff56ed052a6
2013-01-24restore the helpid for impress animation dialog after initializationCaolán McNamara
Document and centralize the uses of undoing the helpid clear after helpid->uniqueid hack Change-Id: I4e651235407a0eca26dc0acfc089ef8f8ce57b13
2013-01-24rename SfxSingleTabDialog to SfxNoLayoutSingleTabDialogCaolán McNamara
Change-Id: I4922b719bf819879909e9949bf7946f20914d1e5
2013-01-23oox: kill no longer needed US() macroMiklos Vajna
Change-Id: Id1cd194a5968aa8578d0f2fefb3c75e3d74a25f5
2013-01-22oox: kill no longer needed S() macroMiklos Vajna
Change-Id: If3f1bb787d6debaa63e3bed3a48e44b5e34c27b7
2013-01-22replace manual ref count with shared_ptrMarkus Mohrhard
Change-Id: I11dbebe78f6945afd0b88b53e482dea47ddd192d
2013-01-22do not second-guess which classes use a stylesheetDavid Tardon
Change-Id: I76b23bcdca2e7394fd5ab67e8341f4cdb46f8a64
2013-01-22rhbz#760765 copy custom styles on copy & pasteDavid Tardon
Change-Id: Icaacf3bc1a02a017692432aec36aba06d3f5dde5
2013-01-22use already defined variableDavid Tardon
Change-Id: Ibadc8327cef327625d6b4663c1487b126e2e6920
2013-01-22tools/string.hxx: add operator==/!= for OUString/StringMichael Stahl
This has the disadvantage that it makes comparisons involving fast OUString concatenation via operator+ ambiguous, as can be seen in scriptdlg.cxx, but it allows comparing String and OUString wihout explicit conversion, which is nice for incrementally converting code. Change-Id: Ibfc728bdb161a01e0f8311915c97bcbba8b58c0b Reviewed-on: https://gerrit.libreoffice.org/1803 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-01-21Changed SetText() / GetText() to take/return OUStringChr. Rossmanith
replaced lots of Len() with isEmpty() Change-Id: I6b82d48245ee2a0782e05a326f7934e9357227d0 Reviewed-on: https://gerrit.libreoffice.org/1795 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-01-21Replaced O[U]String::valueOf( static_cast<> ) with O[U]String::number()Jean-Noël Rouvignac
Change-Id: I2f11f2f15a652a9edc3c7e5b67c854debeed20de Reviewed-on: https://gerrit.libreoffice.org/1784 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-01-18add a way to select the current SfxTabPage by nameCaolán McNamara
Change-Id: Ib7a07bc0e6ec9f47b83839fb3eb8f31c014dedff
2013-01-17Const correct-ness in one place...Kohei Yoshida
And an avalanche of changes that ensued. Change-Id: I7f882b621ba5af4cd01b2ac7f482ee3eed24e3d5
2013-01-16Remove GetAllMarkedModel() since all it does is call GetMarkedObjModel().Kohei Yoshida
One less indirection makes the code a tad easier to follow. Change-Id: I8e1113617c09f91c0cad32277ee4e32c78f9f058
2013-01-16Resolves: fdo#55974 segfault while closing an Impress fileCaolán McNamara
regression since aa1927dc257b52edf96de220cc3797e02c83a0ae mpViewShell(pViewShell), +mpSlideSorterViewShell( ::boost::dynamic_pointer_cast< ::sd::slidesorter::SlideSorterViewShell >( pViewShell )), both are boost::shared_ptr potentially to the same thing then, given that we reset mpViewShell in ::disposing we presumably have to do the same thing to mpSlideSorterViewShell. add unset check on mpSlideSorterViewShell usages while I'm at it Change-Id: I35f51977c40f946a49789abd9405a4ef84aea0e8
2013-01-15fdo#46808, Use service constructor for presentation::SlideShowNoel Grandin
Change-Id: Ib757190a9452e8cb69bff417ebd7b558038e1537
2013-01-11Fix formatMatteo Casalin
Change-Id: I2a7c8e88b689f913f8e37ecc3cfdda43ba60aea3
2013-01-11QUARTZ is equivalent to MACOSXTor Lillqvist
So just check MACOSX in the sources, and don't pass any -DQUARTZ to compilations. Change-Id: Ia1de6024810f81f1eea01b8eb0b885d9d1ee8e20
2013-01-10fix Search->indexOf conversionIvan Timofeev
Change-Id: I2b02b62311c00fc47892ea7e24d8bc01ac4fb149
2013-01-10valueOf sal_uInt16 -> valueOf sal_Int32Ivan Timofeev
Change-Id: Ibd92f5ebe3079dd0b75a0f429efc68842a4305ec
2013-01-09lame_OUString_valueOf_sal_Int32_casts += 2;Michael Meeks
2013-01-09Some removal/replacement of the String/UniString with OUStringJean-Noël Rouvignac
2013-01-08DynamicErrorInfo objects must be allocated on the heapStephan Bergmann
cf. "delete pInfo;" in ErrorHandler::HandleError_Impl (tools/source/ref/errinf.cxx). This reverts the remaining (non UNO related) changes from e48d47469508dee55ae6abcb3988222b5612e1e9 "fix some memory leaks in sc" and 5ea7e74c29f7279b6c31d38185ace576f68f4fb2 "fix some memory leaks in sd" that had not already been reverted. Whether any of these instantiations are really leaked (i.e., never deleted again in calls to ErrorHandler::HandleError_Impl) is unclear to me, but that would need to be fixed in a different way. Change-Id: I6d9e7a2f6fce6d6a4d5d390c09a5a12f593028a6
2013-01-08WaE: struct 'Size' was previously declared as a classTor Lillqvist
2013-01-07Cleanup: #include <tools/gen.hxx>Matteo Casalin
Change-Id: Ic547b4a59102afc8bdbc85ec95ac312e32ef2530 Reviewed-on: https://gerrit.libreoffice.org/1484 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>