summaryrefslogtreecommitdiff
path: root/svtools
AgeCommit message (Collapse)AuthorFilesLines
2013-07-13use static LanguageTag::convertTo...() for standalone conversionsEike Rathke2-2/+2
If no LanguageTag instance is at hand use the static methods to convert between BCP 47 string, Locale and MS-LangID instead of creating temporary instances. Change-Id: I9597f768078eb81c840e84a5db5617f26bb7dc09
2013-07-12remove use of recently removed header fileLuboš Luňák1-1/+0
Change-Id: If4248c728f44bfda089fdba9f27a33868daf8663
2013-07-12XubString->OUStringCaolán McNamara2-10/+10
Change-Id: I07f4db038114174a65ed453096d566d699e8fce8
2013-07-12remove create of com.sun.star.awt.tree.DefaultTreeDataModel, it doesn't existNoel Power1-10/+0
Change-Id: I029286d9c25f0b7ee562e87cc7e205aa398e594b
2013-07-12fix fdo#66586 Revert "fdo#46808, create IDL fortree::DefaultTreeDataModel"Noel Power1-4/+6
This reverts commit fcd01fba69db6de6cfc983fae65b6ba6764de0d6. Service DefaultTreeDataModel actually doens't exist ( and we can't find when/where it used to :-( ) The treecontrolpeer.cxx change to use the new service also had the undesired effect of throwing an exception when the UnoTreeControl model is inserted ( previously this failed silently ) The net effect is the dialog control is malformed and not initialised correctly
2013-07-11XubString->OUStringCaolán McNamara4-19/+17
Change-Id: I1049249741f445ad7bd9c070f99812c4404597c9
2013-07-11fdo#63211 - embed images in HTML export.Ciorba Edmond1-4/+4
Change-Id: I585c85d2cee13ee8954623bd981cb372d78b7952
2013-07-09mem leaks in writer font options tabpageCaolán McNamara1-2/+1
Change-Id: I7378f1a230fc55a97bc06d154939502f6ddcc792
2013-07-08-Werror,-Wdeprecated-register (Clang trunk towards 3.4)Stephan Bergmann3-8/+8
Change-Id: I64e4933f7a0a8026ccc7ce98804bfc497d3f0eed
2013-07-08-Werror,-Wlogical-not-parentheses (Clang trunk towards 3.4)Stephan Bergmann1-1/+1
...happened to work as intended (according to Caolán), as USCRIPT_COMMON is 0. Change-Id: Ief2bf2844c7f47f3d5dcdc360a645d80edfd5e63
2013-07-07module svl: all String and some bool and related clean-upNorbert Thiebaud3-9/+6
Change-Id: I36eb559fa58dbe75384b7119c788af0048813aed Reviewed-on: https://gerrit.libreoffice.org/4733 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-07-05cleanup src filesThomas Arnhold1-23/+0
Those items are unused. Change-Id: If4fce0f91309d2ca09cbb636d4a5d9f86f38eb9a
2013-07-05added Ngäbere_Panama [gym-PA] to language list, fdo#66602Eike Rathke1-0/+1
Change-Id: I4592f868c4d17ece745db39b604aa0b75181ca27
2013-07-03fdo#61725 add SolarMutex until it worksLionel Elie Mamane1-0/+2
Change-Id: I757bbfbc4a548f17d797ac00197588bc6e2907f6
2013-07-03allow changing the fill color user for tab previewsCaolán McNamara1-4/+3
Change-Id: Ie20e900fe9e1f9bfdcd5784b380aa4574d52c001
2013-07-03arrange a way to describe non-dropdown MetricBoxesCaolán McNamara1-20/+5
i.e. use a VclComboBoxNumeric which now has an adjustment option and a dropdown option (defaulting to true). Rework existing glade widget placeholders to be children of that widget placeholder. Centralize the dropdown bit tweaking logic. Change-Id: Ib6dc4d19b367986e9d6a2fc2bead51e198892893
2013-07-02remove post .ui conversion unused ResId loadersCaolán McNamara1-12/+0
Change-Id: Ib6a5455256f4712fc62554cbcbe279e9702d0552
2013-07-01Add Cornish and Pite Sami to the list of spelling languagesHarri Pitkänen1-0/+2
Add Cornish (kw-UK) and Pite Sami (sje-SE) to the list of available spell checking languages to support spell checkers that are being currently developed: https://victorio.uit.no/langtech/trunk/langs/cor https://victorio.uit.no/langtech/trunk/langs/sje Change-Id: I2f95fe5339e7cc31d64fa13cf2f74268b159215e Reviewed-on: https://gerrit.libreoffice.org/4609 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-07-01Mark as constTakeshi Abe2-3/+3
Change-Id: Ic71f39aaebf07d3b0435882986be71cf2b0390c2
2013-06-30Clean String and sal_Bool in toolsNorbert Thiebaud1-6/+6
Change-Id: I6a92196f33d7a5278c7dcc426112e9c56d582655 Reviewed-on: https://gerrit.libreoffice.org/4627 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-06-29remove OUString wrap for string literalsThomas Arnhold9-17/+17
For some functions and all kinds of Exceptions. CannotConvertException CloseVetoException DisposedException EmptyUndoStackException ErrorCodeIOException Exception GridInvalidDataException GridInvalidModelException IOException IllegalAccessException IllegalArgumentException IllegalTypeException IndexOutOfBoundsException NoMasterException NoSuchElementException NoSupportException PropertyVetoException RuntimeException SAXException ScannerException StorageWrappedTargetException UnsupportedFlavorException VetoException WrappedTargetException ZipIOException throwGenericSQLException throwIllegallArgumentException createInstance createInstanceWithContext forName getByName getPackageManager getPropertyValue getUnpackedValueOrDefault getValueByName hasPropertyByName openKey setName setPropertyValue supportsService bash command: for i in `cat list`; do git grep "$i\s*(\s*OUString(\s*\"" -- '*.[hc]xx' | cut -d ':' -f1 | sort -u | xargs sed -i -e "s/\(\<$i\s*(\)\s*OUString(\s*\(\"[^\")\\]*\"\)\s*)\s*/\1\2/g" -e "s/\($i.*\)\"+ /\1\" + /g"; done Change-Id: Iaf8e641b0abf28c082906014f87a183517630535 Reviewed-on: https://gerrit.libreoffice.org/4624 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-06-29remove some createFromAscii usageThomas Arnhold3-9/+6
there are a lot more of them: git grep 'createFromAscii[^)]*"' Change-Id: Ibc2e9cae208d8b9c91667bb3b177c6bd6d3a9424
2013-06-28remove toolkit/unohlp.hxx hackThomas Arnhold3-3/+2
Change-Id: Idb9971d848870f4d00dbf77e80e48bf7dfde8913 Reviewed-on: https://gerrit.libreoffice.org/4601 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-06-27Resolves: #i122586# recalcuate width when scrolling to last columnJürgen Schmidt1-0/+7
(cherry picked from commit febd0946e8c2686f0a679d3f32fbb39f5ef1c295) Change-Id: Ia1aba1eddf9035504677d10a7414f9a498b952e1
2013-06-24Add missing copy&paste of SfxAppToolBoxControl_Impl::SelectAriel Constenla-Haile1-13/+6
(cherry picked from commit 47204c74d9e52f54f6983af19b66af2a96b42e61) Conflicts: framework/inc/uielement/popuptoolbarcontroller.hxx svtools/inc/svtools/toolboxcontroller.hxx Change-Id: I304d17c662450f29eeffb17f576b418986f3fb0a
2013-06-24blasted pch includesCaolán McNamara1-1/+0
Change-Id: I2a518445dfd06086cbd1acaece45a3ed9de0ce7b
2013-06-23Resolves: #i121542# Unify the Menu APIAriel Constenla-Haile1-16/+7
(cherry picked from commit 399946b82f5efec19cd82d1c320d5aa9295d235d) Conflicts: chart2/source/controller/main/ChartController_Window.cxx framework/source/uielement/langselectionmenucontroller.cxx framework/source/uielement/popupmenucontroller.cxx framework/source/uielement/recentfilesmenucontroller.cxx framework/source/uielement/toolbarsmenucontroller.cxx odk/examples/DevelopersGuide/GUI/UnoMenu.java odk/examples/DevelopersGuide/GUI/UnoMenu2.java odk/examples/cpp/StatusbarController/SelectionModeStatusbarController/SelectionModeStatusbarController.cxx offapi/com/sun/star/awt/MenuBar.idl offapi/com/sun/star/awt/MenuEvent.idl offapi/com/sun/star/awt/MenuItemStyle.idl offapi/com/sun/star/awt/MenuItemType.idl offapi/com/sun/star/awt/MenuLogo.idl offapi/com/sun/star/awt/PopupMenu.idl offapi/com/sun/star/awt/PopupMenuDirection.idl offapi/com/sun/star/awt/XMenu.idl offapi/com/sun/star/awt/XMenuBar.idl offapi/com/sun/star/awt/XMenuBarExtended.idl offapi/com/sun/star/awt/XMenuExtended.idl offapi/com/sun/star/awt/XMenuExtended2.idl offapi/com/sun/star/awt/XMenuListener.idl offapi/com/sun/star/awt/XPopupMenu.idl offapi/com/sun/star/awt/XPopupMenuExtended.idl offapi/com/sun/star/awt/makefile.mk offapi/type_reference/types.rdb svtools/inc/svtools/popupmenucontrollerbase.hxx svtools/source/uno/popupmenucontrollerbase.cxx svx/source/tbxctrls/extrusioncontrols.cxx toolkit/inc/pch/precompiled_toolkit.hxx toolkit/inc/toolkit/awt/vclxmenu.hxx toolkit/inc/toolkit/helper/listenermultiplexer.hxx toolkit/source/awt/vclxmenu.cxx Change-Id: I3d9a1e109b9ff35901a3075b44a4c27e7c12b5c7 Related: #i121542# css::awt::XPopupMenu::execute() needs a Rectangle (cherry picked from commit c01a6f4f370b72f0751cf4f5c11310682e2b3248) Conflicts: odk/examples/DevelopersGuide/GUI/UnoMenu2.java offapi/type_reference/types.rdb toolkit/inc/toolkit/awt/vclxmenu.hxx Change-Id: I2cccc95086fe3d1522d03346e3c577fb2f21f621
2013-06-21coverity#707543 : Unitialized scalar variableNorbert Thiebaud1-0/+5
Change-Id: I601b8cd42932fcba9b98a5736faa9d38525b093a Reviewed-on: https://gerrit.libreoffice.org/4406 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-06-19Resolves: #i122418# Added workaround to not use GetBitmap on windowsArmin Le Grand2-16/+12
(cherry picked from commit 136976efb17b8617a83c7f26601cd04031b51e7f) Conflicts: vcl/inc/vcl/bitmap.hxx vcl/inc/vcl/bitmapex.hxx vcl/source/gdi/bitmap4.cxx vcl/source/gdi/bitmapex.cxx Change-Id: I9c3aeae76c155c9050404f67adeb91106502c3f1
2013-06-18fdo#43460 include,registry,svtools,svx,unodevtools: use isEmpty()Jelle van der Waa2-8/+8
Change-Id: I6e35b91092239275694eec3666b076f7ff7e54f6 Reviewed-on: https://gerrit.libreoffice.org/4335 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2013-06-18Related: #i122120# corrected flag for drawing checkerboards...Armin Le Grand1-0/+57
adapted previews, added to configuration (cherry picked from commit c17e634e125f524d153e1ad8febff6d11b810ee4) Conflicts: officecfg/registry/schema/org/openoffice/Office/Common.xcs svtools/inc/svtools/accessibilityoptions.hxx svtools/source/inc/configitems/accessibilityoptions_const.hxx vcl/inc/vcl/settings.hxx Change-Id: I3f4fd9525e31cd816599b963ecd2fa42b1f666d7
2013-06-17cppcheck: fix some uninitMemberVar in svtools partJulien Nabet2-1/+3
Change-Id: Icee2501b2a33afddaa3d08186bb806acf785bf4c
2013-06-17Resolves: #i122388# Corrected old fix to mentioned boundsArmin Le Grand1-1/+7
(cherry picked from commit 65dd87d8f010a9c9d1b277f9b1839378b549d06f) Change-Id: I01318b3f96b23196f54335782ef9c946bf2b1ef9
2013-06-17Resolves: #i74211# Correct crop of bitmap data when...Armin Le Grand1-20/+87
logical size and MapMode do not match real pixel size (cherry picked from commit a24965371f7e881671182bc51432c08cbf667b56) Conflicts: svtools/inc/svtools/grfmgr.hxx svtools/source/graphic/grfmgr.cxx svx/inc/svx/svdhdl.hxx svx/inc/svx/svdograf.hxx svx/source/svdraw/svdhdl.cxx Change-Id: Icfb9091b55e50081e8daf697c9f00f5b5a10531a
2013-06-16Add UI for fine dashed border typeMiklos Vajna1-0/+5
Commit 7d632ff29e601c2e680c4a689997fbf552592a4b added document model / layout support for this, but UI was lacking. First, add a new item to the list box in SvxBorderTabPage::FillLineListBox_Impl(). Second, handle MAP_TWIP unit in svtools::GetDashing() for STYLE_FINE_DASHED. Pick up some values that give visually the fine dashed result when painted. (The original values from 2f0d406911f9790a434e46bc82ea36bb8ae714e7 in other cases seem to be a bit consistent already anyway.) Change-Id: Ibf1ed235d51515b065d23a6a5d5eef433162899f
2013-06-14Resolves: fdo#65569 dropdown list missing from built-in fpickerCaolán McNamara1-1/+3
regression since a8c2cb0e6d0b9b301887be176694592f8ecda0c4 the different ctors have different defaults around whether they show the dropdown or not. Change-Id: I3d1bb423c8a25b81ffb26981b63af7498f99e70a
2013-06-13Resolves: #i121532# unified getting the blended selection colorArmin Le Grand1-0/+21
(cherry picked from commit dd4bed5d1151db2a45dbbfe9eff61875f8f4835d) Conflicts: svtools/inc/svtools/optionsdrawinglayer.hxx svtools/source/config/optionsdrawinglayer.cxx sw/source/core/crsr/viscrs.cxx Change-Id: I21167b58a9b81f5fa15c7def5fb4b6023f91f32b
2013-06-13Resolves: #i121504# Support for alpha channel in clipboard for all systemsArmin Le Grand3-40/+140
(cherry picked from commit ef3931ff410117e1237b3bef7bc090e8b83b9519) Conflicts: automation/source/server/statemnt.cxx basic/source/runtime/methods.cxx canvas/source/vcl/devicehelper.cxx canvas/source/vcl/spritedevicehelper.cxx drawinglayer/source/processor2d/vclhelperbufferdevice.cxx drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx drawinglayer/source/tools/converters.cxx dtrans/source/win32/dtobj/FmtFilter.cxx editeng/source/items/bulitem.cxx extensions/source/scanner/sanedlg.cxx external/gcc3_specific/makefile.mk filter/source/graphicfilter/eos2met/eos2met.cxx filter/source/graphicfilter/ios2met/ios2met.cxx filter/source/msfilter/msdffimp.cxx fpicker/source/office/iodlg.cxx framework/source/fwe/classes/addonsoptions.cxx framework/source/fwe/helper/actiontriggerhelper.cxx sc/source/filter/excel/xiescher.cxx sc/source/ui/docshell/docsh.cxx sc/source/ui/inc/viewfunc.hxx sd/source/ui/app/sdxfer.cxx sd/source/ui/unoidl/unopage.cxx sd/source/ui/view/sdview3.cxx sfx2/source/appl/fileobj.cxx sfx2/source/appl/linkmgr2.cxx sfx2/source/dialog/filedlghelper.cxx sfx2/source/dialog/intro.cxx sfx2/source/doc/docinf.cxx sot/inc/sot/formats.hxx sot/source/base/formats.cxx svtools/bmpmaker/bmpcore.cxx svtools/bmpmaker/bmpsum.cxx svtools/inc/svtools/transfer.hxx svtools/source/filter/filter.cxx svtools/source/filter/wmf/emfwr.cxx svtools/source/filter/wmf/enhwmf.cxx svtools/source/filter/wmf/winwmf.cxx svtools/source/filter/wmf/wmfwr.cxx svtools/source/graphic/graphic.cxx svtools/source/graphic/provider.cxx svtools/source/misc/transfer.cxx svx/inc/svx/xoutbmp.hxx svx/source/sdr/overlay/overlaymanagerbuffered.cxx svx/source/xoutdev/_xoutbmp.cxx sw/source/core/view/viewsh.cxx sw/source/filter/ww1/w1filter.cxx sw/source/filter/ww8/ww8par.hxx sw/source/ui/dochdl/swdtflvr.cxx toolkit/source/awt/vclxbitmap.cxx toolkit/source/helper/vclunohelper.cxx vcl/Library_vcl.mk vcl/Package_inc.mk vcl/aqua/source/dtrans/DataFlavorMapping.cxx vcl/aqua/source/dtrans/OSXTransferable.cxx vcl/aqua/source/dtrans/PictToBmpFlt.cxx vcl/aqua/source/dtrans/PictToBmpFlt.hxx vcl/inc/vcl/alpha.hxx vcl/inc/vcl/bitmap.hxx vcl/inc/vcl/bitmapex.hxx vcl/inc/vcl/pngwrite.hxx vcl/inc/vcl/salbtype.hxx vcl/inc/vcl/wall.hxx vcl/source/gdi/animate.cxx vcl/source/gdi/bitmap2.cxx vcl/source/gdi/bitmapex.cxx vcl/source/gdi/bmpconv.cxx vcl/source/gdi/cvtsvm.cxx vcl/source/gdi/impgraph.cxx vcl/source/gdi/impimagetree.cxx vcl/source/gdi/metaact.cxx vcl/source/gdi/wall.cxx Change-Id: I79938bc412c048c3d4e64f430f216e73bec16167
2013-06-12added Tibetan_India [bo-IN] to language list, fdo#40713Eike Rathke1-0/+1
Change-Id: Ied426ee153ccd1a71e3cd0fbb4b417ac8b9b82e4
2013-06-10mingw64: use integers able to contain a size in svtoolsFridrich Štrba3-8/+8
Change-Id: Id5505f75a2331be682b74d085a7959fc4bf07df8
2013-06-07XubString->OUStringCaolán McNamara1-1/+1
Change-Id: I9404ef0d53a74e09a0db9781d004fcd0c573dd78
2013-06-07fdo#63866 Hid useless checkboxesJason Hulme2-2/+20
Added functions to SvTreeListBox and SvLBoxButton to allow entries with hidden checkboxes Change-Id: Ia5a1deabea6c01aad5e4010612ac453c669258a6 Reviewed-on: https://gerrit.libreoffice.org/4169 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-06-06remove unused BMP_OLEOBJ image and define.Michael Meeks1-4/+0
Change-Id: I809cca8dab246c7b528309fd74fb73a9d0bd418f
2013-06-06Some more modules at least building with mingw64Fridrich Štrba1-3/+3
Change-Id: I3ea039655aecb7885bb310b1f2c29d66f9f7bb4f
2013-06-07sal_Bool to boolTakeshi Abe1-1/+1
Change-Id: I58efb9d026203c77d3806552bd4280a4d16d5111
2013-06-06Remove remnants of help agentCaolán McNamara3-353/+5
it was removed with 66714f1888eaccef4eb5341971278ae7dfafa16b but gobs of code (and UI) still existed to collect the help id and give it to the missing help agent with various UI visible options and buttons to control the help agent which isn't there Change-Id: I625da27b3046d481e43f4d35d32cc7063a1c6291
2013-06-06Slowly, but surely going on compiling for mingw64Fridrich Štrba2-3/+3
Change-Id: I590aa6a854a040281bf73d5be768c05d4906a984
2013-06-05fdo#56412 Movement of embedded objects is opposite to the change directionabdulmajeed ahmed1-9/+53
not a perfect solution but best we can get without large rework. Change-Id: I4a8c6eb611dd88cb29999b10b80a914c66a11c1c
2013-06-05use uno::Reference#clear() method...Noel Grandin1-2/+2
...instead of assigning an empty value. Reduces code noise. Change-Id: Ic95b081a41fb740a738c92b3407a9514ccb8b06e
2013-06-05fdo#46808, Convert some XMultiservice in framework moduleNoel Grandin1-6/+4
Change-Id: Id4dd0bafd40cf96271527c9c970c4ab31527644c