summaryrefslogtreecommitdiff
path: root/sd
AgeCommit message (Collapse)Author
2013-07-15i#108348 API CHANGE: add IsUTC to css.util.DateTime etc.Michael Stahl
Add IsUTC member to: com.sun.star.util.DateTime com.sun.star.util.DateTimeRange com.sun.star.util.Time Add new stucts with explicit time zones: com.sun.star.util.DateTimeWithTimezone com.sun.star.util.DateWithTimezone com.sun.star.util.TimeWithTimezone Adapt the sax::Converter to read/write timezones, and fix the unit test. Everything else just uses default (no time zone), this commit is just to fix the API. STRUCT: /UCR/com/sun/star/util/DateTime nFields1 = 7 != nFields2 = 8 Registry2 contains 1 more fields STRUCT: /UCR/com/sun/star/util/DateTimeRange nFields1 = 14 != nFields2 = 15 Registry2 contains 1 more fields STRUCT: /UCR/com/sun/star/util/Time nFields1 = 4 != nFields2 = 5 Registry2 contains 1 more fields Conflicts: sc/source/filter/oox/unitconverter.cxx Change-Id: I01f7a6d082a6b090c8efe71d2de137474c495c18 Reviewed-on: https://gerrit.libreoffice.org/4833 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-07-13use static LanguageTag::convertTo...() for standalone conversionsEike Rathke
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-12fdo#64448: Don't get type name from incorrect filter.Kohei Yoshida
This causes wrong format type to get "detected" when testing for a completely different file format type. Change-Id: I230759e2be432beeae2db24c12369ccb4585f334
2013-07-12remove unused idsCaolán McNamara
Change-Id: I6c25699ec598ff6d3191870859eebc83eacc7709
2013-07-12Convert Draw paragraph dialog to widget .uiOlivier Hallot
An undocumented feature can be enabled by environment variable export SD_SHOW_NUMBERING_PAGE=1 so a paragraph numbering tab pages shows up. Change-Id: I21b0c8f6dffefd09fa783f29d3280c955513ddd6 Reviewed-on: https://gerrit.libreoffice.org/4852 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2013-07-10rhbz#965646: sd: unregister slide sorter listener to avoid crashesMichael Stahl
sd::slidesorter::controller::Listener::Notify(): when the ~SdDrawDocument sends a HINT_MODELCLEARED, unregister since the document doesn't exist any more. This should hopefully avoids accessing a SfxViewShell instance that has apparently already been deleted somewhere in one of the listeners. Change-Id: I0ba9a58d77741a52b652a6c55c2327db80859011
2013-07-10Mark as constTakeshi Abe
Change-Id: I7fe1441dc09301604bc7a96fa5d63cfa8ca72874
2013-07-09Remove duplicate code for reading thumbnailsKrisztian Pinter
Change-Id: I51de8d07a4dc51ba03d24a1a5805df051b6e09b4 Reviewed-on: https://gerrit.libreoffice.org/4779 Reviewed-by: Petr Mladek <pmladek@suse.cz> Tested-by: Petr Mladek <pmladek@suse.cz>
2013-07-09Remove warning by using the right printf commandsArnaud Versini
Change-Id: Id476a0eb1f5965098c8cc2e2847547b1d23387eb Reviewed-on: https://gerrit.libreoffice.org/4753 Reviewed-by: Petr Mladek <pmladek@suse.cz> Tested-by: Petr Mladek <pmladek@suse.cz>
2013-07-08add degrees and pixels as known spin field unitsCaolán McNamara
Change-Id: I5937843a5c5485f469ef1fb6b5844aa15c33a14d
2013-07-08Turn Radek's notes into README files.Radek Doulik
Change-Id: I904142622ac37b394ddedf62bb7d9c099fc9cab4
2013-07-08little tweak to get the two hidden frames shown in draw/impressCaolán McNamara
Change-Id: Icd4b81749a369828c45101b1b82f4e3a5e8ebb9a
2013-07-08modern .ui widgetlayout for optgridCsikós Tamás
Change-Id: Ia84541a8ba2e09ca89962e1ed477b90819cc3f48 Reviewed-on: https://gerrit.libreoffice.org/4755 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-07-08Robustify PropItem::Read.Mark Wielaard
Initialize nType and nItemSize variables in case stream is faulty. Change-Id: I59602f2b04e3816d8de7cc1a5e7e526c8e822477 Reviewed-on: https://gerrit.libreoffice.org/4762 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-07-07module svl: all String and some bool and related clean-upNorbert Thiebaud
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 Arnhold
Those items are unused. Change-Id: If4fce0f91309d2ca09cbb636d4a5d9f86f38eb9a
2013-07-01Resolves: fdo#66027 #i122116# Remove GalleryExplorer member functionsAriel Constenla-Haile
(cherry picked from commit e94681fb47e3c5bdba486cd8feca92705d44840d) Conflicts: sc/source/ui/app/typemap.cxx sc/source/ui/view/galwrap.cxx sc/source/ui/view/makefile.mk sc/source/ui/view/tabvwsh9.cxx sd/source/ui/view/drviews9.cxx svx/Package_inc.mk svx/inc/GalleryControl.hxx svx/inc/galbrws2.hxx svx/inc/svx/galbrws.hxx svx/inc/svx/gallery.hxx svx/source/gallery2/GalleryControl.cxx svx/source/gallery2/galbrws.cxx svx/source/gallery2/galbrws2.cxx svx/source/gallery2/galexpl.cxx sw/source/ui/shells/basesh.cxx Change-Id: I49c2b99ca551f058b852c0e5e28cc2fe8c205031
2013-07-01Resolves: #i120730# fix table with merged cell becoming group shape...Sun Ying
when exporting ppt file Reported by: Liu Ping Tan Patch by: Ying Sun Review by: Jian Yuan Li (cherry picked from commit 1619e67c0c225ca6cc14a1fbebd4a97fb1b26311) Conflicts: sd/source/filter/eppt/epptso.cxx Change-Id: I96ff7d3e2b3f822a5ba84e918f20b2dff81e5a70
2013-07-01BluetoothServer::addCommunicator not unused after allMichael Stahl
was erroneously removed in 6a59659541e45198b8cda162f87f6abcd68c6101 Change-Id: Ib95fccaaccb8baf269f7d393af00d9b95b25161a
2013-07-01Remove unused codePetr Vorel
Change-Id: Id789250d6aeae642ef5c712e33c5583628638218 Reviewed-on: https://gerrit.libreoffice.org/4604 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2013-06-30Clean String and sal_Bool in toolsNorbert Thiebaud
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 Arnhold
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 Arnhold
there are a lot more of them: git grep 'createFromAscii[^)]*"' Change-Id: Ibc2e9cae208d8b9c91667bb3b177c6bd6d3a9424
2013-06-28remove toolkit/unohlp.hxx hackThomas Arnhold
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-28fix crash when use increase font on table in impressFaisal M. Al-Otaibi
Change-Id: Id6c8cac4543d97657cb66b979f5dc4b5f903473a
2013-06-26coverity#1027646 Dereference after null checkNorbert Thiebaud
Change-Id: Id1028f87a6dded7d2c27fe8d793342574d06e3f9 Reviewed-on: https://gerrit.libreoffice.org/4528 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-06-26#119467# Form controls cannot be saved into .ppt file in AOO3.4Jianyuan Li
Reported by: Du Jing Patch by: Jianyuan Li Review by: sunying
2013-06-25fdo#65456 - Provide visual clues in slidesorter for custom animation.Ciorba Edmond
Change-Id: I08666492fea76395fd24b0ebd02647821f49573d
2013-06-25remove unwanted files added with ee51444ed1f7003dafc93c8181b5f8c1b0fd165bNoel Power
<sigh> added some files that were part of a patch that I was testing were not intended as part of commit Change-Id: I34ed7f55de28fa09739c0dd8d5084824de676477
2013-06-25Resolves: #i120677# prevent putting non singleton object...Jian Fang Zhang
FrameworkHelper into SdGlobalResourceContainer Found by: zhangjf Patch by: zhangjf (cherry picked from commit 939e2900d024c38866b5c6f020e547a5d720d291) Change-Id: Ic053c02b02add045e60bac5c7dd7d8e8c2752f0c
2013-06-24fdo#43460 sd,rsc,ucb,sdext: use isEmpty()Jelle van der Waa
Change-Id: I7a7a77c26b74078f7fc160fbaa1c8d4e912b844e Reviewed-on: https://gerrit.libreoffice.org/4442 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-06-24fix borders unit test ( test values have changed )Noel Power
Change-Id: I1205eddf83781bef655abe4a1293c691bc5f1c41
2013-06-24Resolves: #i120020# corrected paragraph merge...Armin Le Grand
corresponding undo and ownership of linked undo actions (cherry picked from commit e58fe7afee5163833479b76a474416a77d95f075) Conflicts: editeng/source/editeng/impedit2.cxx sc/source/ui/undo/undobase.cxx sc/source/ui/undo/undodraw.cxx svl/inc/svl/undo.hxx Change-Id: I6672990558a496dfc692554437897d013e258f40
2013-06-21Better description of the sd unit tests creation.Jan Holesovsky
Change-Id: I7d3ac7997f54f4cb3fc826601d89248ea42549f4
2013-06-21bnc#593612: font size: Unit test.Felix Zhang
Change-Id: I3cda692b93f0e08c3e666e03b04966abaca00057
2013-06-18Resolves: #i122120# Changed UI preview creators...Armin Le Grand
to no longer need SdrModel/SdrObject (cherry picked from commit 0c353433ad94786a937fa9da01d6e7382e3da942) corrected unwanted change (cherry picked from commit 8a10735b8ee3926a592d6919f4dbb823771bed9f) Conflicts: vcl/inc/vcl/outdev.hxx 7c096015d974382e6874a874370ee72a61f02e6a Change-Id: Ib2afe135566eba2e99cc8c4a653de3df0fa7f0cd
2013-06-18String to OUString (SfxStringItem and related)Matteo Casalin
Change-Id: I390413e9ff3efee720a6423fb8695b4c655d7efa Reviewed-on: https://gerrit.libreoffice.org/4280 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2013-06-17Resolves: #i121538# Removed old Fontwork dialogs preset box...Armin Le Grand
and all dependencies (cherry picked from commit bcfee75544246db6788715d98efd6d33c12f933d) Conflicts: sd/inc/pch/precompiled_sd.hxx sd/source/core/typemap.cxx sd/source/ui/view/drviews6.cxx svx/Package_inc.mk svx/inc/svx/dialogs.hrc svx/inc/svx/fontwork.hxx svx/inc/svx/svdstr.hrc svx/inc/svx/svxcommands.h svx/inc/svx/svxids.hrc svx/inc/svx/unoshprp.hxx svx/inc/svx/xdef.hxx svx/inc/svx/xenum.hxx svx/inc/svx/xtextit.hxx svx/source/dialog/fontwork.cxx svx/source/dialog/fontwork.hrc svx/source/dialog/fontwork.src svx/source/xoutdev/xattr.cxx sw/inc/pch/precompiled_sw.hxx Change-Id: I3718285d38444d3862ca382fe020a4e0a083a677
2013-06-17Resolves: #i121538# Disable FontWork dialog entries (slots)...Armin Le Grand
when CustomShapes are selected to avoid unwanted FontWork editing on these shapes (cherry picked from commit c73f0e910fcf3a940c24a639dba9b4ced2057399) Conflicts: sw/source/ui/shells/drawsh.cxx sw/source/ui/shells/drwtxtsh.cxx Change-Id: I6b702512c48e7b2376874b2e8184563d12d5c6e8
2013-06-16cppcheck: fix uninitMemberVar + remove macroJulien Nabet
Change-Id: Ifce036595a8a5e95406c8a1752dbb77cfe735a3e
2013-06-16Resolves: #i121532# enhanced visualisation of text edit&selectionArmin Le Grand
D&D overhauled (cherry picked from commit c6e63b6bbb6b4a63fe1302de57fc32cd28432378) Conflicts: drawinglayer/inc/drawinglayer/primitive2d/drawinglayer_primitivetypes2d.hxx drawinglayer/inc/drawinglayer/primitive2d/polypolygonprimitive2d.hxx drawinglayer/inc/drawinglayer/processor2d/linegeometryextractor2d.hxx drawinglayer/source/primitive2d/polypolygonprimitive2d.cxx svx/Package_inc.mk svx/inc/svx/sdr/overlay/overlayanimatedbitmapex.hxx svx/inc/svx/sdr/overlay/overlayobject.hxx svx/inc/svx/sdr/overlay/overlaypolypolygon.hxx svx/inc/svx/sdr/overlay/overlayrectangle.hxx svx/inc/svx/sdr/overlay/overlaytools.hxx svx/inc/svx/sdr/primitive2d/svx_primitivetypes2d.hxx svx/inc/svx/svdview.hxx svx/source/engine3d/view3d.cxx svx/source/sdr/overlay/overlayanimatedbitmapex.cxx svx/source/sdr/overlay/overlayhatchrect.cxx svx/source/sdr/overlay/overlaypolypolygon.cxx svx/source/sdr/overlay/overlaytools.cxx svx/source/svdraw/svdcrtv.cxx svx/source/svdraw/svdedxv.cxx svx/source/svdraw/svdhdl.cxx svx/source/svdraw/svdobj.cxx svx/source/svdraw/svdview.cxx sw/source/ui/dochdl/swdtflvr.cxx Unname unused arguments to prevent WaE issues. (cherry picked from commit 0735a61e631b8d4bb3d4e889bee436fb9e7c5734) Change-Id: I3b1cf4754063985dc1b4adac44b33e52e200607f e4288936cadd1f6e06bdf79611536d7114236b56
2013-06-15Resolves: #i122215# Avoid double paste, allow paste of WMF/EMF as bitmapArmin Le Grand
(cherry picked from commit 5ffd11cb81aa2206fd523dab461c5bdbd6a00bcc) Change-Id: Ib0d0ff7d12cf67bde2379b57bc4e695779eef727
2013-06-13cppcheck: fix several Prefer prefix ++/-- operatorsJulien Nabet
Change-Id: Ie8ce0ebb9ec979575657a89ebbfe4d01142b04e5
2013-06-13Unit test to avoid the regression...Jan Holesovsky
...that appeared thanks to the bnc#819614 fix. Thanks Fridrich for constructing the document! Change-Id: I780f65ca436caee83094a8591dd9e36b33d921e8
2013-06-13Revert "bnc#819614: Fix runaway lines."Jan Holesovsky
This reverts commit 5fe65c0c5e5a8d815d9d15ef192e7652726662e6. Unfortunately this causes a regression elsewhere. This also disables the unit test for this bug - will re-enable when I find a fix that both fixes this, and does not regress other stuff :-) Change-Id: Iad334e3c59c928edb78f25c0f36a33a26a7e6125
2013-06-13Resolves: #i121504# Support for alpha channel in clipboard for all systemsArmin Le Grand
(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-12Resolves: #i120393# Corrected paste position of objects...Armin Le Grand
with geometry outside their logic definition (cherry picked from commit 658c1d82654af635bfbd6790fab2da8664d163eb) Conflicts: sd/source/ui/view/sdview3.cxx Change-Id: I4451956ab71d50e2ffec63ca17e0051d85823669
2013-06-12Related: #i119536# removed code no longer needed after fix of that taskArmin Le Grand
(cherry picked from commit bcc6f1762eda8ac5290eb10b4ad47a249c9b5f51) Conflicts: sd/source/filter/eppt/epptso.cxx Change-Id: I42bce7ff99264d3bd1e3e5dbdf8eda87a05361a7
2013-06-12Resolves: #i121237# Rework/Cleanup of Region code...Armin Le Grand
due to missing complete support for B2DPolygon class (cherry picked from commit cab10eeb7878edf224a004fd7640bd4adf8d3c51) Conflicts: cppcanvas/source/mtfrenderer/implrenderer.cxx svx/source/sdr/overlay/overlaymanagerbuffered.cxx svx/source/svdraw/svdpntv.cxx vcl/aqua/source/gdi/salgdi.cxx vcl/inc/region.h vcl/inc/unx/gtk/gtkgdi.hxx vcl/inc/vcl/regband.hxx vcl/inc/vcl/region.hxx vcl/os2/source/gdi/salgdi.cxx vcl/source/gdi/bmpacc3.cxx vcl/source/gdi/outdev2.cxx vcl/source/gdi/outmap.cxx vcl/source/gdi/regband.cxx vcl/source/gdi/region.cxx vcl/source/window/window.cxx vcl/unx/generic/gdi/pspgraphics.cxx vcl/unx/headless/svpgdi.cxx vcl/unx/headless/svppspgraphics.cxx vcl/win/source/gdi/salgdi.cxx Change-Id: Iee9a66ff431c3cecb7603e445147b67715de0f7d Remove unused variable to prevent compiler warning (cherry picked from commit 0ac65ccf079e3e22ac23cbe7ae546504c863c31f) Change-Id: Icbcaa9d576a7e560d96debc7360bdbe9090b3fd3 Wrong comparison with bool corrected (cherry picked from commit 612cefdcf6176b6bb847ce899d89af40ef313a90) Change-Id: I1cf5de6734b588f78d8e870ba7b7860634b461ce
2013-06-12Replace String with OUString (sd)Chr. Rossmanith
Change-Id: I6916e81828ef7225f9f70217cbeac83b3a70b9b3 Reviewed-on: https://gerrit.libreoffice.org/4221 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>