summaryrefslogtreecommitdiff
path: root/svx/source/sidebar
AgeCommit message (Collapse)Author
2014-04-24add missing modelines to cxx and hxx filesThomas Arnhold
some of them have no copyright header Change-Id: I9c2c0c859dabe231cb29af29290847e7b4aa46a3
2014-04-24add missing modelines to hrc and src filesThomas Arnhold
Change-Id: I82d9727c4f991c606a19b9eba27732e7e2397db6
2014-04-23huge hrc and src file cleanupThomas Arnhold
* mostly fallout from ui conversion * some completely unused defines from src files * lots of unused HID ids Change-Id: I976561205798db3d06ee139de6223f638e58f47a Reviewed-on: https://gerrit.libreoffice.org/9142 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
2014-04-16cppcheck: duplicate branchCaolán McNamara
Change-Id: I1731b60036d94791a39290957d6c4d3b345c077f
2014-04-16coverity#1027390 Logically dead codeCaolán McNamara
Change-Id: Ie2d375093828cc2b0f9ca20b360a8fe8a5032dcf
2014-04-15svx: sal_Bool->boolNoel Grandin
Change-Id: I464eba5fd5521c31868c6fc8a2137f17428d421e
2014-04-09unused includeMaxim Monastirsky
Change-Id: I41c043d5651c24a270b54ff9647b1151873b0550
2014-04-03Related: fdo#75307 use the unique auto help id to identify tabpagesCaolán McNamara
and dialogs that are loaded from the .ui format Change-Id: I37aea52a3973d8d8f6a2ce8dabf80bb1e64db43f
2014-04-01Explicitly mark overriding destructors as "virtual"Stephan Bergmann
It appears that the C++ standard allows overriding destructors to be marked "override," but at least some MSVC versions complain about it, so at least make sure such destructors are explicitly marked "virtual." Change-Id: I0e1cafa7584fd16ebdce61f569eae2373a71b0a1
2014-03-27Second batch of adding SAL_OVERRIDE to overriding function declarationsStephan Bergmann
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: Ie656f9d653fc716f72ac175925272696d509038f
2014-03-20Resolves: #i124409# use slot SID_ATTR_METRIC...Armin Le Grand
to retrive the UI unit, not GetModuleFieldUnit (cherry picked from commit 34279ea85c33e3efd21971ab692a3de4bdd91817) Conflicts: svx/source/sidebar/possize/PosSizePropertyPanel.cxx Change-Id: Id81847bf7e989a3e49fbe8adaad23048956067df
2014-03-14"prefix" and "postfix" are single wordsTor Lillqvist
Change-Id: I32824c614d070cd4649e18da4a0b91b03bccfaba
2014-03-14sfx2: sal_Bool->boolNoel Grandin
Change-Id: If960d94f867a1988ace83975cf16441c6f8866b0
2014-03-14svx: sal_Bool->boolNoel Grandin
Change-Id: I673d022c01b7d076120c026b236a37735b5043b0
2014-03-13svtools,svx: prefer passing OUString and OString by referenceNoel Grandin
Change-Id: Iceb2cbcda9d8ddb4ee00db9365c751e0e5d8b3a6
2014-03-11remove osolete ifdefNorbert Thiebaud
now that the ScaleDPI is forced to 1 on mac there is no need for these ifdef Change-Id: I0ca3bc301b63f5f4c7d1eb36f27bc9b6ab41af29
2014-03-11svx: sal_Bool->boolNoel Grandin
Change-Id: Ieb21d01fef7b25fc3b6326108d451fe239c9b461
2014-03-05made ListBox handle more than 64k elements, fdo#61520 relatedEike Rathke
ListBox and related now handle up to sal_Int32 elements correctly. sal_Int32 instead of sal_Size or size_t because of UNO and a11y API. Also disentangled some of the mess of SvTreeList and other containers regarding sal_uInt16, sal_uLong, long, size_t, ... type mixtures. Change-Id: Idb6e0ae689dc5bc2cf980721972b57b0261e688a Reviewed-on: https://gerrit.libreoffice.org/8460 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2014-02-28I guess const was intended here.Jan Holesovsky
Change-Id: Iba157cca516add9403e8eace64430ed7008f4f2c
2014-02-28remove unused code PanelLayout::dispatchNoel Grandin
full signature: PanelLayout::dispatch( rtl::OUString const&, css::uno::Sequence<css::beans::PropertyValue> const&) Change-Id: Ib16c32d69e62ccf000de05da7c6f25e993a5be90
2014-02-27editeng: sal_Bool->boolNoel Grandin
Change-Id: Ic3d9fe45d3242d3da147067d3c388e9d7305ee61
2014-02-26cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26Remove visual noise from svxAlexander Wilms
Change-Id: I56497d953b0500ba0967fddb36ca8bbbe86c62ad Reviewed-on: https://gerrit.libreoffice.org/8321 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2014-02-24Replace exisiting TriState, AutoState with more generic TriStateStephan Bergmann
Change-Id: Ida05478aae5a379775c671e0c2f2851d820d78be
2014-02-21vcl: sal_Bool -> boolStephan Bergmann
Change-Id: I2a3e3d3e3266ea0f0fafdd91362076a4aa160f0e
2014-02-20Remove vcl/settings.hxx from vcl/svapp.hxx and vcl/outdev.hxxTobias Lippert
Added vcl/settings.hxx to all cxx files which require it. This helps to speed up compilation after changes to the settings. Conflicts: sc/source/ui/dbgui/pvlaydlg.cxx Change-Id: I211a0735c47f72d6879f6f15339355abfe0e3cf4 Reviewed-on: https://gerrit.libreoffice.org/7933 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-20svl: sal_Bool -> boolStephan Bergmann
Change-Id: Ic31455a1f5ffffa35d4fdde901dd70734207b6f4
2014-02-19unotools: sal_Bool -> boolStephan Bergmann
Change-Id: I8051c0756e0474a5b4f748e0aa15a9922e82ea97
2014-02-19Resolves: #i124216# Detect changes of the UI scale.Andre Fischer
(cherry picked from commit 7e5783030c82f8ec87b88899869e9152cf5c3271) Conflicts: svx/source/sidebar/possize/PosSizePropertyPanel.hxx Change-Id: Ia31d5645694ca9b9ebb36f38c650103905b346a8
2014-02-14sidebar: remove alignment handlersMaxim Monastirsky
from paragraph panel Change-Id: I46cc0c81df02cba681a0586a7ef859f77be046c6 Reviewed-on: https://gerrit.libreoffice.org/8045 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-14fdo#68537 Correct icon and tooltip for background colorMaxim Monastirsky
Just to close this bug, more changes are expected. Change-Id: I1017481211a5a1b9219f02fed3af31be0399e27a Reviewed-on: https://gerrit.libreoffice.org/8046 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-14protect macosx against the HiDPI hacksNorbert Thiebaud
Change-Id: Ie79abaffef72cbdf3006314c56590ca1e10cf949
2014-02-12convert SvStream::operator>> methods to ReadXXX methodsNoel Grandin
First, I updated the clang rewriter to do the conversion. Then I lightly hand-tweaked the output for the few places where the rewriter messed up, mostly when dealing with calls on "this". Change-Id: I40a6a977959cd97415c678eafc8507de8aa3b1a9 Reviewed-on: https://gerrit.libreoffice.org/7879 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-02-11coverity#1027390 Logically dead codeCaolán McNamara
Change-Id: I996cc37bf95e36ca69d1809882e2d6f9a18e9411
2014-02-07sal_Bool -> boolStephan Bergmann
Change-Id: Ifc80202e0865b59931af6e50d3d60f5021f8b52e
2014-02-07set smaller preferred width for sidebar para spinnersCaolán McNamara
i.e. use a size that's big enough for sane values to fit, rather than full range of legal values. Width space is at a premium here. Change-Id: I5d34048690729415deaabec431eb16e43c5b7a0a
2014-02-07sidebar: even more cleanup of text panelMaxim Monastirsky
Contains the following changes: - Kill SvxSBFontNameBox. - Remove ToolboxFontSelectHandler. - Move .uno:Color to a separate toolbox. It allows to remove some hardcoded uno commands from the code, and also solves a redrawing issue. - General cleanup. Change-Id: I6fb797aa95d1a73dca0003ad1a40aee55e27e163 Reviewed-on: https://gerrit.libreoffice.org/7893 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-05Resolves: #i123116# correct spelling errorsJürgen Schmidt
Patch By: Aivaras Stepukonis Review By: jsc (cherry picked from commit a845d71360fc3cd0205d554964c4fd9fe87f0f8a) Conflicts: svx/source/sidebar/area/AreaPropertyPanel.src Change-Id: Ib5158a2e28f1af426cd845ac648bcd4674d496f0
2014-02-04sidebar: more cleanup of text panelMaxim Monastirsky
Change-Id: Iad9b619d599ed13e3d783ca174e7ad5f0053c622 Reviewed-on: https://gerrit.libreoffice.org/7826 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-01Resolves: #i123993# When executing rotation actions from the Sidebar...Armin Le Grand
PosSizePropertyPanel, take UIScale into account. Patch By: hanya Review By: alg (cherry picked from commit 7e12414bf5e88108116653eee1870612d34c49cb) Change-Id: Ia480db54ec0834237a91f86338348727ff43cf7b
2014-01-30svx: fix presumed C++11ismMichael Stahl
Change-Id: I4d6e7ec99ea889ae45ca12c3470b9f5d9e3c134b
2014-01-30Sidebar Text panel cleanupMaxim Monastirsky
Change-Id: I6cbf5a9e5ad9d61df2abbcc835ba60d45768deeb Reviewed-on: https://gerrit.libreoffice.org/7687 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-01-28bool improvementsStephan Bergmann
Change-Id: Ic32faa81bfbb66a9d8632fb3db187e33c31188ed
2014-01-22Introduce static inline cppu::acquire(), and make use of that.Jan Holesovsky
This is much better approach compared to the callback function, as it allows passing arguments to the c++ constructor directly, while still allowing some additional initialization after having acquired the instance. Change-Id: I5a0f981915dd58f1522ee6054e53a3550b29d624
2014-01-21Change _get_implementation()'s not to do initialization directly.Jan Holesovsky
Many of the initalizations (in eg. framework) have to be done on an acquire()'d object, so instead of doing the initialization directly, return the initialization member function back to the createInstance() / createInstanceWithContext() / ... and perform the initialization there. As a sideeffect, I belive the calling initialize() from servicemanager is not that much a hack any more - whoever converts the implementation to be constructor-base has the choice to provide the callback, or still initialize through XInitialization, where the callback is preferred by servicemanager when it exists. Change-Id: I8a87b75c54c1441ca0f184967d31ff4902fc4081
2014-01-21Fix bogus mass-conversion equalsAsciiL -> startsWithStephan Bergmann
3af99e4d59d89c343965a928681a30f36b1007d2 "convert equalsAsciiL calls to startsWith calls" should rather have converted to oprator ==. Change-Id: Id4a8836c5d6d570e54661c40be7214632e202b21
2014-01-20Minimize the constructor functions to a bare minimum.Jan Holesovsky
Most of the constructors are supposed to be only a call of new TheInstance(arguments) or an equivalent; so let's just change the constructor caller accordingly, to accept unacquired new instance. If there are exceptions that need to do more heavy lifting, they do not have to use the constructor feature, or there can be a wrapper for the real implementation, doing the additional work in their (C++) constructor. Change-Id: I035c378778aeda60d15af4e56ca3761c586d5ded
2014-01-20Remove space before percent signKhaled Hosny
Seems to be merge artifacts in 260df50ae67e0d9f9d80e0686e6a12903c53c130. Otherwise, I really like how Caolán implemented this in a proper, per-locale way. Caolán, you rock! Change-Id: I42e70b240fdf013316ad282e70b8e42eec8225a8
2014-01-20Resolves: #i56998# add a space separater between value and unit...Tsutomu Uchino
and remove separator between value and percent to match with ISO 31-0 (cherry picked from commit 0cea884e3f417e4b58d2fdcfc7b0111f3bfc6f30) Conflicts: chart2/source/controller/dialogs/tp_SeriesToAxis.src cui/source/dialogs/colorpicker.cxx cui/source/dialogs/colorpicker.src cui/source/dialogs/grfflt.src cui/source/dialogs/zoom.src cui/source/tabpages/tabline.src editeng/source/items/frmitems.cxx editeng/source/items/textitem.cxx sd/source/ui/animations/CustomAnimationDialog.src sd/source/ui/animations/SlideTransitionPane.src svx/source/dialog/bmpmask.src svx/source/engine3d/float3d.src svx/source/items/algitem.cxx svx/source/sidebar/text/TextCharacterSpacingControl.cxx svx/source/xoutdev/xattr.cxx sw/source/ui/utlui/attrdesc.cxx sw/source/ui/utlui/uiitems.cxx Change-Id: I554309cb72dd8956077c5ca6866a982cdd6529aa
2014-01-20Related: #i56998# use FUNIT_PERCENT instead of FUNIT_CUSTOM...Tsutomu Uchino
with percent CustomUnitText on metric fields (cherry picked from commit 4f5b26a97dbaef964af1fe323f24109b987cb952) Conflicts: chart2/source/controller/dialogs/tp_3D_SceneGeometry.src chart2/source/controller/dialogs/tp_SeriesToAxis.src cui/source/dialogs/zoom.src cui/source/options/optgdlg.src cui/source/tabpages/autocdlg.src cui/source/tabpages/backgrnd.src cui/source/tabpages/chardlg.src cui/source/tabpages/grfpage.src cui/source/tabpages/numpages.src cui/source/tabpages/paragrph.src cui/source/tabpages/tabarea.src cui/source/tabpages/tabline.src cui/source/tabpages/tparea.cxx cui/source/tabpages/tplnedef.cxx sc/source/ui/pagedlg/pagedlg.src sd/source/ui/animations/CustomAnimationDialog.src starmath/source/dialog.cxx starmath/source/smres.src svx/source/dialog/fontwork.cxx svx/source/sidebar/area/AreaPropertyPanel.src svx/source/sidebar/graphic/GraphicPropertyPanel.src svx/source/sidebar/line/LinePropertyPanel.src svx/source/tbxctrls/fontworkgallery.src sw/source/ui/frmdlg/column.src sw/source/ui/misc/pgfnote.src Change-Id: I8acc5f7fc80d4366750ad38fabbf49b02f013f7c