summaryrefslogtreecommitdiff
path: root/sdext
AgeCommit message (Collapse)AuthorFilesLines
2014-01-10Use proper bool operationsStephan Bergmann1-1/+1
Change-Id: If9d439faba5a02b50152dfa1090b9eb1afa0fc18
2013-12-20typo fixesAndras Timar1-1/+1
Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
2013-12-18fdo#72598 Remove SunStudio cruft from code baseJelle van der Waa1-4/+0
Change-Id: I8dfbbb36cca3cf71c8d347b248dd206c447db6d2 Reviewed-on: https://gerrit.libreoffice.org/7136 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-12-17No need for implbase1.hxx to include XComponentContext.hppStephan Bergmann2-0/+6
...which it did unlike all the other implbaseN.hxx. Required lots of downstream clean-up, of course. Change-Id: Ib720e7a0a43410dcd7e6338b84a3973dfbb20866
2013-12-17fdo#72598 Remove SunStudio cruft from code baseJelle van der Waa2-15/+5
Change-Id: I6f75d0df0ddafc892fef0ce1bfdcdd6c70151afc Reviewed-on: https://gerrit.libreoffice.org/7104 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2013-12-17Adapt all (non-extension, SharedLibrary) .components to environment="..."Stephan Bergmann3-8/+6
Change-Id: I56f38bd786f3a026cb2908f28540dc9c4003af83
2013-12-17Unnecessary use of OUString constructor inside OUStringBuffer constructorNoel Grandin1-1/+1
Convert code like: OUStringBuffer sVal(OUString("0x")); to: OUStringBuffer sVal("0x"); Change-Id: Idc5a3f6a8bf1dc33f93c2b488f866c8ea58d582a
2013-12-17Remove unnecessary use of OUString constructor in OUStringBuffer::append callsNoel Grandin3-4/+4
Convert code like aStrBuffer.append(OUString(" AS ")); to aStrBuffer.append(" AS "); Change-Id: I8c1884b5a875f40f0b5e511b6ef38c6c8eeee656
2013-12-17Remove unnecessary use of OUString constructor in + expressionsNoel Grandin1-4/+4
Convert code like aFilename = OUString::number(nFilePostfixCount) + OUString(".bmp"); to aFilename = OUString::number(nFilePostfixCount) + ".bmp"; Change-Id: I03f513ad1c8ec8846b2afbdc67ab12525ed07e50
2013-12-05sdext: clean up some pointless #ifdefsMichael Stahl1-9/+5
Change-Id: Ic23c0ccc45d7a98b3581feab43fc4c8c8aef9013
2013-12-02Drop duplicate #includeTakeshi Abe1-1/+0
Change-Id: Ife8ebbb5e46704c5d2ff46cc345b4ed926e7dc12
2013-11-29Further XCanvas != XBitmapCanvas cleanup.Thorsten Behrens1-2/+2
It seems I missed a few places in 21ec9beae29b19b8ec6f0a16fd0e708e4f210208, getting that straight now hopefully. Change-Id: I34fc8df2d1ee65bef0639b3de9487ff311bed89a
2013-11-29Fix fdo#71527 no unguarded ptr dereference here.Thorsten Behrens1-1/+2
This is the real problem - mxPane can be validly NULL. Change-Id: Ie8d055db9bfb68cb9031fa970518343f5aec6619
2013-11-29Revert "Resolves: fdo#71527 don't crash in presenter console"Thorsten Behrens1-2/+1
This reverts commit bae01385c895a100b5371879889e606927cff877. Change-Id: Id149bae0904fd6c2120209d69490d0b257ac3f64
2013-11-21remove unnecessary RTL_CONSTASCII_STRINGPARAM in OUString::equalsLNoel Grandin1-4/+4
Convert code like this: if (aStr.equalsL(RTL_CONSTASCII_STRINGPARAM("rem"))) to: if (aStr == "rem") which compiles down to the same code. Change-Id: I2dfa0f0a457c465948ecf720daaa45ff29d69de9
2013-11-20Revert "remove RTL_CONSTASCII_STRINGPARAM in OString::equalsL calls"Noel Grandin1-4/+4
This reverts commit acebbee971136e6ee0a7bc75bd57d937d6e1c295. I mistakenly converted OUString::equalsL calls to OUString::startsWith calls.
2013-11-20remove RTL_CONSTASCII_STRINGPARAM in OString::equalsL callsNoel Grandin1-4/+4
Convert code like: if (aByteStr.equalsL(RTL_CONSTASCII_STRINGPARAM("rem"))) to: if (aByteStr.startsWith("rem")) Change-Id: I09e40b3fdc87d59a8176c2a5f39cc6aa5cf5a576
2013-11-20cppcheck: Variable is reassigned a value before the old one has been usedCaolán McNamara1-1/+0
Change-Id: Ifc16473c426bca2235e84b0d71291756074712bb
2013-11-20Resolves: fdo#71527 don't crash in presenter consoleCaolán McNamara1-1/+2
but we're now dropping slides in there for some reason so this is just a don't crash band-aid and not the fix for the deeper problem Change-Id: I2f70471d03979ffb86b6289e7a432f4505c1b556
2013-11-20convert equalsAsciiL calls to startsWith callsNoel Grandin1-4/+4
Convert code like: aStr.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "ActiveConnection" ) ) to aStr.startsWith( "ActiveConnection" ) which compiles down to the same machine code. Change-Id: Id4b0c5e0f9afe716a468d3afc70374699848dc33
2013-11-19remove unnecessary use of OUString constructor when assigningNoel Grandin4-7/+7
change code like aStr = OUString("xxxx"); to aStr = "xxxx"; Change-Id: Ib981a5cc735677ec5dba76ef9279a107d22e99d4
2013-11-14GCC diagnostic push / pop requires HAVE_GCC_PRAGMA_DIAGNOSTIC_SCOPEMichael Stahl1-2/+2
Change-Id: I0765649b94b370caf92a29a8ff2224e335196612
2013-11-14-Werror,-Wunused-member-functionStephan Bergmann1-22/+0
SimpleView had been unused since its inception in b561e658ebed8cfcfd18dc90bd25de9134341fb3 "INTEGRATION: CWS presenterview." Change-Id: Ieb3af55c4cfebd24fe229c847f38ca108ae3401e
2013-11-14-Werror,-Wunused-member-functionStephan Bergmann1-2/+0
Change-Id: Ie8f3502c735cf38e21f2f55f27d384dbe3d8d5ef
2013-11-14-Werror,-Wunused-member-functionStephan Bergmann1-20/+0
Change-Id: I745ceb72423b120ef42437778e3a5fe05bd7b42b
2013-11-14-Werror,-Wunused-member-functionStephan Bergmann1-2/+0
Change-Id: I17160893b759f4dee1871e8f6d6525d327cf8cd6
2013-11-14-Werror,-Wunused-member-functionStephan Bergmann1-130/+0
...the whole ChooserDialogHandler class is unused since before bdc71b3e4112b5c83a6aec61403981fcdd156138 "remove non-compiled code" removed its sole, #if'ed out use. Change-Id: If94db1c98074132952dd204864a478e1e12d455d
2013-11-14-Werror,-Wunused-exception-parameterStephan Bergmann1-1/+2
Change-Id: Ibcda8d872ad89a363f71bc4d5aa92b6bae2d2608
2013-11-14remove unnecessary sal_Unicode casts in various placesNoel Grandin5-19/+19
Change-Id: Ibf04062ca86ed866202d748c3b62a210d30ed6ec
2013-11-14remove more pragma instances of GCC system_headerMichael Stahl1-2/+9
Use "#pragma GCC diagnostic ignored" instead which does not prevent generation of dependencies. Change-Id: Ic9034f20ef71c1ee6e5363b73c831142c2813d20
2013-11-11convert OUString compareToAscii == 0 to equalsAsciiNoel Grandin5-28/+27
Convert code like aStr.compareToAscii("XXX") == 0 to aStr.equalsAscii("XXX") which is both easier to read and faster. Change-Id: I448abf58f2fa0e7715dba53f8e8825ca0587c83f
2013-11-11convert OUString 0==compareToAscii to equalsAsciiNoel Grandin1-1/+1
Convert code like: 0 == aStr.compareToAscii("XXX") to aStr.equalsAscii("XXX") which is both clearer and faster. Change-Id: I2e906d7d38494db38eb292702fadb781b1251e07
2013-11-11remove unnecessary use of OUString constructorNoel Grandin2-23/+23
Change-Id: Ifb220af71857ddacd64e8204fb6d3e4aad8eef71
2013-11-05fixincludeguards.sh: sdextThomas Arnhold67-148/+148
Change-Id: I5cb8f7fb35121f41aedeff46f50d51d2ee039206
2013-11-04Convert code that calls OUString::getStr()[] to use the [] operatorNoel Grandin2-4/+4
This also means that this code now gets bounds checked in debug builds. Change-Id: Id777f85eaee6a737bbcb84625e6e110abe0e0f27
2013-10-31Resolves: #i123433# Detect pseudo-vertices at svg import...Armin Le Grand3-5/+5
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-30Remove unnecessary #includesTakeshi Abe16-22/+2
and add them to a couple of appropriate headers Change-Id: I500765df767319a0a75ea2446f4fec591a34da58
2013-10-29Drop unnecessary #includeTakeshi Abe6-7/+0
Change-Id: I20448aebfae86c097413660e9ec836a786507a85
2013-10-28gbuild: set Package default target to INSTDIRMichael Stahl1-2/+0
Change-Id: I2bc45e4ba63f5faaee7389bcd9d7b3f563503186
2013-10-28extras: don't hardcode shareMichael Stahl1-1/+1
Change-Id: I78b08f653407c5889e0f24ef6d38e9f9d1817df9
2013-10-24sdext: deliver that weird pdf file to INSTDIRMichael Stahl1-1/+3
Change-Id: I3d5daf2ab957eb98c80e936406721a7eb627c436
2013-10-22Bin comments that claim to say why some header is includedTor Lillqvist1-1/+1
They are practically always useless, often misleading or obsolete. Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
2013-10-15Minimizer: *.mini was saved w/o .odp etc. extension (and clean up)Stephan Bergmann1-24/+7
Change-Id: I4626794f7816ae455a392cdc0acbac42c866fff4
2013-10-15fdo#61950 De-extensionize presentation minimizer: post cleanDavid Ostrovsky1-4/+5
Change-Id: I7d21f1d67b13fcd83792503e8c72ccf16fbda1ec Reviewed-on: https://gerrit.libreoffice.org/6247 Reviewed-by: David Ostrovsky <David.Ostrovsky@gmx.de> Tested-by: David Ostrovsky <David.Ostrovsky@gmx.de>
2013-10-15could not convert from ‘const char*’ to ‘rtl::OUString’Eike Rathke4-146/+146
Since 3eb84bcb4580af50c2ded9f48749384b8455258e which apparently Clang has no problem with. Change-Id: I21af4e20dd116705e53d73a968fde478bff142bb
2013-10-15Remove unnecessary TK_LastStephan Bergmann2-6/+1
Change-Id: Ia5095646f01a76258d69df866e3c803f8691915b
2013-10-15Small simplification (and exit loop early)Stephan Bergmann1-3/+3
Change-Id: I076307174fdd63b58a8cb9c9690f50dae746c289
2013-10-15Simplify PPPOptimizerTokenEnum -> OUStringStephan Bergmann2-6/+5
Change-Id: I8be2a1d603afd26de11e737586590ebb7adcbc42
2013-10-15Simplify PPPOptimizerTokenEnum -> OUStringStephan Bergmann3-5/+5
Change-Id: I88176f00c5fb356d63ecfdd291c006e88606a604
2013-10-15Simplify TKGet(TK_FOO) -> "FOO"Stephan Bergmann6-414/+414
Change-Id: I06e3134aeef27f13969f6d9d7d81b916bc93e8e2