summaryrefslogtreecommitdiff
path: root/framework
AgeCommit message (Collapse)Author
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
2013-09-09Try to make the Gentoo tinderbox happy with explicit OUString() valuesTor Lillqvist
Change-Id: If73a84a09ad54072e1251ed2db8aacc307ff32d2
2013-09-09Bin some uses of the stupid DECLARE_ASCII macroTor Lillqvist
Change-Id: I076eef8069e848ec3cf9c69f1b489ad44586324e
2013-09-09Bin now unused U2B macroTor Lillqvist
Change-Id: Ic8f3b11fac527bfe8d6643be758c85bf53e496ef
2013-09-09Bin unused remains of framework's own "debug framework"Tor Lillqvist
Change-Id: I71937debf674ff11173d7d8fa5aa43dc12234ce6
2013-09-09Fix non-debug buildTor Lillqvist
Change-Id: I5446c7fec62c1a934b1ffb21fefa1279b932ca09
2013-09-09Bin the fairly pointless LOG_REGISTRATION_GETFACTORYTor Lillqvist
Change-Id: Ia73eed753d1c4adc847a190449a18498710c8b40
2013-09-08Use SAL_INFO instead of framework's own "event logging"Tor Lillqvist
That "event logging" consisted of two macros, both used in a single place. Change-Id: I8faffd9756399f1902e52aa41968b71a964a4324
2013-09-08Use SAL_INFO instead of framework's own WRITE_LOGFILETor Lillqvist
Change-Id: Ieb1a45ca75c7a475d02535cd176396a0aeb68510
2013-09-08Use SAL_WARN_IF instead of framework's home-grown LOG_ASSERT(2)Tor Lillqvist
Also remove declarations for debug function that don't exist (have been removed (misguidedly?) as unused perhaps). Change-Id: I0bc3320c52b3d50dc851a07fdc30b593cc4856b1