summaryrefslogtreecommitdiff
path: root/sd
AgeCommit message (Collapse)AuthorFilesLines
2013-01-26gbuild: do not copy boost headers aroundMichael Stahl7-2/+14
- do not use gb_UnpackedTarball_copy_header_files for boost - adapt the optimization in concat-deps.c for new path - use boost_headers in all LinkTargets that require it - add explicit include paths to mysqlc, mysqlcppconn, libvisio, liborcus Change-Id: I0c43e73ed43cc9d2e6bce8faf55e992d655a0bb9
2013-01-26sdremote: kill memory corruption / mis-matched alloc/free's.Michael Meeks1-3/+3
Change-Id: I253f28d7c83371282adde86c8eaadd6f25beff5a
2013-01-25fdo#48086 - add help for impress (insert -> animated image)Joel Madero4-0/+12
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. Rossmanith1-1/+1
removed temporarily added OUString(...GetSavedValue()...) constructs again Change-Id: I11477654d217a5ae127c1ef1b19cbff56ed052a6
2013-01-24restore the helpid for impress animation dialog after initializationCaolán McNamara1-0/+3
Document and centralize the uses of undoing the helpid clear after helpid->uniqueid hack Change-Id: I4e651235407a0eca26dc0acfc089ef8f8ce57b13
2013-01-24rename SfxSingleTabDialog to SfxNoLayoutSingleTabDialogCaolán McNamara3-3/+3
Change-Id: I4922b719bf819879909e9949bf7946f20914d1e5
2013-01-23oox: kill no longer needed US() macroMiklos Vajna1-32/+32
Change-Id: Id1cd194a5968aa8578d0f2fefb3c75e3d74a25f5
2013-01-22oox: kill no longer needed S() macroMiklos Vajna4-9/+9
Change-Id: If3f1bb787d6debaa63e3bed3a48e44b5e34c27b7
2013-01-22replace manual ref count with shared_ptrMarkus Mohrhard2-52/+50
Change-Id: I11dbebe78f6945afd0b88b53e482dea47ddd192d
2013-01-22do not second-guess which classes use a stylesheetDavid Tardon1-12/+3
Change-Id: I76b23bcdca2e7394fd5ab67e8341f4cdb46f8a64
2013-01-22rhbz#760765 copy custom styles on copy & pasteDavid Tardon4-9/+77
Change-Id: Icaacf3bc1a02a017692432aec36aba06d3f5dde5
2013-01-22use already defined variableDavid Tardon1-1/+1
Change-Id: Ibadc8327cef327625d6b4663c1487b126e2e6920
2013-01-22tools/string.hxx: add operator==/!= for OUString/StringMichael Stahl1-1/+1
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. Rossmanith8-25/+25
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 Rouvignac6-13/+13
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 McNamara2-0/+20
Change-Id: Ib7a07bc0e6ec9f47b83839fb3eb8f31c014dedff
2013-01-17Const correct-ness in one place...Kohei Yoshida1-1/+1
And an avalanche of changes that ensued. Change-Id: I7f882b621ba5af4cd01b2ac7f482ee3eed24e3d5
2013-01-17Add close findbar button also on other LO componentsJoren De Cuyper2-0/+2
Change-Id: I8a18d0459d9584d00b8d7c747b0bb500e02988d9 Reviewed-on: https://gerrit.libreoffice.org/1727 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2013-01-16Remove GetAllMarkedModel() since all it does is call GetMarkedObjModel().Kohei Yoshida4-5/+5
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 McNamara1-0/+7
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 Grandin1-6/+4
Change-Id: Ib757190a9452e8cb69bff417ebd7b558038e1537
2013-01-11Fix formatMatteo Casalin1-65/+62
Change-Id: I2a7c8e88b689f913f8e37ecc3cfdda43ba60aea3
2013-01-11QUARTZ is equivalent to MACOSXTor Lillqvist2-4/+4
So just check MACOSX in the sources, and don't pass any -DQUARTZ to compilations. Change-Id: Ia1de6024810f81f1eea01b8eb0b885d9d1ee8e20
2013-01-10include PCH headers for headers changesLuboš Luňák1-3/+4
Change-Id: Id94a4322428e27010757ef36b166f8b01697778f
2013-01-10fix Search->indexOf conversionIvan Timofeev1-3/+3
Change-Id: I2b02b62311c00fc47892ea7e24d8bc01ac4fb149
2013-01-10valueOf sal_uInt16 -> valueOf sal_Int32Ivan Timofeev1-1/+1
Change-Id: Ibd92f5ebe3079dd0b75a0f429efc68842a4305ec
2013-01-09lame_OUString_valueOf_sal_Int32_casts += 2;Michael Meeks2-2/+3
2013-01-09Some removal/replacement of the String/UniString with OUStringJean-Noël Rouvignac10-51/+45
2013-01-08DynamicErrorInfo objects must be allocated on the heapStephan Bergmann1-2/+2
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 Lillqvist1-1/+1
2013-01-07Cleanup: #include <tools/gen.hxx>Matteo Casalin12-11/+9
Change-Id: Ic547b4a59102afc8bdbc85ec95ac312e32ef2530 Reviewed-on: https://gerrit.libreoffice.org/1484 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-01-07Revert "Clang doesn't like that ToolPanelFactory::~ToolPanelFactory() is ↵Stephan Bergmann1-0/+1
protected" This reverts commit 504b6f0cec5cad01a64e723434d636bfb867ecfa, which was a workaround for broken 5ea7e74c29f7279b6c31d38185ace576f68f4fb2 "fix some memory leaks in sd" now fixed with 5ea6f6d400e59e037032fb3091c3f6880b562ce9 "UNO objects must be allocated on the heap."
2013-01-07UNO objects must be allocated on the heapStephan Bergmann3-4/+8
This was a regression introduced with 5ea7e74c29f7279b6c31d38185ace576f68f4fb2 "fix some memory leaks in sd." Change-Id: Ibcb2527b396886a5a904d8843c8560765ed859f5
2013-01-07Clang doesn't like that ToolPanelFactory::~ToolPanelFactory() is protectedTor Lillqvist1-1/+0
Change-Id: If7ab2dade60f5de62cfbea6d1d021a30e8a60f57
2013-01-07fix some memory leaks in sdMarkus Mohrhard4-6/+6
Change-Id: I7c7d0772a3d10601c6d1a9ea22c697abe762036d
2013-01-04Make LO buildable again after the GraphicFilter move.Jan Holesovsky12-14/+14
Change-Id: I3455a7294b136400f32163626d5a7a7f2bfa898c
2013-01-03Avoid unnecessary operations on an OUStringMatteo Casalin1-3/+3
Change-Id: I1820711664a6aa18587e1e4a3d74a8e4cbfcc07e Reviewed-on: https://gerrit.libreoffice.org/1537 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-01-03Remove unneeded 'else' and fix 'else if' styleMatteo Casalin1-14/+12
Change-Id: I774af9ca0631e931ddc8c5025981dabca557e325
2013-01-01remove use of #pragma optimizeLuboš Luňák5-44/+0
All these are years old, guessing from some comments as old as Windows 9x support. These workarounds do not seem to be needed now. Change-Id: If67baa5cdefcec33b28696c764b1ed96143b7ccd
2013-01-01WaE: private field 'mPreviouslyDiscoverable' is not usedTor Lillqvist1-2/+2
Change-Id: Ib3f16646035fe29aa64608a17f1a3063f9ebde95
2012-12-28Remove useless lineJulien Nabet1-1/+0
Cf http://nabble.documentfoundation.org/Cppcheck-reports-an-assignment-which-isn-t-used-in-sd-source-ui-func-fupage-cxx-td4026217.html Change-Id: I0061cbec5a92ac0499eb6c80d6ffe13862aad03a
2012-12-27Fix 'PropEntry::operator=' should return 'PropEntry &'Julien Nabet2-2/+2
Change-Id: Id9a772771fe1f1694d1e247c20447461175495ff
2012-12-27remove no longer needed hackLuboš Luňák1-8/+0
2012-12-26ignore #include inside #ifLubos Lunak1-2/+2
2012-12-25Get rid of (most uses of) GUITor Lillqvist3-3/+3
GUI only takes values UNX or WNT, so it is fairly pointless. One can check whether OS is WNT or not instead. Change-Id: I78ae32c03536a496a563e5deeb0fca78aebf9c34 Reviewed-on: https://gerrit.libreoffice.org/1304 Reviewed-by: Peter Foley <pefoley2@verizon.net> Tested-by: Peter Foley <pefoley2@verizon.net>
2012-12-25WaE: unreferenced local variableTor Lillqvist1-1/+1
Change-Id: I3a1eff09724ec79ebc87360e37ccb412b7173a59
2012-12-24Some cppcheck cleaning in sdJulien Nabet6-12/+6
Change-Id: I48b86bf206808e1d19343622b640c80b61b40a48
2012-12-21ugly workaround for msvc+ccache problem with gbuild MSC defineLuboš Luňák1-1/+8
Change-Id: I06ab10df77e2b3598f7268173206429596a50217
2012-12-21fdo#46808, Convert frame::Desktop to new style service.Noel Grandin5-31/+13
I had to drop XEventBroadcaster from the merged interface because it introduced method name conflicts (addEventListener). Shouldn't be an issue since it was scheduled to be dropped anyhow, and the service implementation still implements it, so existing clients will be fine. I dropped the interface XPropertySet from the combined IDL because nobody seems to be using it, and it's primary purpose appears to be to set weird flags. I dropped the optional interfaces XStatusIndicatorFactory XDispatchInformationProvider from the combined IDL because the service does not implement them, and nobody seems to be using them. I suspect they were mistakenly copied from XFrame. I also did not convert the Title, UserDefinedAttributes and LayoutManager properties to attributes, again because no-one is using them. Change-Id: I678a00006ed2cca2d6c37c4e39465811442c33af
2012-12-20Templates Manager: removed the old dialogs and menu entriesCédric Bosdonnat6-30/+0
Change-Id: I5aa9dd8c0bfb95c26bca14962f60041e892ea2ea