summaryrefslogtreecommitdiff
path: root/sc/source
AgeCommit message (Collapse)Author
2014-04-18sfx2: Move InitInterface_Impl() out of SFX_DECL_INTERFACE too.Jan Holesovsky
Change-Id: Ib737e0d1b5888986b308aa60d4140f65e4e90243
2014-04-18sfx2: Move InitInterface_Impl() method out of SFX_IMPL_INTERFACE.Jan Holesovsky
SFX_IMPL_INTERFACE previously looked like a function; where in fact it is several methods defined at once, and only the last one has a body. This is extremely confusing and hard to read; let's kill that nonsense. Change-Id: Ia4ae22eb58b1260c9c827c894f5345693bad49e7
2014-04-18sfx2: Kill SFX_STATUSBAR_REGISTRATION macro.Jan Holesovsky
Change-Id: Iff0ffdb955892117a767e1f31c1f854a93feb560
2014-04-18sfx2: Kill SFX_CHILDWINDOW_CONTEXT_REGISTRATION macro.Jan Holesovsky
Change-Id: Ib94cc5bc33152e53910a50cce878fb69312d0c30
2014-04-18sfx2: Kill SFX_CHILDWINDOW_REGISTRATION macro.Jan Holesovsky
Change-Id: Icd56e0cee1ce0283e8a1cbaafc81ecca25469185
2014-04-18sfx2: Kill SFX_POPUPMENU_REGISTRATION macro.Jan Holesovsky
Change-Id: Ie68ccbe5874ec7c7e1bb73cb2937e06bb4910cd0
2014-04-18sfx2: Kill SFX_OBJECTBAR_REGISTRATION macro.Jan Holesovsky
Change-Id: Ic80e9bebba8c7e76a0400769a2f9d75301227194
2014-04-18No need for these to be statics.Jan Holesovsky
Change-Id: Ia5fef528b7bddae3c6615d5064dcfcf02059f0ec
2014-04-18ScImportExport clean-up, German commentsTomaž Vajngerl
Change-Id: Ife16a0e787a03c1225218356572c2fd929a0c63c
2014-04-18coverity#704274 Logically dead codeCaolán McNamara
Change-Id: I211f24d34a0fc9b3efb6f575eb6884c334733969
2014-04-18coverity#1202953 Uninitialized pointer fieldCaolán McNamara
Change-Id: I7d0950873bed5bf9fb83cb72419c9b46555b23ae
2014-04-18Related: coverity#1202953 unused pIPClient memberCaolán McNamara
Change-Id: I0fb8f207e8b41563dad9cc4958abecce125742da
2014-04-18callcatcher: update unused codeCaolán McNamara
Change-Id: Ia88d83a209113fa4c351c0300d407da0c71baeac
2014-04-17no temporary instance of SvtLanguageTable necessary hereEike Rathke
Change-Id: Ic94940cd230022fe968968718a37737c3d462aca
2014-04-18Intermediate commit of hacking on --disable-database-connectivityTor Lillqvist
Add HAVE_FEATURE_DBCONNECTIVITY to <config_features.h> instead of using (or not, more likely) -DDISABLE_DBCONNECTIVITY. The plan is still that database connectivity would be disabled always for the non-desktop platforms, and otherwise disabling it would be a configure option. But, still lots to do; the TiledLibreOffice iOS test app gets tons of undefineds when linking if I actually try to disable the database connectivity. Change-Id: If1e4b55faa1514cd55dec5fc5487a30d689739ac
2014-04-17limit the range shrinking in charts to really large ranges, fdo#70609,Markus Mohrhard
Also improves the situation for fdo#55697. It is just the fist step to a better algorithm. Change-Id: I15de1ca6604e585fcf5690f0d903c757d641e765
2014-04-16cppcheck: duplicate branchCaolán McNamara
Change-Id: I2348a763ba4ba2ae8d00df926d6a1dddceb02b4c
2014-04-16fdo#74687: Undo & redo of format-only changes don't need broadcasting.Kohei Yoshida
Also discovered that the undo path was broadcasting twice. Let's only do it once. Change-Id: I169f1659aecb1eb78be3a497e244f79c5883e50f
2014-04-16fdo#74555: Avoid excessive calls to GetPreviewCellStyle().Kohei Yoshida
GetOptimalHeight() gets called *all the time* and is very performance sensitive. Let's not do an expensive operation such as GetPreviewCellStyle() which slows down pretty much everything else after the non-default font is applied. Change-Id: I5d5b2e706dd5dd98173044642b98ccaedd9536f0
2014-04-16fdo#75665: Fix the right-aligned case.Kohei Yoshida
Change-Id: I905c4e331f37ed2ffbdf5c89dde9fb6c9ca546cf
2014-04-16fdo#75026: Sometimes we need to update grid view while not being active.Kohei Yoshida
For example when "jumping to mark" in the non-active window triggered by hyperlink in the active one. The jump-to-mark command gets dispatched before the new window is officially activated. Change-Id: I4e9c126b061ee3af4440e36d1ba6d796eb1c3539
2014-04-16SfxItemPool(..., ATTR_STARTINDEX, ATTR_ENDINDEX, aItemInfos, ...) off by oneStephan Bergmann
...since d9ef61fb546af443736057557552e3a95c569c11 "API CHANGE: roll back the XStyle changes to add a new Hidden property on Style" bumped ATTR_ENDINDEX for ATTR_HIDDEN but didn't adapt aItemInfos, and mstahl suggests its better to adapt aItemInfos than to use ATTR_ENDINDEX-1 in the SfxItemPool ctor call. Change-Id: Iafdf595091ac300793bad1bcd87d58abba4fda6d
2014-04-16coverity#1202968 Uninitialized scalar fieldCaolán McNamara
Change-Id: Ic226202bb1ce429f9dd8e13183ec64ffc9059d05
2014-04-16coverity#1202963 Uninitialized pointer fieldCaolán McNamara
Change-Id: I1cb588ce7df30886354ac0cf2bd81fb95a7e9d37
2014-04-15fdo#75665: Truncate string when clipped on screen.Kohei Yoshida
This improves performance of text layouting by HarfBuzz for very long strings. HarfBuzz's layout algorithm appears to be more expensive than ICU's. Change-Id: Ic9738b7b8f0f1a29c51c83b147763118939b90ef
2014-04-16CID#736182 guard against a dubious call from SearchAndReplace()Eike Rathke
Change-Id: I6ce1b577c377721b882c1f8ec757a61e600ae671
2014-04-15CID#1202961 init class memberEike Rathke
Change-Id: I5b00cdf68220282e5d0ff99352e04552cdecce09
2014-04-15CID#1202973 init class membersEike Rathke
Change-Id: Ib14d24970faa35ad0caf8c8a8bf7f9cef5764b89
2014-04-15CID#1202954 init class memberEike Rathke
Change-Id: If5ba55d752674b5bd81b406a28a78381177d6442
2014-04-15Use scope switch rather than manual on and off.Kohei Yoshida
Change-Id: Ia4072339b6f1fd4b929d891dcc8f3bb3e2403d5e
2014-04-15Use single std::vector instance in lieu of heap arrays.Kohei Yoshida
Change-Id: I36820b5c3790998eab922a0fa603ac063972c445
2014-04-15CID#1093227: check for (unlikely) null return valueEike Rathke
Change-Id: Idca2df07ffdc41b67bf7e126ebec3243501b9cb5
2014-04-15Remove this duplicate, and use the one in ScCellFormat.Kohei Yoshida
Change-Id: I2410c8805ef5be950d5ce1e24f845ed910615442
2014-04-15Avoid unnecessarily converting UNO cell address to ScAddress.Kohei Yoshida
Change-Id: I69849b0a16cb353257f9fc1890a27595cd1b7b7b
2014-04-15fdo#76409: Write output cell string to <text:p> element when saving to ods.Kohei Yoshida
The change was made by accident. Change-Id: Ife2461b0fca6e3ea5a65d72d985d1e0976737b5a
2014-04-14fdo#76294: Intern strings in AddFormulaToken() as well.Kohei Yoshida
And a whole bunch of changes needed to make that happen. Change-Id: Idd98fbc99322c0d72fb0a7848d89cb1a6abc88b6
2014-04-14fdo#76294: Properly intern string literals in formula on xls import.Kohei Yoshida
Change-Id: Ib3a442cbb68c23294762561f2911101a087a795e
2014-04-14fdo#77209: Share string pool with clip documents.Kohei Yoshida
We do the same with undo documents, and it will only make sense to do the same with clip documents as well. Also, put the sharing part into a common method (for ease of tracking). Change-Id: I342b22d95374ee06d16318a66ffea0ac5b42621c
2014-04-14The entry points for these are hidden behind OSL_DEBUG_LEVEL > 1 too.Jan Holesovsky
Change-Id: I728e808ac897aa1be184fb4a8bbbf781eb816cf0
2014-04-14Clean up function declarations and some unused functionsStephan Bergmann
Change-Id: If2c233a8ced8815b065a72caff907f10ef6166ff
2014-04-14typo: occuring -> occurringThomas Arnhold
2014-04-14typo: hilight -> highlightThomas Arnhold
2014-04-14typo: artifical -> artificialThomas Arnhold
2014-04-14typo: postion -> positionThomas Arnhold
2014-04-14typo: reverese -> reverseThomas Arnhold
2014-04-14typo: ULR -> URLThomas Arnhold
2014-04-14typo: direclty -> directlyThomas Arnhold
2014-04-14typo: befor -> beforeThomas Arnhold
2014-04-14remove static stringsThomas Arnhold
2014-04-12WaE: implicit conversion of literal of type 'sal_Bool' to 'bool'Tor Lillqvist
Change-Id: Idfecaf013426bb549d3148fe0cab4c9e6c05dd2e