summaryrefslogtreecommitdiff
path: root/framework
AgeCommit message (Collapse)Author
2014-06-17improve the inlinesimplememberfunctions clang pluginNoel Grandin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
2014-06-13loplugin:staticcallStephan Bergmann
Change-Id: I6301c6d01b62540d0a765b78323a46ee3a4965c8
2014-06-13Fix memory leakStephan Bergmann
Change-Id: Ib0a2d8d69f5bd43872c949d79c685f71657dc9db
2014-06-10-Werror,-Wtautological-undefined-compareStephan Bergmann
Change-Id: Ibd738b91d35a1b82e1e7b078ef73c6f6076dc08a
2014-06-09loplugin: inlinesimplememberfunctionsNoel Grandin
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
2014-06-05lp#1296715: refresh invalidated menusBjoern Michaelsen
- so we need to be a StatusListener in framework after all - we ware updating all menus for now, instead of just one - this would have a hugh performance hit when there is much change to the menu - thus we just invalidate the menu and update with all changes after 100ms once Change-Id: I48cda968cf0ae1eae0421b3424bb3e5830817e84
2014-06-05various: remove SAL_THROW macroNoel Grandin
Change-Id: I9464179a736b91f5bc32eb5e5e89b3b4e3da3494
2014-06-04update_pch: add a bunch of pch filesThomas Arnhold
desktop: 1m51s -> 54s framework: 1m55s -> 1m04s package: 32s -> 16s sdext: 1m31s -> 47s svgio: 32s -> 15s uui: 49s -> 20s vbahelper: 1m44s -> 27s xmlscript: 15s -> 10s xmlsecurity: 45s -> 23s Change-Id: Ia437969c091bf877983ababc5ea2d044bbc0bee0
2014-06-04compareTo -> equalsNoel Grandin
convert OUString::compareTo usage to equals to startsWith where it is more appropriate Change-Id: I6f5b5b7942429c0099ad082ba4984fd18e422121
2014-06-04coverity#737167 Uncaught exceptionCaolán McNamara
Change-Id: I9ac3ffbecf8c9efc0b69ad4606c61dbf8fa5a0e9
2014-06-04avoid problems with poppler's and vcl's FontInfo during runtimeMarkus Mohrhard
Change-Id: I1dbd256812cccae1e6ed0ad8bb34ce427e5e5be8
2014-06-03coverity#1219794 Uncaught exceptionCaolán McNamara
Change-Id: Icc9e5faf9ef15840c359b7766112278094d52dea
2014-06-03coverity#1219801 Uncaught exceptionCaolán McNamara
Change-Id: I372c1891e41510c24daf256d00f3ca98e8a374a9
2014-06-02coverity#1219797 Uncaught exceptionCaolán McNamara
Change-Id: I597fb90d677e7cade71bf6cbf7f7bce9d3bd05f6
2014-06-02coverity#1219799 Uncaught exceptionCaolán McNamara
Change-Id: Id1903def4869bccef18f8a1132521d4f24fed551
2014-06-01fdo79368 Don't process overflow menu items twice.Andrzej Hunt
We reuse the toolbox overflow menu for toolbarmanager's context menu -- toolbarmanger previously added its menu listener to the toolboxes menu permanently, meaning that it would try to handle overflow menu items (in addition to the context menu items which it should handle), instead we should only add the listener when we are actually using the menu as a context menu. Perhaps it would be better in the long run to actually use fully separate menus instead, and ask toolbox to specifically add its items to that rather than trying to hack the context menu on top of the overflow menu? Change-Id: Iecface2c6eae9ab79dbcdb25ffdbaf446e2885ea
2014-05-29remove more unnecesary OUString constructor useNoel Grandin
when throwing exceptions Change-Id: I6edfb6b6745499f802b0e3c0e096a36fb7c32aac
2014-05-28update_pchThomas Arnhold
Change-Id: I5316693452427ed76a7738b090de023b110caa40
2014-05-28cid#706551 Uncaught exceptionNoel Grandin
Change-Id: I83cb2abe19e72c13ac00ecd8c6ec58ffbfbcb659
2014-05-28cid#706552 Uncaught exceptionNoel Grandin
Change-Id: I93c41521a7687ca5a451f8107971d1b8fabfd489
2014-05-28cid#706553 Uncaught exceptionNoel Grandin
Change-Id: Ib3014a8f7916d8d3b9b21ddb7d2ba29108c5cd27
2014-05-28cid#706558 Uncaught exceptionNoel Grandin
Change-Id: I23b4d4de0772a45b57730921ef0fd191c53c4763
2014-05-27css already means ::com::sun::starThomas Arnhold
Change-Id: I48d7b746d7cc49246743c62480b0d225d2519342
2014-05-27loplugin:sallogareasStephan Bergmann
Change-Id: I7fe1350e55bea2eead2c7fedf432da594aa6bd9c
2014-05-27OSL_TRACE -> SAL_INFOThomas Arnhold
Change-Id: Ib9e1ed6119b5286871ac10136f7fcbefffe7aebe
2014-05-27remove more unnecessary use of OUString constructorNoel Grandin
Change-Id: Iae14cb3df65295b6894fd9e05411c5698e9c8aba
2014-05-27remove unnecessary use of Reference constructor in throwNoel Grandin
Convert code like this: throw IOException("xx", Reference< XInterface >(static_cast<OWeakObject*>(this)) ); to this: throw IOException("xx", static_cast<OWeakObject*>(this) ); Change-Id: Ife9f645f0f1810a8e80219126193015502c43dbb
2014-05-27Remove unnecessary semicolonsPeter Senna Tschudin
A simplified version of the semantic match that finds this problem is follows: (http://coccinelle.lip6.fr/) // <smpl> @r1@ statement S; position p,p1; @@ S@p1;@p @script:python r2@ p << r1.p; p1 << r1.p1; @@ if p[0].line != p1[0].line_end: cocci.include_match(False) @@ position r1.p; @@ -;@p // </smpl> Change-Id: Ib9708d37fbb4c6060f88d5dae3814a2d37b2091e Reviewed-on: https://gerrit.libreoffice.org/9493 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-05-25Resolves: fdo#79178 Crash when opening a form created with a previous versionCaolán McNamara
A regression from c2c530da69152ff9192b9726aa95961803ce9b29 I think. Rework this to follow the same ctor + init pattern as the others move the fillCache out of the ctor to acquire the obj first, then call the extra init before returning it Change-Id: Ia0dc878654780294a4935f07ac70c4358ca51dfc
2014-05-24coverity#983680 Uncaught exceptionCaolán McNamara
Change-Id: I62baf5b8809d915a4fe6a32788868072d55258e0
2014-05-23Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part20Julien Nabet
Change-Id: If87cdfb2c605254f6d69baa4ca5aec09091caa68
2014-05-23coverity#1215320 Uncaught exceptionCaolán McNamara
Change-Id: Icbc9f370573eda2a79c04825b00db77d1bf1924f
2014-05-23coverity#705818 Dereference before null checkCaolán McNamara
Change-Id: Ie34e0df8ce38c58f5397942e53c55f6cc091b69d
2014-05-23remove boilerplate in UNO Exception constructor callsNoel Grandin
Now that we have default values for Exception constructor params, remove lots of boilerplate code. Change-Id: I620bd641eecfed38e6123873b3b94aaf47922e74
2014-05-23coverity#1215383 Uncaught exceptionCaolán McNamara
Change-Id: I568ba1a942acd622611fb53210e303147b77601f
2014-05-23coverity#1215384 Uncaught exceptionCaolán McNamara
Change-Id: I833b8b9532c61f666755ed5e92135da3aeb55f27
2014-05-23coverity#1215385 Uncaught exceptionCaolán McNamara
Change-Id: I765dd9bab26e3736c6b18a291cfd108342644e8e
2014-05-23coverity#1215386 Uncaught exceptionCaolán McNamara
Change-Id: I2eb374a9209cf4bbf9e2b533ec2522bc1efe6468
2014-05-19fix-includes.pl: frameworkThomas Arnhold
Change-Id: I360d2124ece10ca939a45b9307daf760aaefc557
2014-05-19Resolves: #i86528# use the module manager to identify the context...Tsutomu Uchino
for addons menu merging (cherry picked from commit 2aac0070dbef6c1ad7eeccf7d4015cdcbffe067e) Conflicts: framework/source/classes/menumanager.cxx framework/source/fwe/classes/addonmenu.cxx framework/source/uielement/menubarmanager.cxx include/framework/addonmenu.hxx Change-Id: I3b606671db3a4c6ba8ed2b850e01e1ac91db7581
2014-05-17Single line between methodsHussian Alamri
2014-05-17Correct common misspellings, and remove some ASCII art along the way.Chris Laplante
Change-Id: I42787db31769e8bde984c5f4f0aa90335e889b1c Reviewed-on: https://gerrit.libreoffice.org/9356 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
2014-05-15Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part13Julien Nabet
Change-Id: Ieecfd7ccb10c75ac639d0ba8e7cb588607097c2a
2014-05-15Resolves fdo#70681: fixincludeguards.pl: all that's leftThomas Arnhold
Change-Id: I3e51a62710bb46c8255fd228d41d9300c90a1fb5 Reviewed-on: https://gerrit.libreoffice.org/9360 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-05-15coverity#1213242 Dereference null return valueCaolán McNamara
Change-Id: I23ce35dbeadca1eea4c67d7d70acbf5ce3a82ac8
2014-05-15coverity#441006 Dereference null return valueCaolán McNamara
Change-Id: I6c00db53ce507dacbf6032dbe4d41d806740be62
2014-05-15coverity#440876 Dereference null return valueCaolán McNamara
Change-Id: I7d00c3a3c1a12176e4b1ab74712aabeb2f1cf90e
2014-05-14various loplugin:passsequencebyrefNoel Grandin
Change-Id: Id1045a7f66b4fa10b6491587ba07246a31ceba72
2014-05-14Removed redundant private methods commentsHussian Alamri
2014-05-14Unify utl::TempFile ctorsStephan Bergmann
Change-Id: I0a781a86804808cebf7756506d9299971c13e2ff