summaryrefslogtreecommitdiff
path: root/sdext/source
AgeCommit message (Collapse)Author
2013-12-20typo fixesAndras Timar
Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
2013-12-18fdo#72598 Remove SunStudio cruft from code baseJelle van der Waa
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 Bergmann
...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 Waa
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 Bergmann
Change-Id: I56f38bd786f3a026cb2908f28540dc9c4003af83
2013-12-17Unnecessary use of OUString constructor inside OUStringBuffer constructorNoel Grandin
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 Grandin
Convert code like aStrBuffer.append(OUString(" AS ")); to aStrBuffer.append(" AS "); Change-Id: I8c1884b5a875f40f0b5e511b6ef38c6c8eeee656
2013-12-17Remove unnecessary use of OUString constructor in + expressionsNoel Grandin
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 Stahl
Change-Id: Ic23c0ccc45d7a98b3581feab43fc4c8c8aef9013
2013-12-02Drop duplicate #includeTakeshi Abe
Change-Id: Ife8ebbb5e46704c5d2ff46cc345b4ed926e7dc12
2013-11-29Further XCanvas != XBitmapCanvas cleanup.Thorsten Behrens
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 Behrens
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 Behrens
This reverts commit bae01385c895a100b5371879889e606927cff877. Change-Id: Id149bae0904fd6c2120209d69490d0b257ac3f64
2013-11-21remove unnecessary RTL_CONSTASCII_STRINGPARAM in OUString::equalsLNoel Grandin
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 Grandin
This reverts commit acebbee971136e6ee0a7bc75bd57d937d6e1c295. I mistakenly converted OUString::equalsL calls to OUString::startsWith calls.
2013-11-20remove RTL_CONSTASCII_STRINGPARAM in OString::equalsL callsNoel Grandin
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 McNamara
Change-Id: Ifc16473c426bca2235e84b0d71291756074712bb
2013-11-20Resolves: fdo#71527 don't crash in presenter consoleCaolán McNamara
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 Grandin
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 Grandin
change code like aStr = OUString("xxxx"); to aStr = "xxxx"; Change-Id: Ib981a5cc735677ec5dba76ef9279a107d22e99d4
2013-11-14GCC diagnostic push / pop requires HAVE_GCC_PRAGMA_DIAGNOSTIC_SCOPEMichael Stahl
Change-Id: I0765649b94b370caf92a29a8ff2224e335196612
2013-11-14-Werror,-Wunused-member-functionStephan Bergmann
SimpleView had been unused since its inception in b561e658ebed8cfcfd18dc90bd25de9134341fb3 "INTEGRATION: CWS presenterview." Change-Id: Ieb3af55c4cfebd24fe229c847f38ca108ae3401e
2013-11-14-Werror,-Wunused-member-functionStephan Bergmann
Change-Id: Ie8f3502c735cf38e21f2f55f27d384dbe3d8d5ef
2013-11-14-Werror,-Wunused-member-functionStephan Bergmann
Change-Id: I745ceb72423b120ef42437778e3a5fe05bd7b42b
2013-11-14-Werror,-Wunused-member-functionStephan Bergmann
Change-Id: I17160893b759f4dee1871e8f6d6525d327cf8cd6
2013-11-14-Werror,-Wunused-member-functionStephan Bergmann
...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 Bergmann
Change-Id: Ibcda8d872ad89a363f71bc4d5aa92b6bae2d2608
2013-11-14remove unnecessary sal_Unicode casts in various placesNoel Grandin
Change-Id: Ibf04062ca86ed866202d748c3b62a210d30ed6ec
2013-11-14remove more pragma instances of GCC system_headerMichael Stahl
Use "#pragma GCC diagnostic ignored" instead which does not prevent generation of dependencies. Change-Id: Ic9034f20ef71c1ee6e5363b73c831142c2813d20
2013-11-11convert OUString compareToAscii == 0 to equalsAsciiNoel Grandin
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 Grandin
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 Grandin
Change-Id: Ifb220af71857ddacd64e8204fb6d3e4aad8eef71
2013-11-05fixincludeguards.sh: sdextThomas Arnhold
Change-Id: I5cb8f7fb35121f41aedeff46f50d51d2ee039206
2013-11-04Convert code that calls OUString::getStr()[] to use the [] operatorNoel Grandin
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 Grand
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 Abe
and add them to a couple of appropriate headers Change-Id: I500765df767319a0a75ea2446f4fec591a34da58
2013-10-29Drop unnecessary #includeTakeshi Abe
Change-Id: I20448aebfae86c097413660e9ec836a786507a85
2013-10-22Bin comments that claim to say why some header is includedTor Lillqvist
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 Bergmann
Change-Id: I4626794f7816ae455a392cdc0acbac42c866fff4
2013-10-15fdo#61950 De-extensionize presentation minimizer: post cleanDavid Ostrovsky
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 Rathke
Since 3eb84bcb4580af50c2ded9f48749384b8455258e which apparently Clang has no problem with. Change-Id: I21af4e20dd116705e53d73a968fde478bff142bb
2013-10-15Remove unnecessary TK_LastStephan Bergmann
Change-Id: Ia5095646f01a76258d69df866e3c803f8691915b
2013-10-15Small simplification (and exit loop early)Stephan Bergmann
Change-Id: I076307174fdd63b58a8cb9c9690f50dae746c289
2013-10-15Simplify PPPOptimizerTokenEnum -> OUStringStephan Bergmann
Change-Id: I8be2a1d603afd26de11e737586590ebb7adcbc42
2013-10-15Simplify PPPOptimizerTokenEnum -> OUStringStephan Bergmann
Change-Id: I88176f00c5fb356d63ecfdd291c006e88606a604
2013-10-15Simplify TKGet(TK_FOO) -> "FOO"Stephan Bergmann
Change-Id: I06e3134aeef27f13969f6d9d7d81b916bc93e8e2
2013-10-14Remove unused fileStephan Bergmann
...was referenced from removed sdext/source/minimizer/description.xml Change-Id: I501860640eb899742f7850f626008b930bf8eab4
2013-10-14Remove file apparently unused since inceptionStephan Bergmann
Change-Id: Ib2522c943df37c0b299120fcbdb262a74ee5f5f7
2013-10-14No need to have com.sun.star.comp.PPPOptimizer as a serviceStephan Bergmann
After de-extension-alization of Presentation Minimizer, it is important that its UNO implementation names are different from the ones used by the extension (in case the extension ever is installed as shared or per-user). For com.sun.star.comp.PPPOptimizer it appears to be easiest to not advertise this as a service at all, but rather instantiate the object directly where used. (For com.sun.star.comp.PresentationMinimizerImp the necessary renaming had been done in the previous commit already.) Change-Id: I954b715f2d434cecf9abd2776b39c4ed3152c5ec
2013-10-14fdo#61950 De-extensionize presentation minimizerDavid Ostrovsky
Change-Id: I87805ceacf184d5aa5faae68e8bb932391ace7fb Signed-off-by: Stephan Bergmann <sbergman@redhat.com>