summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2014-06-03unknown log area [loplugin:sallogareas]Eike Rathke
Change-Id: Ic749d5e8c22d14c0c1160c30b4813226c3962236
2014-06-03eliminate xub_StrLen left-overEike Rathke
Change-Id: I4862481d69ac86bf082e35b28d6326444deafee8
2014-06-03add bDisallowPrivate parameter to LanguageTag::isValidBcp47()Eike Rathke
Change-Id: I0924b0fa268c38c238226d082cf26595bba72f0c
2014-06-03vcl: Refactor scale "super" out of bitmap and make it independentTomaž Vajngerl
Introduce BitmapFilter as a general bitmap filtering class, and make scale "super" algorithem independent as BitmapScaleSuper which uses BitmapFilter as superclass. This is an ongoing work to make some bitmap algorithms structured and more independent from the big bitmap class This will make them easier to work with, test and optimize. Change-Id: I37d29709b2af95cab2f6da21129302f5be79318b
2014-06-03convert some sal_uInt8 fields to boolNoel Grandin
Change-Id: Icd5845367157cc0b0c9342c6037b199c49432a76
2014-06-02add LANGUAGE_USER_FRENCH_TOGO 0x8C0C [fr-TG] French (Togo), fdo#79353Eike Rathke
Change-Id: Id1e127a3652d4bef280327c2a62d95c17c012656
2014-06-02add LANGUAGE_USER_FRENCH_NIGER 0x880C [fr-NE] French (Niger), fdo#79352Eike Rathke
Change-Id: I6d793317bc1caef4a95275bad263a5b2feac12e4
2014-06-02add LANGUAGE_USER_FRENCH_BENIN 0x840C fr-BJ French (Benin), fdo#79351Eike Rathke
Change-Id: Idc54b0fae9283d795b79231214cf14aae43adca2
2014-06-02coverity#706959 Uncaught exceptionCaolán McNamara
Change-Id: I6b18bd2df7ef190b39ceacd625bf2b62a53892fa
2014-06-02coverity#1213461 Uncaught exceptionCaolán McNamara
Change-Id: I4c0a28ea11e0d38837a3b338928073d32d2b6abe
2014-06-02callcatcher: update unusedcodeCaolán McNamara
Change-Id: I73ff045699113778892db6a534433a70e0e9c8e1
2014-06-02Fix memory leaks in test codeStephan Bergmann
Change-Id: Ifa756a5da636e0b37654ad83900115872bc40f0e
2014-06-02fdo#68849: Add header guards to all include filesJens Carl
added header guards for directories basebmp/, chart2/, cppuhelper/, include/test/, io/test/, sax/test, shell/, writerfilter/, and xmlhelp/ Change-Id: I0e29a9b75c26d71f58aa98986b52f6d3b46015a6 Reviewed-on: https://gerrit.libreoffice.org/9615 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-06-01Fix hungarian prefix for calendarsIsamu Mogi
Change-Id: I78b3c0a8d32610e86e09ab5ad6da6cc4e0395926 Reviewed-on: https://gerrit.libreoffice.org/9566 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-05-30New loplugin:inlinevisible to flag inline functions marked DLLEXPORTStephan Bergmann
...which does not make sense. On Linux and Mac OS X, they potentially end up exported from multiple libs (weakly, though), while on Windows the potentially even end up not emitted at all, which could cause link errors. Change-Id: I092c9ba39e686c17b6e91581cdd4753f1c4d582f
2014-05-30bnc#870237: wrong text position in grouped listZolnai Tamás
In grouped list text area does not cover the whole shape but just a part of it at the top. To get the same visual effect modify text distance attribute. Change-Id: I32f30d0afbc1975f940c4562ec65f46596e97060
2014-05-30header guard naming consistencyNoel Grandin
Change-Id: Iebbf5c586f5d2961be98b12638def3adbadef136
2014-05-30Resolves: fdo#79360 impress hangs on using sidebar new styleCaolán McNamara
because those styles are "pseudo-styles" and a new one cannot be added. The possibility is supposed to be disabled, and it is disabled in the floating stylelist. The old code assumes there can only be one of these stylelists and when a stylelist queries if the "new" should be disabled the callback asks the stylelist what family is selected, but only asks the floating one. So, floating closed, sidebar open, the new is not disabled. Implement the ancient TODO now that we have to. Instead of asking the stylelist what family is selected, query the frame for what is the current SID_STYLE_FAMILY as set by whatever is the active stylelist. What's disturbing is the SID_STYLE_FAMILY values are not SfxStyleFamily, but indexes that have to be mapped to SfxStyleFamily. I bet there are a pile of bugs around that, especially with little islands of different conversion codesites Change-Id: I85c8032d7c26ae6eea245685748f89b2a860e767
2014-05-30Revert "Add function to catenate n copies of a string"Tor Lillqvist
COMPHELPER_DLLPUBLIC of an inline function is wrong. Nevermind that I just followed the example of the preceding functions. And it is too bikeshedding-inducing anyway to use recursion. This wasn't used anywahere yet anyway in committed code, just locally in a tree of mine. Will add a local copy there. This reverts commit ee0d7d4c52fe93ef2ac73d403f61b642f1ae2716.
2014-05-30fdo#68849: Add header guards to all include filesJens Carl
Added header guard to files in directories i18npool/, include/, and io/ Change-Id: I7ba5b5f0ffdf5dedb8fd40e8efa06936e7c23591 Reviewed-on: https://gerrit.libreoffice.org/9558 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-05-29Detach all DocBasicItem objects upon process termination.Kohei Yoshida
To prevent rogue DocBasicItem objects (which are global objects) from attempting to stop listening after the main app is dead. Change-Id: I68a667137ca4e0eff18278f4d2d5dd67466eaf34
2014-05-29Allow STYLE_OPTION_MONO to be unset from toolkit-created windowLionel Elie Mamane
This was keeping form controls (e.g. CheckBox and RadioButton) to transition from flat style to 3d style, while the 3d-to-flat transition was allowed, making flat some unescapable pit of doom. Whatever the goal of that pinning, it will have to be achieved in a different way. Change-Id: Icc4dfb9673a7dfe4a7d8726fbfd23f75499f8b41
2014-05-29Add function to catenate n copies of a stringTor Lillqvist
Change-Id: Iba203e18fea2a374e0e0b5c988012ee8fd5369e7
2014-05-29Some spelling correctionsTor Lillqvist
Change-Id: Ie77596a51a6a37e9f59a6ba14bdde7994efd29ad
2014-05-29remove unused virtual method, slim this down initiallyCaolán McNamara
Change-Id: Ie4a912cc3c144c47a4bb59551ebb1c68f302569e
2014-05-29Related: fdo#79392 std::out_or_range -> terminateCaolán McNamara
Change-Id: I0aada90e9ea4e9fc92fd9c365aa9c7171cb10a55
2014-05-29the dubious SfxModelSubComponent and friends aren't used outside sfx2Caolán McNamara
so move out of the globals headers and drop their public visibility markup Change-Id: Ie0a852c962a9d05488022397e83152d1c73cfa29
2014-05-29valgrind: memleak when sidebar open in writer on closeCaolán McNamara
==3768== 512 bytes in 1 blocks are possibly lost in loss record 25,532 of 28,010 ==3768== at 0x4A06965: operator new(unsigned long) (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) ==3768== by 0xB52FA41: __gnu_cxx::new_allocator<bool>::allocate(unsigned long, void const*) (new_allocator.h:104) ==3768== by 0xB52EC00: std::__cxx1998::_Deque_base<bool, std::allocator<bool> >::_M_allocate_node() (stl_deque.h:533) ==3768== by 0xB52DE4E: std::__cxx1998::_Deque_base<bool, std::allocator<bool> >::_M_create_nodes(bool**, bool**) (stl_deque.h:627) ==3768== by 0xB52C624: std::__cxx1998::_Deque_base<bool, std::allocator<bool> >::_M_initialize_map(unsigned long) (stl_deque.h:601) ==3768== by 0xB52ACA0: std::__cxx1998::_Deque_base<bool, std::allocator<bool> >::_Deque_base(std::allocator<bool> const&, unsigned long) (stl_deque.h:461) ==3768== by 0xB5296D3: std::__cxx1998::deque<bool, std::allocator<bool> >::deque(std::allocator<bool> const&) (stl_deque.h:791) ==3768== by 0xB52840E: std::__debug::deque<bool, std::allocator<bool> >::deque(std::allocator<bool> const&) (deque:73) ==3768== by 0xB52786B: framework::UndoManagerHelper_Impl::UndoManagerHelper_Impl(framework::IUndoManagerImplementation&) (undomanagerhelper.cxx:221) ==3768== by 0xB525882: framework::UndoManagerHelper::UndoManagerHelper(framework::IUndoManagerImplementation&) (undomanagerhelper.cxx:879) ==3768== by 0x6872683: sfx2::DocumentUndoManager_Impl::DocumentUndoManager_Impl(sfx2::DocumentUndoManager&) (docundomanager.cxx:88) ==3768== by 0x6870FB6: sfx2::DocumentUndoManager::DocumentUndoManager(SfxBaseModel&) (docundomanager.cxx:227) ==3768== by 0x687A272: SfxBaseModel::getUndoManager() (sfxbasemodel.cxx:1677) ==3768== by 0x260E562A: (anonymous namespace)::getUndoManager(com::sun::star::uno::Reference<com::sun::star::frame::XFrame> const&) (PagePropertyPanel.cxx:74) ==3768== by 0x260E6C60: sw::sidebar::PagePropertyPanel::PagePropertyPanel(Window*, com::sun::star::uno::Reference<com::sun::star::frame::XFrame> const&, SfxBindings*) (PagePropertyPanel.cxx:189) ==3768== by 0x260E593C: sw::sidebar::PagePropertyPanel::Create(Window*, com::sun::star::uno::Reference<com::sun::star::frame::XFrame> const&, SfxBindings*) (PagePropertyPanel.cxx:101) The SfxBaseModel creates the DocumentUndoManager on demand at sfx2/source/doc/sfxbasemodel.cxx:1685 m_pDocumentUndoManager is a rtl::Reference but debugging into the acquire/release I see that the DocumentUndoManager::acquire/DocumentUndoManager::release forward to those of SfxModelSubComponent which forward them to its rModel without doing anything else, so the implementations of DocumentUndoManager::acquire/DocumentUndoManager::release don't actually do anything directly to the DocumentUndoManager itself so there is nothing that will really release it. Either the rModel needs to explicitly destroy it somehow, given that the acquire/release delegate responsibility to it, or the whole thing is addled. I rather feel it's addled, so implement as a normal WeakImplHelper1, but cowardly in addition also keep acquire/release on the rModel. Change-Id: Ib52544a9276fd8d9d489ad6b6afda12498cc39fa
2014-05-28try to fix mouse interaction on windowsMarkus Mohrhard
Change-Id: I8662b0c20dc719401eec3e3d2d852bb3e139a641
2014-05-28coverity#706505 Uncaught exceptionCaolán McNamara
Change-Id: Ia00361fb1d86223a7ed65f0be295b291183e3ad6
2014-05-28Avoid undefined computation of unaligned pointers to multi-byte objectsStephan Bergmann
Change-Id: Iafca1288e044ab4650b004439027c134e159b45f
2014-05-28Related: fdo#79142 make SetName default to ReindexingCaolán McNamara
Change-Id: I408042bc7bf1a5a955203d65d2c68ebf9527b9b5
2014-05-28Resolves: fdo#79142 When Creating Styles - The 2nd One Always Replaces the 1stCaolán McNamara
regression from 0c17ccc493d0c7a80f37600dae76a09a119bef78 I think it might actually make more sense for SetName to always Reindex and have another SetNameNoReindex for selective use where its known safe to get away with it Change-Id: I6bf7e1f45130f741954ab525b838f3ac5ff61a89
2014-05-28cid#706953 Uncaught exceptionNoel Grandin
Change-Id: I4c46e98a8382ac39786ffb6607bd3ecdb57b3914
2014-05-28Avoid duplication of two #definesTor Lillqvist
Split out the META_*_ACTION defines into a separate file. Change-Id: Ie211b4d8b3720f1158d36347f27e5dfd5ca467b4
2014-05-27coverity#1209946 Uncaught exceptionCaolán McNamara
Change-Id: I875faea495a375b998c439a0c987b2241ca47ea8
2014-05-27coverity#1209949 Uncaught exceptionCaolán McNamara
Change-Id: I968c5cd5929e2587588f0e0547352acdc19e456a
2014-05-27css already means ::com::sun::starThomas Arnhold
Change-Id: I48d7b746d7cc49246743c62480b0d225d2519342
2014-05-27cid#707139 Uncaught exceptionNoel Grandin
Change-Id: I4d821c576fef09ca7935a931b1632238ae550df9
2014-05-27cid#707192 Uncaught exceptionNoel Grandin
Change-Id: Ibf6f8a4a405d089eb8bbdcf46269f2f78b2222a9
2014-05-27cid#707249 Uncaught exceptionNoel Grandin
Change-Id: Ib8ae83da27b24962769737626a9b55489239bda9
2014-05-27cid#707251 Uncaught exceptionNoel Grandin
Change-Id: I77a606e3200da94fcf2268c5cd6c396068a82e47
2014-05-27cid#707271 Uncaught exceptionNoel Grandin
Change-Id: I95d1e737004074a00100b4c7ba4f15f660df4ff5
2014-05-27cid#707272 Uncaught exceptionNoel Grandin
Change-Id: I4ff6b2fddc0cb96ec088cb0b123a9f6185db389c
2014-05-27cid#707273 Uncaught exceptionNoel Grandin
Change-Id: Ic9dcbcdc73a0e7b95d665e58db291fa50a287a3c
2014-05-26rebase all import libsDavid Tardon
Change-Id: I9e1fc613816c943f4fb1033185e34e3acf317f1d
2014-05-26callcatcher: update unused codeCaolán McNamara
a few more ResId using ctors going away Change-Id: Ic956bc179c094d19989bf850657471192d042a01
2014-05-26react only to left mouse clickMarkus Mohrhard
Change-Id: Ia4c2c52b8803cd36d7ed32be559ba446589377e7
2014-05-25vcl: Document GetTextBoundRect() / GetTextWidth() / GetTextHeight().Jan Holesovsky
GetTextBoundRect() fits different situations than the GetTextWidth() / GetTextHeight() combination, so make it clear in the documentation. These are complex enough that people shouldn't read the code just to understand the difference, and misunderstanding of purpose of each leads to visually not nice results. Change-Id: Ida71477cdffbd8290328551bd6ddb4805b96c415
2014-05-24some work on mouse scrolling and improved mouse draggingMarkus Mohrhard
Change-Id: I3265e26530183b2fc4fd7f67319f3dc124353c2e