summaryrefslogtreecommitdiff
path: root/sfx2
AgeCommit message (Collapse)Author
2012-11-27remove legacy String svl's Put*Entry family of function and convert usersNorbert Thiebaud
Change-Id: Iebf4017ce4c2c48389716eac1bbf7f386ac7a296
2012-11-27fdo#46808: Missing adaptions to XFolderPicker2Stephan Bergmann
c988da288ec473a28f61ebb53aa3ff82bab11ef4 "fdo#46808, Adapt ui::dialogs::FolderPicker UNO service to new style" had left some FolderPicker implementations at XFolderPicker, so creating them caused DeploymentExceptions. Change-Id: I3463161f9bb87a69a2777c331eb5b93d487790b0
2012-11-26API CHANGE: remove com.sun.star.document.XDocumentInfoMichael Stahl
The following badly designed interfaces and services were deprecated in OpenOffice.org 3.0 and are now remove from the API: com.sun.star.document.DocumentInfo com.sun.star.document.StandaloneDocumentInfo com.sun.star.document.XDocumentInfo com.sun.star.document.XDocumentInfoSupplier com.sun.star.document.XStandaloneDocumentInfo The supported replacements for these have been introduced in OOo 3.0: com.sun.star.document.XDocumentProperties com.sun.star.document.XDocumentPropertiesSupplier com.sun.star.document.DocumentProperties http://www.mail-archive.com/interface-announce@openoffice.org/msg00432.html Remove the implementation of these interfaces and services in sfx2 (SfxBaseModel, objuno.cxx) Also remove unit tests for these services in qadevOOo and sfx2. Conflicts: offapi/type_reference/types.rdb Change-Id: Ib0b48a4e53a8079c82fac3bb49a829812f8e5256
2012-11-26API CHANGE: com.sun.star.lang.IllegalArgumentExceptionMichael Stahl
... derives from com.sun.star.uno.RuntimeException instead of com.sun.star.uno.Exception. Only test that breaks with this change is jurt_uno/AnyConverter_Test, which for mysterious reasons effectively tests that IllegalArgumentException is a subclass of Exception and not RuntimeException. Presumably this is just a generic exception test that happens to use IllegalArgumentException. Some further testing indicates there are no problems expected at runtime: Running "make subsequentcheck" with all Java test code compiled against a ridl.jar that does not contain the change, running against a soffice that uses ridl.jar and rdbs with the change + ridl.jar with the change on the test side yields exactly the same AnyConverter_Test failure, with no other failures. Change-Id: Iad183de76ec7e0d56648084e97cdcc160b5b033d
2012-11-24One DBG_ASSERT -> SAL_WARN_IFStephan Bergmann
Change-Id: I480be6ca8d84fae30a598a6b3a012606630343e5
2012-11-24fdo#51304 Remove @author annotationJosé Guilherme Vanz
This commit removes @author annotations, some templates comments. It has some cleanup. Change-Id: I995ba7b06d661fcec17f26c368d9449c0bf5ab45 Signed-off-by: José Guilherme Vanz <guilherme.sft@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/1146 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-11-23Get more information to the BSA from the send feedback-menuitemRob Snelders
Change-Id: I77b3afa52bd5cc25a6385cbdb480a30e7aef387c
2012-11-23some i18n wrappers with LanguageTagEike Rathke
Change-Id: I2ceaa3159e8669c2c569fa8559c1e061dcad399d
2012-11-23loplugin: if else alignmentCaolán McNamara
Change-Id: Id28afb74a945a4092965af60963e862d6aba50b3
2012-11-22get rid of unnecessary LocaleDataWrapper temporary instancesEike Rathke
Change-Id: I17d9a502565d445b0eab9ef6e9123661850292b7
2012-11-22AllSettings with LanguageTagEike Rathke
Change-Id: I710ae66e51139662eb442b681fdf9cc9d158551d
2012-11-22convert users of XDocumentInfo to XDocumentPropertiesMichael Stahl
Change-Id: I10f395f90d554d0ec26fe9f2654ae839e21c7ee5
2012-11-20Merge branch 'feature/killsdf'Andras Timar
Conflicts: desktop/prj/build.lst helpcontent2 l10ntools/Executable_gsicheck.mk l10ntools/Executable_uiex.mk regexp/inc/regexp/reclass.hxx solenv/gbuild/AllLangResTarget.mk Change-Id: I398f0cd9e7daefa8d2e04fd977d5bc2e9708169b
2012-11-20Bin pointless _SOLAR__PRIVATE which was always 1 anywayTor Lillqvist
Change-Id: I98f35920f02d4ee71787a9968158b220af69bde6
2012-11-20fdo#51304: Remove @author annotationJosé Guilherme Vanz
This commit removes some @author annotations and some cleanup. Change-Id: Iaf2c4465825dc73af6c1d7377ae847262721c22b Signed-off-by: José Guilherme Vanz <guilherme.sft@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/1122 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-11-19Bin the HACK() sillynessTor Lillqvist
Change-Id: Ieeebc4098404fa006d66bb8b656172a4348b1dc1
2012-11-17use LanguageTagEike Rathke
Change-Id: Ie060f2357a17be818d34c9393ac4ac606331d081
2012-11-16Fix the Windows build breakage by reorganizing svtools headers.Kohei Yoshida
Also removed a fair amount of implicit inline methods to promote use of more forward declaration. Change-Id: I5ad21f0d7abc85281708b7e87f1036b02a053627
2012-11-15ensure translations are built before using themDavid Tardon
Change-Id: Ia172f144616d7468466a057bb1a431b3047209fd
2012-11-15fdo#46808, use service constructor for i18n::NumberFormatMapperNoel Grandin
Also create a utility constructor for LocaleDataWrapper, which simplifies many of the calling sites. Change-Id: Ic8510b51c4201fa17fc0620e18d3e258e43636ba
2012-11-15fdo#46808, use service constructor for ucb::SimpleFileAccessNoel Grandin
I upgraded the service to return XSimpleFileAccess3, since it already implemented that interface, and it's backwards compatible. Change-Id: I40001a46048bd21a23b6a2f58a95376f06fc634b
2012-11-14Turn some memmove into memcpy when it is safe to do so.jailletc36
Most of the changes are related to newly allocated memory, so we are sure it can not overlap with the source of the copy. Change-Id: Ie6ccf1bbb07b792fb18601a38dfaa55755d14b7d Signed-off-by: jailletc36 <christophe.jaillet@wanadoo.fr> Reviewed-on: https://gerrit.libreoffice.org/1033 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2012-11-13CMIS: after cancel-checkout mark the document non changedCédric Bosdonnat
Change-Id: I626bd6ab29da29d4cd312b56208e4a2d0697c2fe
2012-11-12move svtools's FixedHyper.hxx to vclCaolán McNamara
merge with fixedhyperbase and map GtkLinkButton to FixedHyper. Convert to String while I'm at it. Change-Id: Ibc61fd29c01796561eeef952a159c82ff215a095
2012-11-11Correct typo in new template dialog: Spreedsheet -> SpreadsheetStefan Knorr
Change-Id: If0dc7cf7694a2e11839d033b98603263f7600896 Reviewed-on: https://gerrit.libreoffice.org/1039 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2012-11-11Merge branch 'master' into feature/killsdfAndras Timar
Conflicts: Repository.mk RepositoryFixes.mk connectivity/prj/build.lst extensions/prj/build.lst filter/prj/build.lst fpicker/prj/build.lst l10ntools/StaticLibrary_transex.mk saxon/build.xml shell/prj/build.lst solenv/gbuild/AllLangResTarget.mk solenv/gbuild/Configuration.mk solenv/gbuild/UI.mk ucb/source/ucp/webdav/webdavcontent.cxx
2012-11-11SfxMedium::GetOutputStream(): re-use existing XStreamMichael Stahl
The ScExportTest::testConditionalFormatExportXLSX() fails on Windows because of how SfxMedium handles its streams: 1. SfxMedium::GetOutputStorage() creates some temp file 2. SfxMedium::GetMedium_Impl() opens a XStream on the temp file 3. SfxMedium::GetOutStream() wants to open a SvFileStream on the temp file, but because the file is already open and the sharing options are set to deny sharing, opening fails with ERROR_SHARING_VIOLATION Prevent that by re-using the already open XStream in GetOutStream. Hopefully this does not break anything, and there is already a comment in CloseInStream_Impl() indicating that m_pOutStream and xStream are related. (interestingly ERROR_SHARING_VIOLATION is documented to occur if _another_ process has the file open, but evidently it happens here on NT 6.1 for the same process...) Change-Id: I6d2ec36fd45a0317e947ddfb436472a8b86fbe26
2012-11-08cppCheck: Unused variable and Redundant assignmentjailletc36
Change-Id: I67084c1cb9dc23eb77787d2a6d57a5b70126873c Signed-off-by: jailletc36 <christophe.jaillet@wanadoo.fr> Reviewed-on: https://gerrit.libreoffice.org/1005 Reviewed-by: Radek Doulík <rodo@novell.com> Tested-by: Radek Doulík <rodo@novell.com>
2012-11-07using a grid instead of a boxCaolán McNamara
because I haven't implemented widget prop expands yet in boxes, but I have in grid, not too hard to do, just need to get around to it Change-Id: I6120df6061f622e14f8160f0bb098fcaba15abab
2012-11-07CMIS: added CheckIn dialogCédric Bosdonnat
Change-Id: Iba938986478b880b7026285f607972a2e4d72283
2012-11-05CMIS: added confirmation dialog for cancel checkoutCédric Bosdonnat
Change-Id: I12317bd8c91756c7960f04d2fad38dd509840932
2012-11-03basic: String -> OUString in basicmanagerNorbert Thiebaud
Change-Id: I6607bfe8b6bf4d29ffd01cd88a19af5e53d616b5
2012-10-31Work around new calls to GetFilter()->GetMimeType() on null filterStephan Bergmann
...introduced with 75bc673b60d3eb40713868ce3d1b4f62dd6e1208 "Travelled MIME type through UCB for CMIS UCP to use it when creating documents" and causing crashes in sc_unoapi test. Many SfxMedium instances appear to have a null filter, so this workaround at least fixes the crashes. No idea what a good fix should look like, so will ask Cedric to review his commit. Change-Id: I27180265b6c79c7ed5f459b03c9e188ff6a0f56d
2012-10-31fdo#46808, Deprecate configuration::ConfigurationProvider old-style serviceNoel Grandin
...in favor of existing new-style configuration::theDefaultProvider singleton. Theoretically, ConfigurationProvider instances can be created with specific Locale and EnableAsync arguments, but this is hardly used in practice, and thus effectively all uses of the ConfigurationProvider service use the theDefaultProvider instance, anyway. theDefaultProvider is restricted to the XMultiServiceFactory interface, while ConfigurationProvider also makes available XComponent. However, dispose must not be called manually on theDefaultProvider singleton anyway, and calls to add-/removeEventListener are so few (and in dubious code that should better be cleaned up) that requiring an explicit queryInterface does not really hurt there. This commit originated as a patch by Noel Grandin to "Adapt configuration::ConfigurationProvider UNO service to new style [by creating] a merged XConfigurationProvider interface for this service to implement." It was then modified by Stephan Bergmann by deprecating ConfigurationProvider instead of adding XConfigurationProvider and by replacing calls to ConfigurationProvider::create with calls to theDefaultProvider::get. Change-Id: I9c16700afe0faff1ef6f20338a66bd7a9af990bd
2012-10-31fix old big fat leak in macro and organizer dialogsCaolán McNamara
Change-Id: Ie8a6c2a8850ad3dd6cd2be878aedfbf81d2473f7
2012-10-31fix fractured indentCaolán McNamara
Change-Id: I7c7f951b352ed2e9ef7604a5be324223f21e96dd
2012-10-31Fix broken sw unit introduced by commit a522818Cédric Bosdonnat
Change-Id: I78a191e39dee00d31ddd773e7b49af73be3136cc
2012-10-31CMIS: added cancelCheckOut and checkIn implementations and menu itemsCédric Bosdonnat
Although the implementation is here, the dialogs to show when clicking on the menu items aren't there yet. Change-Id: I14886ec8ea8b97a35ca6c8474bc33e30da1a86d3
2012-10-31CMIS: added CheckOut in the File menuCédric Bosdonnat
Change-Id: I5f003556065cff34cec38148bc3bb4da20692e54
2012-10-31CMIS: don't show up checkout info bar if the document is not versionableCédric Bosdonnat
Change-Id: I7761e0b06e151822a63a7273a4e61d5cdc648311
2012-10-31CMIS: display errors when clicking checkout buttonCédric Bosdonnat
Change-Id: I38d5cb95e1c45e1c57b11ec81523d4cca7568d34
2012-10-31Load CMIS properties after saving filesCédric Bosdonnat
Change-Id: I0962f466cd46bcabbdb70100bcebb4ef940923b3
2012-10-31Travelled MIME type through UCB for CMIS UCP to use it when creating documentsCédric Bosdonnat
Change-Id: Id067932355607d3d60994862201b531f9844506d
2012-10-31InfoBars: Hight Contrast paintingCédric Bosdonnat
Change-Id: I3ba70be099bc4364d8f6d2d0700add83353f2900
2012-10-31InfoBars: implemented ResizeCédric Bosdonnat
Change-Id: Iad2c4b57b28cf06260b7890dfc9309df60fb5184
2012-10-30we have to have all tabpages in all modes nowCaolán McNamara
Change-Id: I05a587d4b0556cb9eda49583441b3f57d923a800
2012-10-30fdo#46808: Improve previous commitStephan Bergmann
* Removing m_xLngMgr.is() check from SfxThesSubMenuHelper::GetThesImplName was unsound with SfxThesSubMenuHelper ctor swallowing Exception; best fix appears to be to remove the swallowing. * Prefer forward declarations over #includes. Change-Id: Ie4e7dcd6cdb14046516d119605bbf78e81359768
2012-10-30fdo#46808, Adapt linguistic2::LinguServiceManager UNO service to new styleNoel Grandin
Create a merged XLinguServiceManager2 interface for this service to implement. Which is backwards-compatible, but does not require creating a new service. Change-Id: I297bada1066cd74809108641b56ee4d5898112ec
2012-10-30sal_Bool to boolTakeshi Abe
Change-Id: I87d6e518aebcd0074f673b84b66df27ae9a0a15a
2012-10-29fdo#46808: Fix previous commitStephan Bergmann
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