summaryrefslogtreecommitdiff
path: root/uui
AgeCommit message (Collapse)AuthorFilesLines
2014-03-26First batch of adding SAL_OVERRRIDE to overriding function declarationsStephan Bergmann7-19/+19
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
2014-03-26These strings are now global resources, define them accordingly.Jan Holesovsky4-42/+3
Change-Id: Ia68249242850ef3d82cc56ceae7e5ef84dd08b5b
2014-03-17uui: prefer passing OUString by referenceNoel Grandin6-7/+8
Change-Id: Iec1fb3fd063d73f04a1600a21d6129e4cd5476b4
2014-03-06convert password dialog to .uiCaolán McNamara6-210/+215
Change-Id: I29e58d3992f43c5ee469484d0587843b06663bf1
2014-02-28fdo#63154 Remove unused solar.hAlexandre Vicenzi1-6/+1
Removed from dbaccess. editeng, filter, framwork, formula, lotuswordpro, reportdesing, rsc, uui Conflicts: framework/source/uielement/menubarwrapper.cxx reportdesign/inc/RptDef.hxx uui/source/iahndl.hxx Change-Id: Ia6f1d8679736c3de99bd8060d8a7f76975268273 Reviewed-on: https://gerrit.libreoffice.org/8118 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-02-26cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann6-31/+31
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26Remove visual noise from uuiAlexander Wilms18-77/+77
Change-Id: I64fa42929aad00fc63f2937527dd3539f9d6f7f3 Reviewed-on: https://gerrit.libreoffice.org/8337 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-26Replace deprecated std::auto_ptr with boost::scoped_ptrTakeshi Abe2-6/+6
Change-Id: I773524536c0ed7bc34eb08cd35cfc77e83f722ba
2014-02-23Remove unneccessary commentsAlexander Wilms7-14/+14
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb Reviewed-on: https://gerrit.libreoffice.org/8182 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-20Remove vcl/settings.hxx from vcl/svapp.hxx and vcl/outdev.hxxTobias Lippert1-0/+1
Added vcl/settings.hxx to all cxx files which require it. This helps to speed up compilation after changes to the settings. Conflicts: sc/source/ui/dbgui/pvlaydlg.cxx Change-Id: I211a0735c47f72d6879f6f15339355abfe0e3cf4 Reviewed-on: https://gerrit.libreoffice.org/7933 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-19unotools: sal_Bool -> boolStephan Bergmann1-1/+1
Change-Id: I8051c0756e0474a5b4f748e0aa15a9922e82ea97
2014-02-10typoStephan Bergmann1-4/+5
Change-Id: Ia3b810d7ff231674d63aaf82a8ff254290fa55ca
2014-02-10bUpdateCheckEnabled had always been unused and marked TODOStephan Bergmann1-9/+3
...ever since its inception in c41efc6d0b2740be4243fd696385f8dbcec0aefe "CWS-TOOLING: integrate CWS dba301a_DEV300" Change-Id: I5da6a38f595146ef0d2894b33bf614e7663d53fa
2014-02-05Use anonymous namespace for UUIInteractionHandler.Matúš Kukan2-84/+60
After it's no longer used in uui_component_getFactory, since fe537786a42abea57551395f73328db48bebd086 Change-Id: I27f77b88c898f665d481931a55f1a0c1fce15818
2014-02-05uui: Ctor feature for com.sun.star.comp.uui.UUIInteractionHandler.Matúš Kukan4-65/+17
Change-Id: I94858cef5402e88ddcc3e0e9e4383f7be8443e77
2014-01-28bool improvementsStephan Bergmann4-9/+9
Change-Id: I266d7ce86a30cedd1ae388a69b87f1b43d96e00c
2014-01-27coverity#704132 Operands don't affect resultCaolán McNamara1-3/+3
Change-Id: Ib2cf15d31231ff02645faae9d4a984112e5af795
2014-01-22Resolves: #i123744# correct consideration of Subject Alternative Name...Oliver-Rainer Wittmann1-2/+3
field of the given certificate (cherry picked from commit 117218483797c0aeedef9b68bdae96a727cb3426) Change-Id: I81fbb49593b15edea2509aed81b252c8e5b0cd82
2014-01-22bool improvementsStephan Bergmann1-1/+1
Change-Id: I6df7ec9669452a025fbac55199927347ef84c6b9
2013-12-23convert login dialog to .uiCaolán McNamara9-475/+444
Change-Id: I775c87422f05552b7283f9c6f7103a72262f764e
2013-12-22convert unknown authority dialog to .uiCaolán McNamara8-184/+180
Change-Id: Iec8a8826188c81ff3a0e7e563d1f5f1a9921c180
2013-12-21remove unused m_pParent members and trailings semicolonsCaolán McNamara4-12/+4
Change-Id: I9c577b074ac3fc5382cea92394adeedbe0364de0
2013-12-21convert ssl warning dialog to .uiCaolán McNamara9-212/+113
Change-Id: I658cc3f1c63f8cfb18463befa3a0efbd92139659
2013-12-20typo fixesAndras Timar1-2/+2
Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
2013-12-17Adapt all (non-extension, SharedLibrary) .components to environment="..."Stephan Bergmann1-2/+2
Change-Id: I56f38bd786f3a026cb2908f28540dc9c4003af83
2013-12-17Remove unnecessary use of OUString constructor in + expressionsNoel Grandin1-1/+1
Convert code like aFilename = OUString::number(nFilePostfixCount) + OUString(".bmp"); to aFilename = OUString::number(nFilePostfixCount) + ".bmp"; Change-Id: I03f513ad1c8ec8846b2afbdc67ab12525ed07e50
2013-12-16uiconfig is a l10n-relevant targetBjoern Michaelsen1-1/+1
Change-Id: I8a2ca73c02fd6b04ce60e7701c51d2362ef7ec06
2013-11-25Fix some typos for "height"Julien Nabet1-15/+15
Change-Id: Ibe1fdd7a63ff09097cfe053279d779592d389539
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-14make l10n buildable separatelyBjoern Michaelsen1-1/+4
- this renames the 'almost' module target to non-l10n - and adds a l10n target which is intended to only build l10n parts of the product - packagers should then be able to build l10n and non-l10n parts of the product independently, thus: - enable quicker rebuilds - distribution of load - updates to l10n without a full rebuild - security fixes to binaries without rebuilding all l10n - the new targets are called build-l10n-only and build-non-l10n-only - note this is not intended to move a concept of split packages upstream -- while this exsists in distros, the number of test scenarios for this would explode upstream Change-Id: Ib8ccc9bc52718d9b0ebbfee76ad93dc29c260863 Conflicts: filter/Module_filter.mk
2013-11-14remove unnecessary sal_Unicode casts in various placesNoel Grandin2-2/+2
Change-Id: Ibf04062ca86ed866202d748c3b62a210d30ed6ec
2013-11-11convert OUString compareToAscii == 0 to equalsAsciiNoel Grandin3-4/+4
Convert code like aStr.compareToAscii("XXX") == 0 to aStr.equalsAscii("XXX") which is both easier to read and faster. Change-Id: I448abf58f2fa0e7715dba53f8e8825ca0587c83f
2013-11-04Convert code that calls OUString::getStr()[] to use the [] operatorNoel Grandin1-3/+2
This also means that this code now gets bounds checked in debug builds. Change-Id: Id777f85eaee6a737bbcb84625e6e110abe0e0f27
2013-10-31Convert indexOf->startsWith and lastIndexOf->endsWithNoel Grandin1-3/+3
This is both an optimisation and a cleanup. This converts code like aStr.indexOf("XX") == 0 to aStr.startsWith("XX") and converts code like aStr.lastIndexOf("XXX") == aStr.getLength() - 3 to aStr.endsWith("XXX") Note that in general aStr.lastIndexOf("X") == aStr.getLength() - 1 converts to aStr.isEmpty() || aStr.endsWith("X") so I used the surrounding context to determine if aStr could be empty when modifying the code. Change-Id: I22cb8ca7c2a4d0288b001f72adb27fd63af87669
2013-10-28windows: warning 4355 is disabled globally in com_MSC_defs.mkThomas Arnhold1-4/+0
So there is no need to do this locally, too. Change-Id: I0fa1d0cd3e077ba0985848a9d2cbb061b123e8ad
2013-10-22Bin comments that claim to say why some header is includedTor Lillqvist3-10/+10
They are practically always useless, often misleading or obsolete. Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
2013-10-20drop unnecessary tools/string includesCaolán McNamara2-2/+1
Change-Id: I4278999b9b7d184c26036bbe9e3b98420f461e8c
2013-10-07fdo#54938: Adapt supportsService implementations to cppu::supportsServiceMarcos Paulo de Souza3-20/+6
Change-Id: I683c0d30c3286ed5d725d4eefe8b3977b82ee316 Reviewed-on: https://gerrit.libreoffice.org/6035 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2013-10-01convert UUI module from String to OUStringNoel Grandin20-100/+105
Change-Id: I0dfcdb0b95112b5ee18b05d0c496059292be65c4
2013-09-26typo fixes in commentsAndras Timar1-2/+2
Change-Id: Iaadec33715f8e0e0c6595c5e684606905274fdab
2013-09-08Related: fdo#38838 drop String::EmptyString now as wellCaolán McNamara2-2/+2
Change-Id: I849dbf3a40189e700036249b15dd8bde493083b6
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-21osl_getThreadIdentifier(0) -> osl::Thread::getCurrentIdentifier()Stephan Bergmann1-2/+3
Change-Id: Ida9785c4b9fda0459769957734952e69d7a9de44
2013-08-18Use subfolder names from <config_folders.h>Tor Lillqvist1-1/+7
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-07-25Fix configuration access path for "URL" group memberStephan Bergmann1-2/+3
...broken with 20430c74f391ceffd8a063c0b6b8a8fd615abac0 "fdo#46037: no more comphelper/configurationhelper.hxx in uui" (but note that NewerVersionWarningDialog is dead code anyway since 718c0fe73251be083d032f0905880058128d4054 "Ported sfx2-remove-check-update-on-fileload.diff from ooo-build." Change-Id: I7095044b73888aad12704d76a39551158e6c6b33
2013-07-24fdo#46037: no more comphelper/configurationhelper.hxx in uuiJulien Nabet2-8/+7
Change-Id: Ie7f42eb02f38d5cac2eff7b434ca369ea28b4ed1 Reviewed-on: https://gerrit.libreoffice.org/5065 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-07module svl: all String and some bool and related clean-upNorbert Thiebaud1-3/+2
Change-Id: I36eb559fa58dbe75384b7119c788af0048813aed Reviewed-on: https://gerrit.libreoffice.org/4733 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-07-05Resolves: #i55152# the listbox in the filter selection dialog should be sortedHerbert Dürr1-1/+1
(cherry picked from commit 47fc3a3278a7aac0ba2d8f47eb10a83c0a5f40c7) Change-Id: I07215bb62dbedcb2d9baa0fd6d66a3ebe30f540e
2013-06-30XubString->OUStringCaolán McNamara4-7/+7
Change-Id: I40ff06facc304630ccedd82d2f20b3573bdc5cb4
2013-06-29remove OUString wrap for string literalsThomas Arnhold7-12/+12
For some functions and all kinds of Exceptions. CannotConvertException CloseVetoException DisposedException EmptyUndoStackException ErrorCodeIOException Exception GridInvalidDataException GridInvalidModelException IOException IllegalAccessException IllegalArgumentException IllegalTypeException IndexOutOfBoundsException NoMasterException NoSuchElementException NoSupportException PropertyVetoException RuntimeException SAXException ScannerException StorageWrappedTargetException UnsupportedFlavorException VetoException WrappedTargetException ZipIOException throwGenericSQLException throwIllegallArgumentException createInstance createInstanceWithContext forName getByName getPackageManager getPropertyValue getUnpackedValueOrDefault getValueByName hasPropertyByName openKey setName setPropertyValue supportsService bash command: for i in `cat list`; do git grep "$i\s*(\s*OUString(\s*\"" -- '*.[hc]xx' | cut -d ':' -f1 | sort -u | xargs sed -i -e "s/\(\<$i\s*(\)\s*OUString(\s*\(\"[^\")\\]*\"\)\s*)\s*/\1\2/g" -e "s/\($i.*\)\"+ /\1\" + /g"; done Change-Id: Iaf8e641b0abf28c082906014f87a183517630535 Reviewed-on: https://gerrit.libreoffice.org/4624 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>