summaryrefslogtreecommitdiff
path: root/sfx2/source
AgeCommit message (Collapse)Author
2014-01-17Resolves: #i123042# corrected reload of linked content...Armin Le Grand
to have access to its own path (cherry picked from commit bc89d402b3df00c2402ac86896eb2ce4c3f7b7d0) Conflicts: sfx2/source/appl/fileobj.cxx svgio/source/svgreader/svgimagenode.cxx svx/source/svdraw/svdograf.cxx Change-Id: I4f3e98588f17b4271465359a7f56f9845029e012
2014-01-17Constructor functions for singletons still need to pass out single instancesStephan Bergmann
...as they are not only called from the service manager (which takes care of singleton constructor functions since 997d21183322a0a94b96868073808841d2773902 "Support for singleton constructor functions") but potentially also directly from cppumaker-generated code (which is the raison d'être for constructor functions, after all). However, this change: * postpones the instance's destruction to atexit, with all dreaded consequences; lets see how that pans out. * makes it questionable whether the service manager holding references of these singletons (introduced in 997d21183322a0a94b96868073808841d2773902) is necessary after all; lets revisit that in another commit. Change-Id: I0a2c902ab62045df1af382d190747e34b80236d3
2014-01-16Revert "Revert "sfx: Use constructor feature for SfxGlobalEvents_Impl.""Stephan Bergmann
This reverts commit ef37781683e28d1837cfce86de990e59d2c10c5f, now that constructor function support for singleton implementations is in place and the proper singleton theGlobalEventBroadcaster has been introduced (and drops sfx_component_getFactory completely, which had become unused except for SfxGlobalEvents_Impl in the meantime). Change-Id: I2d587989dd0a1fbea6fe75f7dc2af954ac81c4ed
2014-01-16Introduce com.sun.star.frame.theGlobalEventBroadcaster singletonStephan Bergmann
...to supersede com.sun.star.frame.GlobalEventBroadcaster single-instance service. Change-Id: I74ecaadadb4c600d39979aa7c13b6389bed38fd7
2014-01-16convert SvStream::operator<< overloads to more explicit methodsNoel Grandin
This is in preparation for more conversion of SvStream::operator<< calls to use more explicit method names. This converts the subclasses that have their own convenience overloads of operator<< to use normal methods. Change-Id: I5efd5d9a24c264cb86d2471303dd5849bf91ba80
2014-01-16Related: fdo#71764 allow extensions button to group with helpCaolán McNamara
even though they are in different containers Change-Id: I785166c577acab03608da10fb4a33072458a82cd
2014-01-16sfx: TEST_HANDLERS not definedMatúš Kukan
Change-Id: If02c029114e9531951b18abeb9d0afd0a18ceca3
2014-01-16sfx: Use constructor feature for BackingComp.Matúš Kukan
Change-Id: Ia461b8315ddd07adcb5609aefa85385db17ebba4
2014-01-16sfx: Constructor feature for two more implementations.Matúš Kukan
Change-Id: Icd387ff97c5df3cea9b20b0b893616812457e493
2014-01-16sfx: Use constructor feature for ShutdownIcon.Matúš Kukan
Change-Id: I3af683cdc273fa8cb9224a0f1f7d342a140c9dd7
2014-01-15Revert "sfx: Use constructor feature for SfxGlobalEvents_Impl."Matúš Kukan
This reverts commit 9b73d3a4cd9c1aea29b51b1b23d0a44c34f2f8a2 because it breaks unit tests. Conflicts: sfx2/source/appl/appuno.cxx Change-Id: I7b2d2dc6ff8ade2c8dd29602827313c7bb01f97d
2014-01-15DdeSetData should apparently return boolStephan Bergmann
Change-Id: Ie0e66ac6c76eabb80340d4c11b60dd7890c6a378
2014-01-15sfx: Use constructor feature for OwnSubFilterService.Matúš Kukan
Change-Id: I5bc7844c74043640494330fefc87914d4c02b768
2014-01-15sfx: Use constructor feature for OPackageStructureCreator.Matúš Kukan
Change-Id: I604132c35cf95ecb3a4dad0bfef5ec50dfa58645
2014-01-15sfx: Use constructor feature for SfxFrameLoader_Impl.Matúš Kukan
Change-Id: If0e20538b85057c52a953a7559f6e7cb75d2fe33
2014-01-15sfx: Constructor feature for pseudo implementations.Matúš Kukan
Change-Id: I18ab7ed8785c63688eecdcdb77289e1691ba793d
2014-01-15sfx: Use constructor feature for SfxDocTplService.Matúš Kukan
Change-Id: Ib1eb1ccf9c5fbbec84eb8f49395651e9219b7b97
2014-01-15sfx: Use constructor feature for SfxGlobalEvents_Impl.Matúš Kukan
Change-Id: Ie93235666e035d6a594cfbe112f7a0d935dae1c4
2014-01-15sfx: Use constructor feature for IFrameObject.Matúš Kukan
Change-Id: If992d847e385bd7968a4d8e491f957f8afcc9377
2014-01-15sfx: Use constructor feature for PluginObject.Matúš Kukan
Change-Id: Id63d9e29905c63dddaf44f8eab5fdc5b670fc6bf
2014-01-15remove sfx2/appuno.hxxMatúš Kukan
Change-Id: Ibfcd2954b20def05d2a7db36f5ccc0b570305441
2014-01-15DdeGetData should apparently return boolStephan Bergmann
Change-Id: I603198b9fd2c6fea1c9ec7de09b23c61fe9d603c
2014-01-15sfx: Use constructor feature for SfxAppDispatchProvider.Matúš Kukan
Change-Id: I2ca8abb284e8441a49c6e96a10cf76b5680e48e2
2014-01-15sfx: Use constructor feature for SfxMacroLoader.Matúš Kukan
Extract that class to its own source file. Change-Id: Idc192354b88d4489db22f6f6e9b7f5178f4030e4
2014-01-14EndDialog takes long nResult, not boolStephan Bergmann
Change-Id: Ic6283b7a71a5d1c539ae99155f448e34e877080a
2014-01-14longparas: none of the callers check for the error caseCaolán McNamara
so we can safely change the return of 0xFFFF to 0 without changing any callers. Which makes this safe seeing as before now every caller would have done something stupid with the results Change-Id: I10d9f12525de10661ed82f3405e6c728d38be106
2014-01-14Remove unused bForBrowsing parameterStephan Bergmann
Change-Id: I32b458390130e9ed83af0831069329ac8f672d67
2014-01-14PrepareClose should probably return boolStephan Bergmann
Change-Id: Ie62a6c1197594102bc68e246ae6059a9442ce314
2014-01-14RET_NEWTASK is apparently unused (since around 2000)Stephan Bergmann
Change-Id: I3c0804d35c5ff7a00ec7169d0ab387f4b63d65d3
2014-01-13SvTreeListBox::ExpandingHdl should return boolStephan Bergmann
Change-Id: I39a854910299ab2e7c64beabda381bb9f0bd2891
2014-01-13drop unnecessary tools/string.hxx includesCaolán McNamara
Change-Id: I2439ed19b554381f80e882aacbac05167622df92
2014-01-13longparas: stop tuncating large html filesCaolán McNamara
Change-Id: I0ad9422d574c8629953fd95f0d334617c042c60f
2014-01-12Startcenter: no need to set helpids manually (new widget layout)Zolnai Tamás
Change-Id: If7a9f6f0538c33ec1eca3f33f23ad6a76908a98c
2014-01-10fdo#72947 Startcenter: handle file urls and non-file urls on a different wayZolnai Tamás
Thanks Stephan Bergmann for the idea. Change-Id: Ifdde1b7eaaefd30a176c47385bc9bfec48d5b86c
2014-01-10SfxPoolItem::operator ==, != should return boolStephan Bergmann
...and SfxEnumItemInterface::HasBoolValue, too. Change-Id: Ia032e3d35a4c3b4c1efdc515ca36e466be03fc0a
2014-01-10Startcenter: ignore repeated clicks inside recent docs viewZolnai Tamás
Change-Id: Ia433adb26e820b89c4d207d018d0daf42654b4a0
2014-01-10re-write SvStream operator<< to non-overloaded methodsNoel Grandin
This is the actual re-write. Use a clang rewriter to rewrite SvStream::operator<< to methods like WriteuInt32. Note that the rewriter is not perfect, and I hand-tweaked the output. In particular, I had to adjust places doing things like (*this) << 1; Change-Id: I5923eda3f4ebaa8b452b6ef109e726e116235a2a Reviewed-on: https://gerrit.libreoffice.org/7342 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2014-01-10fdo#72947 Startcenter: display more userfriendly file urls in tooltipsZolnai Tamás
Use INetURLObject to get a readable url (it displayes special characters too). It is a side effect that 'file:///' prefix disappear which seems a good thing. Plus some cleanup: remove second INetURLObject. Change-Id: I4aab5e2546ae70e5a3d85b12e26e021bfa244999
2014-01-10fdo#72420 Startcenter: help button point to local/wiki help, ui partZolnai Tamás
Change-Id: I7ac4b51868d1a5828c810b1ac629d5a56ffb6f50
2014-01-09Startcenter: mnSpacing became unusedZolnai Tamás
Change-Id: I01f2911c690da36ed0d5beb306e28ab438890fd9
2014-01-09Set PAPER_SCREEN_4_3 values back and use it as it wasZolnai Tamás
It breaks things. Change-Id: Ia28391aed27051e5f6a7e0996f30b23c46eb8269
2014-01-09Remove unused private member: pAccExecZolnai Tamás
Change-Id: Ie21f8a62213954da7f66c1fbe890ba9dee93cf77
2014-01-09fdo#71628 Startcenter: remove thumbnail selection when focus is moved awayZolnai Tamás
mnHighItemId is never assaigned with a valid value and there is no sense to store one selected element's index anyway, because there can be more. The bMove parameter of ImplGetItem is never used and doesn' work so remove it. Change-Id: I91d6bc3fd13a2b44e6961fea66d02702a8f31c2b
2014-01-09Startcenter: use SCREEN_4_3 as default paper for presentationsZolnai Tamás
Remove static to able to construct items with different paper info. Fix SCREEN_4_3 width and height values and use it for presentations. Change-Id: Ifba44675f6126ebfccf26f53f226214bed92352c
2014-01-09Startcenter: when screen is small make doc thumbails smaller, v.2Zolnai Tamás
Change-Id: I2ff45c5455e747ea3726b17b6384111db2699fa9
2014-01-09Startcenter: double click opens file only onceZolnai Tamás
Change-Id: I0d99a905cc8c94d39bfe802b2c597275c81f0b4f
2014-01-09Startcenter: when screen is small make doc thumbails smallerZolnai Tamás
Change-Id: If4fbb66992318221a687710afa77fc98e4f111c3
2014-01-09remove unnecessary casts when calling Combobox::SetEntryDataNoel Grandin
An OUString* is type compatibile with void*. Change-Id: I6f01fe02c75f4db0bda09c7e288cb88d1fbf3c37
2014-01-08tweak button order for alien warn dialogCaolán McNamara
Change-Id: I6e51951df3bff0d1829bff8e2a436e4030247baf
2014-01-08Resolves: #i18109# pre-select the name in new style dialogTsutomu Uchino
(cherry picked from commit 3acdfc0f4c1f30c9030361e51c13d19556ea816f) Conflicts: sfx2/source/dialog/mgetempl.cxx Change-Id: I61faf0195d8ee8976e85bcf1a49561eeebc72b39