summaryrefslogtreecommitdiff
path: root/framework
AgeCommit message (Collapse)Author
2013-11-14startcenter: Remove useless menu entries.Jan Holesovsky
Change-Id: Ie886beceb57201ee1a0893943c455d5f87b0d6cc
2013-11-14Move MediaDescriptor from comphelper to unotoolsStephan Bergmann
...so it will be able to use SvtSecurityOptions internally. Change-Id: Id7433247e8fc53651935578510bedbcca5aa2ac9
2013-11-14remove unnecessary sal_Unicode casts in various placesNoel Grandin
Change-Id: Ibf04062ca86ed866202d748c3b62a210d30ed6ec
2013-11-13expand out the A2S macroNoel Grandin
Which is not doing anything useful anymore. Change-Id: I83422e811d52a77b65655924c07b55dd7229449c
2013-11-11convert OUString compareToAscii == 0 to equalsAsciiNoel Grandin
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 constructorNoel Grandin
Change-Id: Ifb220af71857ddacd64e8204fb6d3e4aad8eef71
2013-11-11remove unnecessary use of OUString constructor in FRAMEWORK moduleNoel Grandin
Change-Id: Icbed4f318043a166ed78fe0c49a53f87ebf7201d
2013-11-10cppcheck: reduce scopeJulien Nabet
Change-Id: I06c97b99a55d8b291ea31e6a751ced01b0b80e23
2013-11-08Unwind SFX_REFERER_USERStephan Bergmann
...and remove remaining unused content of sfx2/source/inc/referers.hxx. Change-Id: I5c533f63e13da930f6944af0e85d4b061c30e5b0
2013-11-05fixincludeguards.sh: frameworkThomas Arnhold
Change-Id: Ia6f3cb21977095df45a176db2bf68f508c70191c
2013-11-04remove redundant calls to OUString constructor in if expressionNoel Grandin
Convert code like: if( aStr == OUString("xxxx") ) to this: if( aStr == "xxxx" ) Change-Id: I8d201f048477731eff590fb988259ef0935c080c
2013-11-04remove redundant calls to OUString constructorNoel Grandin
Change code like this: aStr = OUString("xxxx"); into this: aStr = "xxxx"; Change-Id: I31cb92e21658d57bb9e14b65c179536eae8096f6
2013-11-04Convert code that calls OUString::getStr()[] to use the [] operatorNoel Grandin
This also means that this code now gets bounds checked in debug builds. Change-Id: Id777f85eaee6a737bbcb84625e6e110abe0e0f27
2013-11-03StatusIndicatorFactory::impl_reschedule(): lock SolarMutexMichael Stahl
... before calling Reschedule(). Change-Id: I244fdd1a4642ea0e1ad266f6d9c4c56527018952
2013-11-01Improve exception messages (for debugging)Stephan Bergmann
Change-Id: Id2e00e0b0363c58c88585dd15f34156e57a7aaac
2013-10-31Convert indexOf->startsWith and lastIndexOf->endsWithNoel Grandin
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-28gbuild: set Package default target to INSTDIRMichael Stahl
Change-Id: I2bc45e4ba63f5faaee7389bcd9d7b3f563503186
2013-10-28remove local css namespace definitionsThomas Arnhold
As we have it globally in sal/types.h those are not necessary. Change-Id: I18bba2c763c4680c4fa7fde4c5158953b5cfad82
2013-10-23clean up some include guardsThomas Arnhold
Conflicts: sw/source/ui/inc/content.hxx Change-Id: I58d81881271fc6e3320bf3b5f1321594b28614a6 Reviewed-on: https://gerrit.libreoffice.org/6388 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-10-22vcl: mark more Image constructors as "explicit"Michael Stahl
Change-Id: If59d7c75c89a102a573738d15d8593cb8ac5c486
2013-10-20drop unnecessary tools/string includesCaolán McNamara
Change-Id: I4278999b9b7d184c26036bbe9e3b98420f461e8c
2013-10-15update pchThomas Arnhold
Change-Id: I475bee35ca5d24903d85e7f2427fab0e47d8db4d
2013-10-12WaE: unused parameter 'SystemType'Tor Lillqvist
Change-Id: I52717d85269dd1802b942ba19f5710b9e469faf1
2013-10-12SimplifyTor Lillqvist
Change-Id: Ic2afa7e60da57c5b516a043f717dea21a3cf0d55
2013-10-09CID#738544 unitialized memberCaolán McNamara
Change-Id: I4f2342776467594f3512af624a653a9b827a0afe
2013-10-04'ist' -> 'is' here and there.Jan Holesovsky
Change-Id: I0a463c38214b95582db2c7b3979367255426c14e
2013-10-02WaE: unused variableTor Lillqvist
Change-Id: I73aabeff7d28ef3526d18188c6fab2e0bc2529d7
2013-10-02-Werror,-Wunused-variableStephan Bergmann
Change-Id: I703d08f4c1080e5c5afaab9652ea2c18b4f365f1
2013-10-02-Werror,-Wunused-variableStephan Bergmann
Change-Id: I548eec1fdcc862b76361c56724667f2d9f6e0950
2013-10-02-Werror,-Wunused-const-variableStephan Bergmann
Change-Id: Iac6d103afb5d6ed3f59e589ec174f6aad253a0aa
2013-10-02-Werror,-Wunused-const-variableStephan Bergmann
Change-Id: Id416a7bcb3ac3ea5354f6f7b5ec3daa1dc742f8d
2013-10-02-Werror,-Wunused-const-variableStephan Bergmann
Change-Id: I52bd479bd40031acc2742b93ab77420f26070b59
2013-10-02-Werror,-Wunused-const-variableStephan Bergmann
Change-Id: I93796237cb953445e42fde5822ad51bc3edcce10
2013-09-26typo fixes in commentsAndras Timar
Change-Id: Iaadec33715f8e0e0c6595c5e684606905274fdab
2013-09-26Everytimes -> Every timeJesús Corrius
Change-Id: Ib84cee7dbb493387760ce68c25ec442bf0a4a121
2013-09-26Otherwhise -> OtherwiseJesús Corrius
Change-Id: Iaec23e1d240f675a04b52cd251c4cb2a1242bb44
2013-09-26Some spellchecker love in the commentsJesús Corrius
Change-Id: I88dee4ae25ac57a78b72fa020b76e0d9b7709b31
2013-09-25Related: fdo#38838 remove UniString::EqualsIgnoreCaseAsciiCaolán McNamara
Change-Id: Ib5c3a2daa4a48bc286b14fa2cebb3306ea0012bc
2013-09-23Try to fix cross-compilationTor Lillqvist
Add more FOO_FOR_BUILD variables and some gb_Foo_for_build functions. Get rid of gb_INSTROOT and gb_DEVINSTALLROOT, just use INSTROOT. Change-Id: Iee531b02d14fae41edb68ad589a5dec829a60255
2013-09-22gbuild: add gb_Library_use_restargetMichael Stahl
Change-Id: Ic0a2fd3c1adeb55ec27f6a2eb4709be598120fba
2013-09-18Disable all features that rely on orcus.Kohei Yoshida
Change-Id: I6dcf91491497cd9d3662adaeceb73b4b544a56c9
2013-09-17drop intermediate StringsCaolán McNamara
Change-Id: I7f730d4f5329525eda9f78514dcaa3788149d077
2013-09-17convert FRAMEWORK module from String to OUStringNoel Grandin
Change-Id: Iafa6b5f213d37093e7e46065c9264c7bb7fae377
2013-09-14Replace char[] by OUStringBuffer/OUStringJulien Nabet
Change-Id: I233d067b3fcb93c80ab3c458b19b4f60680fe84b
2013-09-13String to OUStringThomas Arnhold
This removes nearly all ToLowerAscii() calls. Conflicts: linguistic/source/convdic.cxx linguistic/source/convdiclist.cxx linguistic/source/dlistimp.cxx sc/source/filter/html/htmlexp.cxx Change-Id: Iddcaacfb7383e1df3d2f13751a3c788eba953fdd Reviewed-on: https://gerrit.libreoffice.org/5895 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2013-09-11Towards a working instdir for Mac OS XStephan Bergmann
Introduced gb_INSTROOT, which is the same as $(INSTDIR) except for Mac OS X, where it is $(INSTDIR)/LibreOffice.app/Contents. Most stuff ends up there (so most occurrences of $(INSTDIR) have been replaced with $(gb_INSTROOT)), but SDK- related stuff goes to $(INSTDIR)/$(gb_Package_SDKDIRNAME). (And GeneratedPackage needed to be made more flexible, to allow for packages that go into either of those two places.) For Android and iOS, gb_INSTROOT probably still needs to be set. The most obvious missing thing yet to make instdir work for Mac OS X is the instdir/*/LibreOffice.app/Contents/ure/ vs. instdir/*/LibreOffice.app/Contents/ure-link/ split. Change-Id: I4478edd27b14c92c96d92d5169bdca3ec50d78f5
2013-09-09WaE: warning C4100: 'aEvent' : unreferenced formal parameterTor Lillqvist
I thought SAL_WARN_IF etc worked in such a way that any variables used in the condition would be "used" from the compiler's point of view, even in an optimising build case where SAL_DETAIL_ENABLE_LOG_WARN is false and SAL_WARN_IF should optimise away? Change-Id: I728e1eeb8559e1299abf403afceb0e2748d08857
2013-09-09Remove dead codeStephan Bergmann
...merged in via d02f75a8c36705924ddd6a5921fe3012fafce812 "Resolves: #i121420# merge sidebar feature," but apparently already unused in the original AOO commit. Change-Id: I12e4ff05769d95a847881934eab6da722bb1950e
2013-09-09One more case of explicit OUString construction needed for return statementTor Lillqvist
Change-Id: I577aa609179cdb83124b004ff9ef5aa2123e1e5b
2013-09-09Try to keep older(?) gcc versions happyTor Lillqvist
Change-Id: Id563e644356a9265ded66cf08a711078c804ac84