summaryrefslogtreecommitdiff
path: root/sfx2/source/inc
AgeCommit message (Collapse)AuthorFilesLines
2012-10-29fdo#46808: Fix previous commitStephan Bergmann1-2/+1
Removing the xJobExecutor.is() check from SfxGlobalEvents_Impl::implts_notifyJobExecution was wrong, as m_xJobExecutorListener was a WeakReference. However, it appears there is no good reason for the latter, so the situation can be corrected by turning it into a plain Reference. Change-Id: I5690d226b3e8fdd97f75a37502e600b460ec674c
2012-10-29fdo#46808, use service constructor for task::JobExecutorNoel Grandin1-4/+2
Also remove some unnecessary fields.
2012-10-24fdo#46808, use service constructor for frame::GlobalEventBroadcasterNoel Grandin1-3/+2
Add document::XEventBroadcaster interface to XGlobalEventBroadcaster, because a client uses it, and the service always implements it. This is safe to do because we haven't released an LO version with XGlobalEventBroadcaster in it yet.
2012-10-11Merged SvTreeListBox and SvLBox.Kohei Yoshida1-2/+2
There is no reason to keep SvLBox separate. Change-Id: I0b34aa8f8ca539d4f4f0f9cea9fa9b8faec241e8
2012-10-05convert password dialog to .uiCaolán McNamara1-1/+0
Change-Id: Ib2e9c5a72239fc0fa3a54ac3717d90fe1b779d63
2012-09-27Improvements on previous commitStephan Bergmann1-4/+3
* Made XGlobalEventBroadcaster inherit document::XDocumentEventBroadcaster/ Listener replacements for obsolete document::XEventBroadcaster/Listener. This means some client sides unfortunately still need to use UNO_QUERY_THROW to obtain the obsolete interfaces; those client sides should be cleaned up to use the replacement interfaces instead. * Added @since tag (even to unpublished entities, on "it doesn't hurt" grounds). * Made client sides use XGlobalEventBroadcaster directly instead of querying for its super-interfaces. * Replaced new uses of comphelper::ComponentContext::getUNOContext with comphelper::getComponentContext (see 03a9f139bd9ea1a4f9096fc982e6b326def58532 "ComponentContext::getUnoContext -> getComponentContext simplification;" I intend to get rid of comphelper/componentcontext.hxx much sooner than of comphelper/processfactory.hxx). Change-Id: I6d971ebdaea83d0c3fa9ba299fb6b37e58cdfe9b
2012-09-27fdo#46808, Adapt frame::GlobalEventBroadcaster UNO service to new styleNoel Grandin1-6/+4
Create a merged XGlobalEventBroadcaster interface for this service to implement. Which is backwards-compatible, but does not require creating a new service. Also add two interfaces to the IDL, which the service already implemented, and existing client code already used. Change-Id: Ib7a9a30c0e50146ef621f3fe5227f8aad3190516
2012-09-05Some clean up of previous commitStephan Bergmann1-2/+2
Change-Id: I14097acf09e9663af7d7abc5f0c9d481880ecc51
2012-08-23rtl::OUString -> OUStringRafael Dominguez1-2/+2
Change-Id: Id435edc2d2f8801bde4be6e4acbe42608e0be179
2012-08-16-Werror,-Wunused-private-field (Clang towards 3.2)Stephan Bergmann1-1/+0
Change-Id: I7162523a26488b8528a91ec7abd587f55647acbb
2012-08-08remove include comments and boxesThomas Arnhold3-6/+0
Change-Id: I9ccf664e8f75a68b1b87c2b29ae617a90d0741a7
2012-08-07Remove non-existing forward declarationsThomas Arnhold1-1/+0
Those classes don't exist. So remove friend class operators too. Change-Id: I8e3b32db933dea7cbab86015f0c926df967511f6
2012-08-01Remove unused code: those classes are unusedThomas Arnhold1-15/+0
Change-Id: Ibf41655d40c9534629bbb0dd5ae600791b42922d
2012-07-29Move TemplateSearchViewItem to its own header.Rafael Dominguez1-0/+30
Change-Id: Ie00b5e81fdae69dea31be2a680b0d37f867b5f4e
2012-07-17removed unused forward declarations of classTakeshi Abe1-2/+0
Change-Id: I9762e198825fbc697f4049a7da5755d72c14e481
2012-07-14Remove unused HIDsThomas Arnhold1-4/+0
Those were only listed in help_hid.lst Change-Id: I491a037b375015db76c30c93a59b615a63fb1838
2012-07-11Set SearchViewItem subtitle folder name.Rafael Dominguez1-2/+2
Change-Id: I1fc3f69ed5ecdfa9d9adb4b2b69801f2bb01e7f7
2012-07-07removed unnecessary forward declarations of classTakeshi Abe7-21/+0
except moving 'class SfxStringItem' to cui/source/inc/acccfg.hxx Change-Id: I11d3803ebcfa02658d376bacf28b3d6030ee9d1b
2012-07-06re-base on ALv2 code. Includes:Michael Meeks16-381/+236
Patches contributed by Mathias Bauer: cws mba34issues01: #i117713#: remove superfluous assertions about field unit fallbacks http://svn.apache.org/viewvc?view=revision&revision=1172341 cws mba34issues01: #i117718#: provide filter name in case storage of medium does not allow to detect one cws mba34issues01: #i117712#: fix several resource errors introduced by IAccessible2 implementation http://svn.apache.org/viewvc?view=revision&revision=1172343 http://svn.apache.org/viewvc?view=revision&revision=1172350 cws mba34issues01: #i117708#: status indicator for inactive documents http://svn.apache.org/viewvc?view=revision&revision=1172358 cws mba34issues01: #i116025#: fix typo and add missing treatment of new parameter http://svn.apache.org/viewvc?view=revision&revision=1172359 cws mba34issues01: #i117024#: rework parameter conversion for load/save slots http://svn.apache.org/viewvc?view=revision&revision=1172360 cws mba34issues01: #i116803#: possible crash on Linux when dispatch.cxx is compiled with optimization http://svn.apache.org/viewvc?view=revision&revision=1172367 cws mba34issues01: #i114600#: fix compiler warning for name clash found on Solaris http://svn.apache.org/viewvc?view=revision&revision=1172371
2012-07-06Merge branch 'feature/template-dialog'Rafael Dominguez2-0/+73
Conflicts: sfx2/Library_sfx.mk sfx2/inc/sfx2/sfxcommands.h sfx2/inc/sfx2/sfxsids.hrc sfx2/source/appl/appserv.cxx svtools/Library_svt.mk Change-Id: I4305d81cb5fd6f5192a29f85835c78f31310b0d6
2012-07-04Connect button click handlers and end dialog with the desired result.Rafael Dominguez1-0/+4
Change-Id: Ib87bd61c1cc7da906304c8ca43cd38d9a7bb1fcf
2012-07-04Set correct dimensions and positions of inputbox widget.Rafael Dominguez1-0/+2
Change-Id: I31f92f4af90865d8713f50031c08a6fd4498d885
2012-07-04Create a view to display search results.Rafael Dominguez1-0/+30
Change-Id: I85b34937a91dbc321ff98ee873f9e8b9cc037fd2
2012-07-03Create dialog skeleton to ask user for new folder name.Rafael Dominguez1-0/+37
Change-Id: I5f861753c7b4d0e901c8268f4004676df7da124f
2012-07-02Remove unused definesThomas Arnhold3-10/+0
Some of them were commented out for documentation purpose. Change-Id: I29a6b2cbe774b527f0c3a0be5675160817a7f3ce
2012-07-01Remove unused definesThomas Arnhold1-1/+0
Change-Id: Ic36b131ee9964a6671f7f41e1cad1631c43ad565
2012-06-29Remove UNO includes commentsThomas Arnhold1-2/+0
Change-Id: I48e193322967fb75e93eaf81e9e2110d3056f92a
2012-06-27Remove unused include filesThomas Arnhold3-409/+0
Those never get included at any point in the code. Change-Id: I17736e005635b9e57759cfc95176a99e7c5e8988
2012-06-26tidy some resource stringsCaolán McNamara1-1/+1
Change-Id: I611a276d048121084ec842d062129e042f3baea5
2012-06-22re-base on ALv2 code.Michael Meeks2-49/+31
Change-Id: I8018d9b5fa01d1720c0392dc5fdc4a0656f25a35
2012-06-21re-base on ALv2 code.Michael Meeks19-466/+296
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21re-base on ALv2 code.Michael Meeks1-23/+14
Change-Id: Ice06e639213aeb6f7f23cbf4634947dd25613db1
2012-06-21hrc cleanup: Remove unused definesThomas Arnhold2-151/+0
All of those defines (should) not be used at any point in the code. False positives may exist, because some macro names are getting generated by some template/macro foo. This is the version which compiled fine for me. Also there are many commented out lines removed. Change-Id: I6394024682e4ab3691eb72707a9363d41ba31df8
2012-06-20Convert SV_DECL_PTRARR(SfxFrameArr_Impl) to std::vectorNoel Grandin1-1/+2
Change-Id: I29d7b6f55f227f11abbf7e41fba3ffd7af85f268
2012-06-11remove EraseLeadingChars and EraseTrailingCharsCaolán McNamara1-2/+0
Change-Id: Ib9797fe97cd008cc6508ce8cec47dc5373416892
2012-03-30removed duplicate includes in sfx2Takeshi Abe1-1/+0
2012-03-23.hrc files don't need executable bitsMichael Stahl2-0/+0
2012-03-16Introduced SystemShellExecuteFlags::URIS_ONLYStephan Bergmann1-0/+57
2012-03-14Enable -Wnon-virtual-dtor for GCC 4.6Stephan Bergmann1-0/+1
...which has the necessary features to support it. Change a lot of classes to either contain a protected non-virtual dtor (which is backwards compatible, so even works for cppumaker-generated UNO headers) or a public virtual one. cppuhelper/propertysetmixin.hxx still needs to disable the warning, as the relevant class has a non-virtual dtor but friends, which would still cause GCC to warn. Includes a patch for libcmis, intended to be upstreamed.
2012-03-01New IMPL_LINK_NOARG to work around SAL_UNUSED_PARAMETER problemStephan Bergmann2-3/+3
...see ebe26f72e90337da2d14f3029de148904e3e30b6 "WaE: 'unused' attribute ignored when parsing type" for the problem.
2012-02-14fdo#37775: Recent Documents not updated by Save & Save AsMuhammad Haggag2-1/+6
This patch changes LO behavior so that we update recent documents on file save, save as, save all, and close. The previous behavior was to only update the list on document close. = Changes = SfxPickList (sfxpicklist.cxx/hxx): . Extracted the logic to add a document to the "Recent Documents" list into a function of its own: AddDocumentToPickList - Simplified the logic used by removing the check of SfxObjectShell_impl::bWaitingForPickList (see SfxObjectShell_impl::bWaitingForPickList below for details) . Modified SfxPickList::Notify to call the aforementioned function on save, save-to, and save-as. SfxObjectShell::APISaveAs_Impl (objserv.cxx): . Modified it to allow picklist entry when doing "Save As". SfxObjectShell_impl::bWaitingForPickList (objstor.cxx, objxtor.cxx, objshimp.hxx): . Removed this flag. It was used to indicate that a document wants to be added to the picklist, then cleared after it's added. Since we now always add documents to the picklist on saving, we no longer need it. = Verification = The change is in sfx2, so it should apply to all LO apps. I verified the new behavior in both writer and calc with the following actions: . File->Save . File->Save As . File->Save All . File->Close
2012-02-05Remove unused codeElton Chung1-5/+0
2012-01-30remove '#define OUSTRING ::rtl::OUString'Ivan Timofeev1-6/+5
2012-01-27Replace SvtUndoOptions with (simplified) direct configuration access.Stephan Bergmann1-2/+0
Also, code in sw can be simplified under the premise that always /org.openoffice.Office.Common/Undo/Steps > 0.
2012-01-23SfxVirtualMenu: fix context menu crash:Michael Stahl1-3/+5
SfxMenuCtrlArr_Impl used to be a PTRARR_DEL, so use a boost::ptr_vector to ensure elements are deleted. (regression from 94d4764a42f8f38b884bb8960791d80ac876b786)
2012-01-20Remove unused SV_DECL_PTRARRAugust Sodora1-9/+0
2012-01-20SV_DECL_PTRARR->std::vectorAugust Sodora1-3/+1
2012-01-06Removed unnecessary tools/link.hxx includes.Marcel Metz2-2/+0
2012-01-05Removed unnecessary tools includes.Marcel Metz1-1/+0
Hello lo-devs, this patch series removes a lot of unnecessary includes for the various tools header. The patches without suffix should be applied to the core repository, the .binfilter.patch suffix should be applied to the binfilter repository. I've tested the build with the configuration --enable-binfilter --enable-dbgutil --enable-debug, is this sufficient or did I miss another important configuration, that enables some conditional compiled code? I've only build this on linux-x86_64, but the patch also touches some of the mac specific code like fpicker/source/aqua/SalAquaFilePicker.mm so it would be maybe a good idea to test this patch. regards Marcel Metz
2012-01-04Easyhack fdo#38831 remove SvStringsBrad Sowden1-2/+0
Remove unused variables.