summaryrefslogtreecommitdiff
path: root/svx
AgeCommit message (Collapse)Author
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-21WaE: C4805: unsafe mix of type 'bool' and type 'sal_Bool'Tor Lillqvist
Change-Id: Ia622d25a454eb2fe1928e095c635ad4655032f15
2014-01-21WaE: C4805: unsafe mix of type 'bool' and type 'sal_Bool'Tor Lillqvist
Change-Id: Ibfd666d4c7b2d92a65a01a84fe83319f056b1e7b
2014-01-21WaE: C4805: unsafe mix of type 'bool' and type 'sal_Bool'Tor Lillqvist
Change-Id: I3dfa4495ca7eeba3b3f4f6d81a2ef90fe60ca2d5
2014-01-21warning C4805: '!=' : unsafe mix of type 'sal_Bool' and type 'bool'Stephan Bergmann
Change-Id: I3d4f1ac0debf506e3c4f1ce9143cb8c1cf66925d
2014-01-21Consistently let SetDesingMode functions take bool argumentStephan Bergmann
...to avoid "warning C4805: '!=' : unsafe mix of type 'bool' and type 'sal_Bool' in opertaion" style errors. Additionally, mark those functions that are virtual overrides as such. Change-Id: I64f919f7e2d8f6224303f9bac67f6270d58de014
2014-01-21warning C4805: != unsafe mix of type 'bool' and type 'sal_Bool' in operationStephan Bergmann
Change-Id: I212ea47cabb5c556b7d822e4f45aacb6c96cb6e8
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-20require icu_headers hereCaolán McNamara
Change-Id: If15c208f23d09dbd55ad0625448f864a7725c553
2014-01-20Related: #i56998# use locale rules to format percentageCaolán McNamara
Change-Id: I4b744cf10165383153d2a71c05df0c0ed327c641
2014-01-20Related: #i56998# use FUNIT_PERCENT instead of FUNIT_CUSTOMCaolán McNamara
Change-Id: Ibac028120286c9deb2411fc547877eebac93f36f
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
2014-01-20Related: #i56998# use locale rules to format percentage...Caolán McNamara
in zoom value and percent on zoom statusbar item. Change-Id: I0b863ab43399772fb52c4e03e0552fcb933e2832
2014-01-20Related: #i56998# use FUNIT_PERCENT on fields that allow relative valueTsutomu Uchino
(cherry picked from commit fc6fc5b576b972a8ea0551091cc57aa1cfe1334d) Conflicts: svtools/source/control/ctrlbox.cxx svx/source/dialog/relfld.cxx Change-Id: Ic8f0f550dbbcab0678fbeb9bf45a478b0cea642d
2014-01-18Unify ctor functions for component implementations.Matúš Kukan
There is no need to use different styles for writing the same thing. It also makes it easier in future to use search & replace. But of course, there are also some more complicated functions. Change-Id: I773da20378af0e0d5a27689d3903df7063fb8ac0
2014-01-18Window::PreNotify should return boolStephan Bergmann
Change-Id: Ic9903fd887f2c3fab2630ebeb20df39392177c8d
2014-01-17bool improvementsStephan Bergmann
Change-Id: Ic46fa46c200b94e2e6c5a073ba89b9aae5c14542
2014-01-17105491: Switched update of vertical flag and setting the item set to avoid ↵Andre Fischer
infinite recursion. (cherry picked from commit bb94c19d2c7df1c468d38b7744e0d34e8ac27a99)
2014-01-17Pass scaling to borderline primitive objects.Kohei Yoshida
This will be used when generating line patterns. Change-Id: I2fa0298bd3e34df1cb304d9be41e471835484d83
2014-01-17Make thse constructors non-inline.Kohei Yoshida
Change-Id: Iaf23a9962c9dd748247cb986ffabb1a5ba173c09
2014-01-17Hide the implementation of svx::frame::Array.Kohei Yoshida
Change-Id: Iad2d494bf7dd9f1f69e4e863aeaa514bf76c7c76
2014-01-17Window::Notify should return boolStephan Bergmann
Change-Id: I72081b1022582c8b6f95a611e21d9c78f7581efe
2014-01-17removed some unused code (svx, svtools, unotest)Petr Vorel
Change-Id: I1250581d69423030bd0a93a1529458b8d424ce3e Reviewed-on: https://gerrit.libreoffice.org/7329 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-01-17Resolves: #i123042# corrected reload of linked content...Armin Le Grand
to have access to its own path (cherry picked from commit bc89d402b3df00c2402ac86896eb2ce4c3f7b7d0) Conflicts: sfx2/source/appl/fileobj.cxx svgio/source/svgreader/svgimagenode.cxx svx/source/svdraw/svdograf.cxx Change-Id: I4f3e98588f17b4271465359a7f56f9845029e012
2014-01-16Related: fdo#73414 use frame::XDispatch::dispatch directlyCaolán McNamara
This hopefully is a model which we can build in further to remove the rest of the direct SID... stuff and the fragile mapping from the known .uno: commands to SIDS to dispatch, and instead just dispatch the .uno: command directly Change-Id: Iec0f92123fa4c2dae15e0ac716d5ef687e67da79
2014-01-16make use that these VclBuilders have an XFrame to expose its dispatchCaolán McNamara
the sidebar widget-layout enabled panels could use frame::XDispatch::dispatch to send their commands directly rather than mapping back to SIDS and Executing those, which would allow removing piles of weird-ass stuff Change-Id: Ibbff56d4fb96820d3bdbf4b1cb582d25337fe48b
2014-01-16fdo#73414 Remove Increase Font limits for WriterMaxim Monastirsky
and re-use the same code in sidebar. Change-Id: Ic342be479f6f5b23ea2dd79b7cf6c77897b27dc1 Reviewed-on: https://gerrit.libreoffice.org/7398 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-01-16convert SvStream::operator<< overloads to more explicit methodsNoel Grandin
This is in preparation for more conversion of SvStream::operator<< calls to use more explicit method names. This converts the subclasses that have their own convenience overloads of operator<< to use normal methods. Change-Id: I5efd5d9a24c264cb86d2471303dd5849bf91ba80
2014-01-16fdo#54938: Convert svx and svl to cppu::supportsService...Marcos Paulo de Souza
...final season Change-Id: Ie51ac231def4a8a6e2681b81de7580798c95eed2
2014-01-15WaE: busted codeCaolán McNamara
Change-Id: Ida6183eea365f7354f69d2b4e55cd97d2424e558
2014-01-15more xub_Strlen->sal_Int32Caolán McNamara
Change-Id: I9bab4c8c0e5b62eace308b90a43800c21c9cba41
2014-01-15Unify ctor functions to have _get_implementation suffix.Matúš Kukan
Change-Id: I07fe0671d0633ef9480a4f3431df6a64c7902db8
2014-01-15Translate German comments to EnglishSven Wehner
2014-01-15Use const& arguments parameter for ctor functions.Matúš Kukan
Change-Id: I19ce8bd1a23123ac9a62a7fc95cd54fea5315221
2014-01-15Initialize constructor based implementations in one place.Matúš Kukan
Change-Id: I324f25bb5ec7d792c3e015815f2a11b08f519764
2014-01-14EndDialog takes long nResult, not boolStephan Bergmann
Change-Id: Ic6283b7a71a5d1c539ae99155f448e34e877080a
2014-01-14xub_StrLen->sal_SizeCaolán McNamara
Change-Id: Iac6b7a01dd35fb6bb350644235409c4019a0a086
2014-01-14longparas: xub_Strlen->sal_Int32Caolán McNamara
Change-Id: Ib33b2a36e7fcd96ca9e5deff19e1d2d18aebd012
2014-01-14Remove unused bForBrowsing parameterStephan Bergmann
Change-Id: I32b458390130e9ed83af0831069329ac8f672d67
2014-01-14PrepareClose should probably return boolStephan Bergmann
Change-Id: Ie62a6c1197594102bc68e246ae6059a9442ce314
2014-01-14RET_NEWTASK is apparently unused (since around 2000)Stephan Bergmann
Change-Id: I3c0804d35c5ff7a00ec7169d0ab387f4b63d65d3
2014-01-13longparas: convert ValidateKashidas to sal_Int32Caolán McNamara
we can use -1 as the failure return code as return value is always checked and isolated from the rest of the code. Change-Id: I87a743de82d681a7e4eabc61a576c4e50f1279a8
2014-01-11longparas: lift 16bit max edit lengthCaolán McNamara
Change-Id: Ide74f0a48f06cbe9539f16ef6c6d04bba043dcf9
2014-01-10Resolves: fdo#35779 set the bg color of the editeng from the text shapeCaolán McNamara
Change-Id: I75feaea2dbd6c703cb3093c119a69985ecd89419
2014-01-10fdo#72005: Insert the border rectangle to the bottom of the stack.Kohei Yoshida
This will make the border and fill shape to be drawn first, then everything else drawn on top. This commit may look large, but it's actually a very trivial change. The important part is in SvxShapeGroup where new methods have been added to allow different insertion positions for the new shapes being inserted, and have the chart2 code make use of it to insert the fill rectangle to the bottom rather than to the top. Change-Id: I999160daf6fc9ce3d7e641f57b1998543df1cc4e
2014-01-10SfxPoolItem::operator ==, != should return boolStephan Bergmann
...and SfxEnumItemInterface::HasBoolValue, too. Change-Id: Ia032e3d35a4c3b4c1efdc515ca36e466be03fc0a
2014-01-10re-write SvStream operator<< to non-overloaded methodsNoel Grandin
This is the actual re-write. Use a clang rewriter to rewrite SvStream::operator<< to methods like WriteuInt32. Note that the rewriter is not perfect, and I hand-tweaked the output. In particular, I had to adjust places doing things like (*this) << 1; Change-Id: I5923eda3f4ebaa8b452b6ef109e726e116235a2a Reviewed-on: https://gerrit.libreoffice.org/7342 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2014-01-09Resolves: #i124002# use own logical size for graphics...Armin Le Grand
do not adapt PrefSize of these in rendering stack (cherry picked from commit b57f921795c7249d82ca739884c0116574426194) Conflicts: drawinglayer/source/attribute/sdrfillgraphicattribute.cxx Change-Id: I3eff4438a42209ad4c259dfdbed4869ae046bfc6