summaryrefslogtreecommitdiff
path: root/sd/source
AgeCommit message (Collapse)AuthorFilesLines
2013-11-18Related: rhbz#1014990 valgrind reports yet another unint variableCaolán McNamara1-10/+18
Change-Id: Idf6a0a1e12fffee6c090add41247723f1d9cf576
2013-11-18Related: rhbz#1014990 valgrind reports yet another uninitialized variableCaolán McNamara2-12/+33
Change-Id: Idf15ee825a34aa7788c422475aa6cea8ff802581
2013-11-18Related: rhbz#1014990 valgrind reports uninitialized variableCaolán McNamara1-0/+1
Change-Id: Ibaa2ed0ee2f1f3f00bceec91ccced968e4913e47
2013-11-18sad little semi-colon dangling in spaceCaolán McNamara1-1/+1
Change-Id: I297fb09996c694b920b4ae56e6da2f7a009c9386
2013-11-16cppcheck: reduce scopeJulien Nabet1-2/+1
Change-Id: Ifa54cc132f0c6591c57639f85e789b08a60b7f4b
2013-11-15convert 500th dialog (vectorize) to .uiCaolán McNamara4-334/+69
Change-Id: Ib1a8716091a16eb970c9f218f4a8e496de72ff51
2013-11-15convert bullets and numbering dialog to .uiCaolán McNamara4-122/+30
Change-Id: I303684cd0d4e2f3092cc776cd0b77725d6741bc6
2013-11-15convert impress remote dialog to .uiCaolán McNamara8-141/+71
Change-Id: I4ed22a776720bd6de64d08767a03a746276acba4
2013-11-15rework to get panel and dialog working at the same timeCaolán McNamara4-210/+73
Change-Id: I0a2adcd606842c6b39665ecc641d2fd92c4eb7e7
2013-11-15convert impress table design panel to .uiCaolán McNamara4-246/+141
Change-Id: I4ed28ad5ba94c055fbab51148d9258624dcfdb14
2013-11-15convert draw table design dialog to .uiCaolán McNamara4-71/+10
Change-Id: Ieb9e7f9d2b8ff89aa83e44f4f1d3f634adf71b25
2013-11-14SAL_WARN_UNUSED com::sun::star::uno::AnyStephan Bergmann2-3/+0
Change-Id: I9058044d13f696e07667dce706f6c311af6dbea0
2013-11-14convert cross-fade dialog to .uiCaolán McNamara4-156/+20
Change-Id: I51f90299f0a2f9573dd8cfd1e6b875e7c76af125
2013-11-14downgrade sdremote.bluetooth warning to infoCaolán McNamara1-1/+1
Change-Id: Iec39551dafead84f4f0ad246e7e1d1ad16e15b4a
2013-11-14convert insert slides dialog to .uiCaolán McNamara6-143/+70
Change-Id: I9dc8366d2e8bd2ab16ce11c9e69cbdbdca0ccae5
2013-11-14rhbz#887420 Implement "block untrusted referer links" featureStephan Bergmann3-7/+16
For now, this checks for a trusted referer (if the BlockUntrustedRefererLinks configuration prop is set) in utl::MediaDescriptor::impl_openStreamWithURL and SvxBrushItem::GetGraphicObject. Checking in additional places will probably be necessary to block /all/ unwanted communication. Also, some places marked /*TODO?*/ currently pass in an empty referer (which is always considered trusted) and will probably need to be adapted. Ideally, Referer URIs would never be empty (and consistently use something like <private:user> for cases where access is explicitly initiated by the user and should never be blocked), but that's a very daunting task, so start small by identifying the places that potentially need blocking and adding appropriate Referer URIs there. Also, Referer information should always be computed as freshly as possible from the context in which an access attempt is made, but, again, always carrying the information from the context all the way to the relevant functions is a very daunting task, so for now store the information upon object instantiation in some cases (SvxBrushItem, SdrGrafObj, ...). The Referer URI (css.document.MediaDescriptor property; SID_REFERER) was already used to track macro execution, and there is one place in SfxApplication::OpenDocExec_Impl where opening of hyperlinks (explicitly clicked by the user) is done that needs the current document's URI as Referer to check execution of macro URIs but needs an empty (or <private:user>, see above) Referer to not block non-macro URIs. Special code has been added there to handle that. Change-Id: Iafbdc07a9fe925d9ee580d4f5778448f18f2ebd9
2013-11-14Move MediaDescriptor from comphelper to unotoolsStephan Bergmann2-4/+3
...so it will be able to use SvtSecurityOptions internally. Change-Id: Id7433247e8fc53651935578510bedbcca5aa2ac9
2013-11-14-Werror,-Wshift-sign-overflowStephan Bergmann1-1/+1
Change-Id: Ie6843c4d455dd82a8c1ebd8778165b04e7b94d71
2013-11-14-Werror,-Wshift-sign-overflowStephan Bergmann1-3/+3
Change-Id: I4940e801aeebc5e8457e17ca8cdb50d5301a5218
2013-11-14-Werror,-Wunused-member-functionStephan Bergmann1-17/+0
Change-Id: I7db34329a93c33c425f1e63fa842b218e4c9517c
2013-11-14-Werror,-Wunused-member-functionStephan Bergmann1-2/+0
Change-Id: I0e7bde090d68f840b4dee0fa27a7dfaf05a21e8a
2013-11-14-Werror,-Wunused-member-functionStephan Bergmann1-10/+0
Change-Id: I24a86c070d14e151d7fd893e17ccf10cd1b4e6e1
2013-11-14-Werror,-Wunused-member-functionStephan Bergmann1-4/+0
Change-Id: Id6e605546453a45124acf23cda90fe8a9031f580
2013-11-14-Werror,-Wunused-member-functionStephan Bergmann1-5/+0
Change-Id: Id1a974507f73193aa788523cebc75abd9fc684c5
2013-11-14-Werror,-Wunused-member-functionStephan Bergmann2-33/+23
Change-Id: I65ce35a10ea2ac406b9f42a47bd9f5619e136d96
2013-11-14remove unnecessary sal_Unicode casts in various placesNoel Grandin7-24/+24
Change-Id: Ibf04062ca86ed866202d748c3b62a210d30ed6ec
2013-11-13convert name html design to .uiCaolán McNamara3-59/+11
Change-Id: If384ab765e09a6600d3e9cb559ed58dccb6b18c1
2013-11-13convert break dialog to .uiCaolán McNamara5-133/+21
Change-Id: Ic0cee9c164eb077f76403a154461f1d1f3b52921
2013-11-12fdo#71428: Spelling of "turquise" in Impress Table DesignJulien Nabet1-4/+4
Thanks to Owen Genat for pointing the bug + location of the problem Change-Id: I5f385f6cb5e9241f4fa65159df1f8bbefd2f383b Reviewed-on: https://gerrit.libreoffice.org/6624 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-11-11convert OUString compareToAscii == 0 to equalsAsciiNoel Grandin5-7/+7
Convert code like aStr.compareToAscii("XXX") == 0 to aStr.equalsAscii("XXX") which is both easier to read and faster. Change-Id: I448abf58f2fa0e7715dba53f8e8825ca0587c83f
2013-11-08SlideSorter: insert new slide on double-click.Andrzej J.R. Hunt1-0/+21
Previously inserting a new slide required using a context menu (via right-click) or the main menu-bar. It is now possible to insert a blank slide by double-clicking in an empty area of the slide sorter. Change-Id: Id7ac5f9d3befd02d0a89ad5e1631885c0493ad3d Reviewed-on: https://gerrit.libreoffice.org/6442 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-11-08remove unnecessary use of OUString constructor in SD moduleNoel Grandin7-13/+12
Change-Id: Id3591b232b43deeb70e3e2fffb5c6a8f561223dd
2013-11-07Name threads for debug purposeArnaud Versini2-2/+3
Change-Id: Id99ba394b898b7da0057d4a145ce8dce46122782 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-11-07Use rtl::ReferenceStephan Bergmann1-14/+12
Change-Id: I7e3922ba635acdb14ca489bda2535a69249cb001
2013-11-06Remove #ifdef TIMELOG'ed SAL_INFOsStephan Bergmann1-12/+0
...the code doesn't make much sense that way. Change-Id: I506e37b44924701255431f6d20d4610f7f52287d
2013-11-06convert insert slides dialog to .uiCaolán McNamara4-143/+12
Change-Id: I4285ccfb9609305b2e92fec6c3f79b5277016f8b
2013-11-06convert InfoBox to MessageDialogCaolán McNamara1-4/+3
Change-Id: Ic3a7b927c4eceb4f059e84d135b710f150ccfc3e
2013-11-05fix some further include guard fooThomas Arnhold1-5/+0
Change-Id: I949533327ec101a2baef6e6f66e79677a62c3d9f
2013-11-04fdo#70998 Use "Insert Image" in dialog as wellChr. Rossmanith1-1/+1
Change-Id: I598c7367806a88cd4e582333c1e2fc8b984333e5 Reviewed-on: https://gerrit.libreoffice.org/6561 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-11-04fdo 70998: Termchange: Graphics->ImageSamuel Mehrbrodt4-36/+36
Change-Id: If451dfb24567157c86bca9a4a8564eb8de231a38 Reviewed-on: https://gerrit.libreoffice.org/6524 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-11-04remove redundant calls to OUString constructor in if expressionNoel Grandin1-1/+1
Convert code like: if( aStr == OUString("xxxx") ) to this: if( aStr == "xxxx" ) Change-Id: I8d201f048477731eff590fb988259ef0935c080c
2013-11-04remove redundant calls to OUString constructorNoel Grandin1-1/+1
Change code like this: aStr = OUString("xxxx"); into this: aStr = "xxxx"; Change-Id: I31cb92e21658d57bb9e14b65c179536eae8096f6
2013-11-04Convert code that calls OUString::getStr()[] to use the [] operatorNoel Grandin3-4/+4
This also means that this code now gets bounds checked in debug builds. Change-Id: Id777f85eaee6a737bbcb84625e6e110abe0e0f27
2013-11-03cppcheck: reduce scope in AvahiNetworkServiceJulien Nabet1-4/+7
Change-Id: Ida14cc278187fdc7519137829a920273ed4910b3
2013-11-02fdo#39468 Translate German strings.Henning Diedler1-2/+2
Quality translation by certified German/English teacher. Change-Id: I4684630004ad2846b6a5ba76e18d30831d20bc26
2013-10-31Resolves: #i123433# Detect pseudo-vertices at svg import...Armin Le Grand1-2/+2
unify svg:d handling, correct svg:d import for relative sub-polygons in svg import; changed default for moveto writes for svg:d in ODF to absolute (cherry picked from commit f15874d8f976f3874bdbcb53429eeefa65c28841) Conflicts: basegfx/inc/basegfx/polygon/b2dpolygontools.hxx basegfx/inc/basegfx/polygon/b2dpolypolygontools.hxx basegfx/inc/basegfx/polygon/b3dpolypolygontools.hxx basegfx/source/polygon/b2dpolypolygontools.cxx basegfx/source/polygon/b2dsvgpolypolygon.cxx basegfx/source/polygon/b3dpolypolygontools.cxx basegfx/source/tools/makefile.mk basegfx/test/boxclipper.cxx basegfx/test/clipstate.cxx basegfx/test/genericclipper.cxx canvas/source/tools/surfaceproxy.cxx sdext/source/pdfimport/tree/drawtreevisiting.cxx sdext/source/pdfimport/tree/writertreevisiting.cxx xmloff/inc/xexptran.hxx xmloff/source/draw/XMLImageMapContext.cxx xmloff/source/draw/XMLImageMapExport.cxx xmloff/source/draw/shapeexport2.cxx xmloff/source/draw/shapeexport3.cxx xmloff/source/draw/xexptran.cxx xmloff/source/draw/ximp3dobject.cxx xmloff/source/draw/ximpshap.cxx xmloff/source/style/MarkerStyle.cxx xmloff/source/text/XMLTextFrameContext.cxx xmloff/source/text/txtparae.cxx Change-Id: I5171b4a3559ea116bea45152e1f2685666463635
2013-10-31Convert indexOf->startsWith and lastIndexOf->endsWithNoel Grandin2-2/+2
This is both an optimisation and a cleanup. This converts code like aStr.indexOf("XX") == 0 to aStr.startsWith("XX") and converts code like aStr.lastIndexOf("XXX") == aStr.getLength() - 3 to aStr.endsWith("XXX") Note that in general aStr.lastIndexOf("X") == aStr.getLength() - 1 converts to aStr.isEmpty() || aStr.endsWith("X") so I used the surrounding context to determine if aStr could be empty when modifying the code. Change-Id: I22cb8ca7c2a4d0288b001f72adb27fd63af87669
2013-10-29fdo#33848 Show zoom Slider when the focus is on the Slides SidebarSamuel Mehrbrodt1-4/+0
Inspired by this patch from Ariel Constenla-Haile:https://issues.apache.org/ooo/attachment.cgi?id=80653&action=diff Change-Id: I8e482d9829eeb81a1f7cc89a4de781ae768f3333 Reviewed-on: https://gerrit.libreoffice.org/6141 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-10-28remove local css namespace definitionsThomas Arnhold7-12/+0
As we have it globally in sal/types.h those are not necessary. Change-Id: I18bba2c763c4680c4fa7fde4c5158953b5cfad82
2013-10-28windows: warning 4706 is disabled globally in com_MSC_defs.mkThomas Arnhold1-5/+0
So there is no need to do this locally, too. Change-Id: Ibc623235cae07a86dfd0dbc1d7672ca4273facec