path: root/desktop/source/app
AgeCommit message (Collapse)AuthorFilesLines
2014-01-19fdo#73549 do not attempt to resolve an empty localeEike Rathke1-0/+3
... to match installed UI locales Change-Id: If0ad0fde392bc5ea3cf454f4858330f5e93a6666 (cherry picked from commit 8e826c7ff7c597e9f585377b2117f4dc24239dcc) fdo#73549 do not resolve empty locale here if not determined yet Change-Id: Iad03d6209a2b4024b27c6195195e5aa557c295fe (cherry picked from commit db6f8f9f8969b592ed90c841960fdd186e1cbc5a) do not resolve empty locale here when set, fdo#73549 related Change-Id: Id9c8c3926f64826fd2295e0f75f007ce435f5915 (cherry picked from commit 26fc9be1bf2d6aaeb52a571ea416f4527a52e146) Reviewed-on: Reviewed-by: Andras Timar <> Tested-by: Andras Timar <>
2013-12-19use proper LanguageTag fallback instead of dumb startsWith(), fdo#68714Eike Rathke1-9/+4
A ca_ES@valencia (=> ca-ES-valencia) locale did not result in 'ca-valencia' UI being selected but 'ca' only instead. Change-Id: Ifa405add2ff7b45e030b02af4338de195b457cb2 (cherry picked from commit 03e7a16fe2802160b8344058f225a57bdb9c59f5)
2013-12-18resolved fdo#72778 keep setting system locale and LanguageTag in syncEike Rathke1-1/+1
Change-Id: I3547786bf77b8f611bc08d0e52c66ac00e199f13 (cherry picked from commit cc54c08a66046c00af3713fbe5e69995ccb7f73b)
2013-11-19Use startsWith rest parameterStephan Bergmann1-21/+14
Change-Id: I5ec5f68c13ceb93b4e2cea83ec757b9427b8608d
2013-11-19Consistently accept all cmd line args only in lower caseStephan Bergmann1-24/+23
Change-Id: Ie57814f1e938ee9d909d69a518bed29026cb4963
2013-11-19Consistently warn about all deprecated cmd line args starting with a single -Stephan Bergmann2-403/+387
Change-Id: Ib4cb8939b0b12dd01af3bb845649e5ac5480352b
2013-11-19String function clean-upStephan Bergmann1-11/+11
Change-Id: I0bb807748f67af3ee1210c6df649bc8ae506e090
2013-11-19rhbz#1031989 Accept --pt in addition to deprecated -ptStephan Bergmann1-1/+1
Change-Id: I3593b3fc7e0ad405612216fb07e8632050b75cee
2013-11-19remove unnecessary use of OUString constructor when assigningNoel Grandin1-1/+1
change code like aStr = OUString("xxxx"); to aStr = "xxxx"; Change-Id: Ib981a5cc735677ec5dba76ef9279a107d22e99d4
2013-11-19remove most use of RTL_CONSTASCII_USTRINGPARAM macroNoel Grandin1-1/+1
This is largely unnecessary when working with OUString Change-Id: I3cf4d68357a43665d01162ef4a2d5346a45da9be
2013-11-14Move MediaDescriptor from comphelper to unotoolsStephan Bergmann1-2/+2 it will be able to use SvtSecurityOptions internally. Change-Id: Id7433247e8fc53651935578510bedbcca5aa2ac9
2013-11-11convert OUString compareToAscii == 0 to equalsAsciiNoel Grandin1-1/+1
Convert code like aStr.compareToAscii("XXX") == 0 to aStr.equalsAscii("XXX") which is both easier to read and faster. Change-Id: I448abf58f2fa0e7715dba53f8e8825ca0587c83f
2013-11-11remove unnecessary use of OUString constructor in DESKTOP moduleNoel Grandin1-15/+14
Change-Id: I467334094a621f4bab0ff251267412fb3a0fb4b7
2013-11-07make the error not a secretCaolán McNamara1-2/+2
Change-Id: I4ee261bd1dc2c63f0b54e19a2684c8bf1c221680
2013-11-04remove redundant calls to OUString constructorNoel Grandin2-5/+4
Change code like this: aStr = OUString("xxxx"); into this: aStr = "xxxx"; Change-Id: I31cb92e21658d57bb9e14b65c179536eae8096f6
2013-11-01fdo#71005 Remove odd "Workaround for automated testing"Stephan Bergmann1-2/+0
...that got added by 62ee5e1a752033344c172ad2380a5f1e2492330a "INTEGRATION: CWS calcshare2: #i85794# workaround for automated testing" but does not make much sense, esp. as all our (subsequent-)checks each use a dedicated, throwaway UserInstallation anyway. Change-Id: I64ca47a7d7ee3c2eb2ab33eebcec5a79a7e3d0df desktopThomas Arnhold7-18/+18
Change-Id: Iaeba85d313af1840f925fd0536d11ac83545a118
2013-10-22Remove unnecessary component_getProcessComponentContext C wrapperStephan Bergmann1-2/+3
Change-Id: I9d9f1a542dbbfc461dd27c32b57e4cad5532fab0
2013-10-21fdo#68849 add some header guardsThomas Arnhold1-0/+5
Change-Id: I9d25a58f22095689eccc0ac444c163d1e9bee69f Reviewed-on: Reviewed-by: Thomas Arnhold <> Tested-by: Thomas Arnhold <>
2013-10-21fdo#51639 soffice.exe --version displays a dialog box with the version numberAndras Timar1-0/+3
Change-Id: I3656c005a23d291bc7cde2bc461e584df342babf
2013-10-20drop unnecessary tools/string includesCaolán McNamara2-2/+0
Change-Id: I4278999b9b7d184c26036bbe9e3b98420f461e8c
2013-10-18Some clean-upStephan Bergmann2-116/+47
Change-Id: I142f9c4e73585272c3028880e40c20f4a056f3c3
2013-10-13Minor refactoring of iOS codeTor Lillqvist1-1/+5
Rename functions so that functions called by the UI layer for actions to happen in the LO layer and functions called by the LO layer for things to happen in the UI layer use different prefixes. Move declarations to the generic <touch/touch.h> and avoid iOS-specific types in the API. Change-Id: Ieb8979065e02a87c4a415c934163265f2790d011
2013-10-11-Werror,-Wunused-variableStephan Bergmann1-9/+14
Change-Id: I4727687b1f359ecf4eb8855b7894bf2a2047ba9d
2013-10-10little String to OUString + documentationThomas Arnhold1-3/+1
Change-Id: I982e44150fd2909da0571409f16051d79377d7a3 Reviewed-on: Reviewed-by: Thomas Arnhold <> Tested-by: Thomas Arnhold <>
2013-10-04'ist' -> 'is' here and there.Jan Holesovsky1-1/+1
Change-Id: I0a463c38214b95582db2c7b3979367255426c14e
2013-10-01desktop: stop replacing %PRODUCTNAME %PRODUCTXMLFILEFORMATVERSIONMichael Stahl1-11/+0
... and %PRODUCTXMLFILEFORMATNAME at runtime and hard-code 1.0 for these too. Change-Id: Id96390506d2a0f367f932e85d3115362ad483bc3
2013-10-01remove run-time replacement of %WRITERCOMPATIBILITYVERSIONOOO11Michael Stahl1-15/+0
Instead hard-code 1.1 as the value, since StarOffice and StarSuite are irrelevant. Change-Id: I9ab3d1cf38cf64cd4e440b3ae43158f748ead7d2
2013-09-26typo fixes in commentsAndras Timar2-2/+2
Change-Id: Iaadec33715f8e0e0c6595c5e684606905274fdab
2013-09-17Revert "warn if people havn't source the environment after linkoo"Matúš Kukan1-18/+6
This reverts commit b0eeac20a1c1db422eaf152c353a4101cb200de9. Linkoo is now dead, whatever the problem was. Conflicts: desktop/source/app/app.cxx Change-Id: Ic8fce7db9ac8b5e9661b2b767bfba9f7cdd84e9a
2013-09-17drop intermediate StringsCaolán McNamara1-5/+5
Change-Id: I7f730d4f5329525eda9f78514dcaa3788149d077
2013-09-17remove OUStringHashCode in favor of OUStringHashCaolán McNamara1-9/+1
(and as always if you find one, you can be sure there are 6 others in there when you grep for them) Change-Id: I9296ddbdda266c7b6d8a0ac0bc13ec5b6340cee7
2013-09-17convert DESKTOP module from String to OUStringNoel Grandin6-59/+59
Change-Id: I5dc43849ace8edbab9e6308db80a70797f090c69
2013-09-03was convertIsoStringToLanguage(), use convertToLanguageTypeWithFallback()Eike Rathke1-1/+1
Change-Id: Idfbf8bf9007268fb8a5c636be0454ae2704c3ddd
2013-08-26TyposStephan Bergmann1-2/+2
Change-Id: I367313b5cec1847c646f93a1cc4a6f0f69efc712
2013-08-26Related fdo#68240: Rework langselect to provide better error messagesStephan Bergmann3-428/+179
...and in general removed lots of cruft from that code. Change-Id: Ie673413d8abf5a8ec78c02f4abee2647bdf10a04
2013-08-26Remove unused STARTLANG featureStephan Bergmann1-70/+0
Change-Id: Ib33f2ba2541faad24779cfdfbff7cf7f8a960af2
2013-08-23Clean up desktop::UserInstallStephan Bergmann3-185/+147
Change-Id: I0cbf15443877648b1b2d82bdcf03dcccdf5f26ac
2013-08-23/org.openoffice.Setup/Office/ooSetupInstCompleted is not localizedStephan Bergmann1-20/+3 it makes no sense to localize the configuration provider when retrieving its value. (The "real" call to the default configuration provider's setLocale is in desktop::LanguageSelection::prepareLanguage anyway.) Change-Id: I55e8177d83a480a433ab38f49cb8f49fea2f6c77
2013-08-21finish deprecation of O(U)String::valueOf()Luboš Luňák1-1/+1
Compiler plugin to replace with matching number(), boolean() or OUString ctor, ran it, few manual tweaks, mark as really deprecated. Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
2013-08-19Rename SOLAR_JAVA to ENABLE_JAVA and HAVE_FEATURE_JAVATor Lillqvist2-2/+4
Change-Id: Ib451bdb3c1c2ca42347abfde44651d5cf5eef4f3
2013-08-18Further work on the "Mac-like app structure" optionTor Lillqvist1-1/+2
Lots of stuff still either ended up in the wrong place, or was looked up from the wrong place, or both. Fix most cases. Change-Id: I06ebbce207c219f3cd82b4387dd9b3fdb83420d4
2013-08-18Use subfolder names from <config_folders.h>Tor Lillqvist2-3/+6
Change all instances of hardcoded "program", "share" etc subfolder names to use those from <config_folders.h> instead. In normal builds, the end result will not change. Change-Id: I91c95cd8e482818be67307e889ae6df887763f53
2013-08-18Add a --nstemporarydirectory switch for potential use when sandboxedTor Lillqvist1-0/+13
Intentionally very brutally just exit after printing out what NSTemporaryDirectory() returns, as this is for use only in unit testing, so that makefiles can learn the app-specific sandboxed temp dir. Change-Id: I96fba1399ffc43b09fe317c1b9db5af76432f4e0
2013-08-18Revert "Fixing i#119950 warn about other running terminal sessions"Jesús Corrius3-51/+24
This reverts commit b218cbf59de4d7ae0a6962995fb0f719ed68b5d2. The original patch just looks for another instance running which of course can be in the same terminal session. The assumptions the author makes are wrong. The bug the patch tries to solve is real and we'll probably have to solve it in the future, but not this way. Conflicts: desktop/source/app/officeipcthread.cxx Change-Id: I1e645671aa09c6147163820c12d5efb3b3688bd1 Reviewed-on: Reviewed-by: Fridrich Strba <> Tested-by: Fridrich Strba <>
2013-08-11m_psn is set but never usedTor Lillqvist2-3/+0
For some reason Clang did not notice and warn about this. I think it should have been able to, as it is a private field and all code for this class is in the same source file. Change-Id: Ib3352695e1d725b768f4e0978a5e9c72715f1021
2013-08-09#i122991# provide some details about fatal exceptions in the desktop appHerbert Dürr1-0/+15
In the desktop application the FatalError() facility provides a dialog with copy+pasteable text that helps to communicate details important for the understanding of such critical bugs. (cherry picked from commit 0881e04dda51387318b7a91170fc485a69f98a05)
2013-08-02Clarify commentTor Lillqvist1-1/+5
Change-Id: If850bc359383c089b5a4f3bd49e46499b761bbe4
2013-07-30Fix a typo and -- hopefully -- tinderbox make checkFridrich Štrba1-1/+1
Change-Id: I3ba939ae97d9d6cd966dc9f0bf3c96d9039d8752
2013-07-30Fix build breaker: add missing string resourceAriel Constenla-Haile2-0/+6
(cherry picked from commit c5a4e46fab045ae8abe01cbfd397806a58039d8a)