summaryrefslogtreecommitdiff
path: root/svx/source/gallery2/gallery1.cxx
AgeCommit message (Collapse)AuthorFilesLines
2015-04-29convert GALLERY_HINT constants to scoped enumNoel Grandin1-4/+4
Change-Id: I4e33f2ebfc00d9c5c75ddbb0625aaf7c39802e7f
2015-04-23loplugin:staticmethodsNoel Grandin1-1/+1
Change-Id: I6207b475127099872c6f3764331006688129b673
2015-04-02Change INetProtocol enumerators to CamelCaseStephan Bergmann1-6/+6
...to avoid clashes with macros and poor warnings about hiding global FILE Change-Id: I444e8b958f029201b228937e088efabc4b6d3050
2015-04-02Change INetProtocol to scoped enumerationStephan Bergmann1-6/+6
...and fix o3tl::enumarray::operator [] const overload Change-Id: I749b1b9d68686b03a97074253478d9d2d9d32b0b
2015-03-26const_cast: convert some C-style casts and remove some redundant onesStephan Bergmann1-1/+1
Change-Id: Ic90647cc4da716b54b00520b683cee027a664c22
2015-01-14fdo#39440 svx: reduce scope of local variablesMichael Weghorn1-1/+2
This addresses some cppcheck warnings. Change-Id: I8c63a767c62b3a666ad445a0a3095d1bb1224f5e Reviewed-on: https://gerrit.libreoffice.org/13908 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-01-07fdo#84938: convert STREAM_ #defines to 'enum class'Noel Grandin1-2/+2
Change-Id: Ibbf14c7e9a5c1883c1311d4c86f948f74f8e473e
2015-01-02Remove unnecessary comphelper::string::getTokenStephan Bergmann1-2/+2
Change-Id: I49192637121441b9a1980350b9bb32cd995d4386
2014-11-05fdo#38835 strip out OUString globalsNoel Grandin1-4/+4
they are largely unnecessary these days, since our OUString infrastructure gained optimised handling for static char constants. Change-Id: I07f73484f82d0582252cb4324d4107c998432c37
2014-10-29remove unnecessary 'using namespace rtl' declarationsNoel Grandin1-1/+0
It turns out that almost none of them were necessary. Change-Id: I1311ed28409c682b57ea8d149bcbaf2c49133e83 Reviewed-on: https://gerrit.libreoffice.org/12133 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-08Fix thinko. Thanks to vmiklos for noticingTor Lillqvist1-2/+2
Change-Id: Id4e65908cc73978205bc0858a3a809b882864b62
2014-10-08Don't try to create cdefghij.klm inside the app bundle on OS X when sandboxedTor Lillqvist1-1/+19
Actually, we check HAVE_FEATURE_READONLY_INSTALLSET and not HAVE_FEATURE_MACOSX_SANDBOX, but in practice we set the former only for the latter case. We could do this test cross-platform but I didn't bother now. Nobody uses --enable-readonly-installset when building for Linux or Windows anyway, I think. (There must be more places where we could and should check HAVE_FEATURE_READONLY_INSTALLSET.) Change-Id: Ie54f436616a1db3119b0bc0148149784127b156d
2014-06-25Avoid possible memory leaks in case of exceptionsTakeshi Abe1-5/+4
Change-Id: I1a566a870a3bde91a527ac454fc9946e99a2593e
2014-06-21Resolves: fdo#80327 Sound list box when non-English UIJulien Nabet1-28/+10
Fallback strings are in English wheresas ImplGetThemeEntry expects localized strings Let's put localized strings in fallback to make ImplGetThemeEntry happy Change-Id: I27dd992bac4f5aaf6e0e6237fe59dac990f11c92
2014-05-26coverity#1215317 Uncaught exceptionCaolán McNamara1-5/+11
Change-Id: Idada0fbd80f55f67bd62cb7d31dcc7457e4a18d5
2014-04-15svx: sal_Bool->boolNoel Grandin1-1/+1
Change-Id: I464eba5fd5521c31868c6fc8a2137f17428d421e
2014-03-11svx: sal_Bool->boolNoel Grandin1-27/+29
Change-Id: I061f1e15c816f8077c0fbb0abbc1474eb286796b
2014-02-04convert specialised SvStream::operator>> methods to ReadXXX methodsNoel Grandin1-1/+1
as preparation for converting the SvStream::operator>> methods on primitive types Change-Id: I62f134bced15c687d6e0d46924f56e8d1c3d95b9 Reviewed-on: https://gerrit.libreoffice.org/7798 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2014-01-10re-write SvStream operator<< to non-overloaded methodsNoel Grandin1-1/+1
This is the actual re-write. Use a clang rewriter to rewrite SvStream::operator<< to methods like WriteuInt32. Note that the rewriter is not perfect, and I hand-tweaked the output. In particular, I had to adjust places doing things like (*this) << 1; Change-Id: I5923eda3f4ebaa8b452b6ef109e726e116235a2a Reviewed-on: https://gerrit.libreoffice.org/7342 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2013-11-08remove unnecessary use of OUString constructor in SVX moduleNoel Grandin1-1/+1
Change-Id: I1506daaa4a3b736ee6bbb00100fca24df8368298
2013-10-24fdo#69079 - fix multiple user gallery creations.Michael Meeks1-3/+25
Change-Id: I0539e2708b973b8bea7bd63488277f00201c6c46
2013-10-22Resolves: fdo#38838 remove UniStringCaolán McNamara1-0/+1
hammer silver nails into coffin and bury in concrete Change-Id: I3fda2ff47738bb33793adab97faba2d439ac9a28
2013-09-08fdo#39468 Comment translation GER-ENG in svx/source/gallery2/Matthias Freund1-44/+2
Translate some german comments and remove ascii art. :-) Change-Id: Ie0ba349b95e4f73aea7b6e20ed3fc86ded14c444 Reviewed-on: https://gerrit.libreoffice.org/5870 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-09-05convert svx/source/gallery/*.cxx from String to OUStringNoel Grandin1-2/+2
Change-Id: I35f1f83e806ebe1bd2c81d0a85ce2a4ef4704132
2013-09-05convert include/svx/gallery1.hxx from String to OUStringNoel Grandin1-6/+6
Change-Id: Ic1ea4f661b4975cb215ae6b4e6e6e068a85d4a07
2013-05-15gallery: add auxiliary .desktop style translation files.Michael Meeks1-1/+10
Change-Id: I2f2f0d5d30fbcab83343f94fd16d9371baa380e5
2013-05-15gallery: remove obsolete GalleryImportThemeEntryMichael Meeks1-32/+0
Change-Id: I024bfa537360339befdc67a2fa2b51b15d9c3611
2013-05-15gallery: fix hideous theme numbering / naming situation.Michael Meeks1-19/+9
Change-Id: Ibe288e5b2e782da4dd5804a7e018d8ae85c156cc
2013-05-10Resolves: #i121407# Gallery reorganizations...Armin Le Grand1-0/+30
and additions of new themes (cherry picked from commit 8ccf0e00b5c67f17427d041321baaa5ade488e7c) Conflicts: extras/prj/build.lst extras/source/gallery/bullets/makefile.mk extras/source/gallery/gallery_system/sg2.sdg extras/source/gallery/gallery_system/sg2.sdv extras/source/gallery/gallery_system/sg2.thm extras/util/target.pmk scp2/source/ooo/directory_ooo.scp scp2/source/ooo/file_extra_ooo.scp svx/inc/galtheme.hrc svx/source/gallery2/gallery1.cxx svx/source/gallery2/galobj.cxx svx/source/gallery2/galtheme.src vcl/inc/vcl/alpha.hxx vcl/inc/vcl/bitmap.hxx vcl/inc/vcl/bitmapex.hxx vcl/source/gdi/alpha.cxx vcl/source/gdi/bitmap.cxx vcl/source/gdi/bitmap3.cxx vcl/source/gdi/bitmapex.cxx (cherry picked from commit 8012fae6cedcf325130d70adf0a486e8918f452f) Conflicts: vcl/source/gdi/bitmap3.cxx Change-Id: If4b2397b889f914487f2135679250c175181e1df
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák1-14/+14
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-03-19Simplify equalsIgnoreAsciiCaseAscii[L] callsStephan Bergmann1-1/+1
Change-Id: If5201bd772aed245e8f7f8b900d76ffe4ca57b49
2013-02-24loplugin: unused variablesThomas Arnhold1-1/+0
Change-Id: I7fc203900256839e679bf73b717d121fedc42087
2013-02-22fdo#38838 search replace for String::CreateFromInt32().Jean-Noël Rouvignac1-1/+1
I ran the following code replace: s/(Uni|Xub)?String\s*::\s*CreateFromInt32/OUString::number/ Change-Id: I7c047cf1c90632bddc23ed49f9455d745ac8688e Reviewed-on: https://gerrit.libreoffice.org/2282 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2012-11-27Remve obsolete DBG_CTOR/DTOR stuff againStephan Bergmann1-2/+2
...which 0a063f3a36eaf7b90ab6a5cd5b2ad6a63ce9742c re-introduced in error? Change-Id: I2866165bddc74361dcb72e37cf98fb801f629e9e
2012-11-27re-base on ALv2 code. Includes:Michael Meeks1-28/+16
Patch contributed by Christian Lippka impress212: #i113063# patch: dubios self assign in svx/source/dialog/framelink.cxx http://svn.apache.org/viewvc?view=revision&revision=1167619 Patches contributed by Mathias Bauer gnumake4 work variously http://svn.apache.org/viewvc?view=revision&revision=1394707 http://svn.apache.org/viewvc?view=revision&revision=1394326 cws mba34issues01: #i117712#: fix several resource errors introduced by IAccessible2 implementation http://svn.apache.org/viewvc?view=revision&revision=1172343 cws mba34issues01: #i117719#: use correct resource ID http://svn.apache.org/viewvc?view=revision&revision=1172351 Patch contributed by Andre Fischer Do not add targets for junit tests when junit is disabled. http://svn.apache.org/viewvc?view=revision&revision=1241508 Patches contributed by Armin Le-Grand #118804# corrected GraphicExporter behaviour on shortcut when pixel graphic is requested http://svn.apache.org/viewvc?view=revision&revision=1240195 fix for #118525#: Using primitives for chart sub-geometry visualisation http://svn.apache.org/viewvc?view=revision&revision=1226879 #118485# - Styles for OLEs are not saved. http://svn.apache.org/viewvc?view=revision&revision=1182166 #118524: apply patch, followup fixes to 118485 http://svn.apache.org/viewvc?view=revision&revision=1186077 13f79535-47bb-0310-9956-ffa450edef68 Patch contributed by Regina Henschel linecap: Reintegrating finished LineCap feature http://svn.apache.org/viewvc?view=revision&revision=1232507 Patch contributed by Wang Lei (leiw) #i118760# split the first table cell vertically, then undo&redo, the Presentation app will crash http://svn.apache.org/viewvc?view=revision&revision=1301361 cleanup globlmn hacks, undo dependent fixmes.
2012-11-24Removed horizontal rule ugly 1990 thingCédric Bosdonnat1-3/+0
Change-Id: Ifafd8b2ffd9af90b6ac4ed2ee0ccd3c5e980731c Conflicts: sw/source/ui/misc/insrule.cxx
2012-09-14Improvement on previous commit, UCB clean upStephan Bergmann1-4/+6
* As UCB is only ever initialized with "Local"/"Office", remove this configuration vector completely. The "create" ctor creates an instance internally initialized with those "Local"/"Office" keys. Special (test) code can still instantiate an uninitialized one via plain createInstance. And for backwards compatilibity process startup still ensures to create an initialized instance early, in case there is still code out there (in extensions) that later calls plain createInstance and expects to get the already-initialized (single) instance. * XInitialization is an "implementation detail" of the UniversalContentBroker service, do not expose in XUniversalContentBroker. * ucbhelper/configurationkeys.hxx is no longer needed and is removed. * ucbhelper/contentbroker.hxx is an empty wrapper and is removed; however, that requires ucbhelper::Content constructors to take explicit XComponentContext arguments now. * The only remaining code in ucbhelper/source/client/contentbroker.cxx is Android-only InitUCBHelper. Is that relevant still? Change-Id: I3f7bddd0456bffbcd13590c66d9011915c760f28
2012-07-23callcatcher: Gallery::GetImportURL freshly unusedCaolán McNamara1-26/+0
since 6d6198393e0677710191248d6f7c9ec15d0f0e0f Change-Id: I8c08088453027ab7aa0ca964262456475f767a5f
2012-07-16Resolves: fdo#42454 'imported' gallery format doesn't appear to existCaolán McNamara1-140/+20
AFAICS an "imported" gallery can only be written if you already have an imported gallery in the first place, i.e. its something coming from an earlier version. All the way back to 2000, so I suspect its an earlier pre-OOo feature, which can't arise in practice with no migration from staroffice configs to OpenOffice.org or LibreOffice. Change-Id: I9f248baadb20633da129d3bcacce3d7f92ef7510
2012-06-02targeted string re-workNorbert Thiebaud1-6/+6
Change-Id: I8256b300bd50e0aed8bee364ebe518087969d184
2012-05-02!= instead of < for comparison with end iteratorJulien Nabet1-2/+2
Change-Id: I7baa34c1cf7161fb55914d41b451b842ad4ab0c8
2012-04-30make ResId::toString a non-static memberCaolán McNamara1-1/+1
Change-Id: I756c0a19bea7b1cc0e290d9f382a04d655819bfb
2012-03-12remove usage of RTL_CONSTASCII_STRINGPARAMLuboš Luňák1-9/+9
2012-02-21Prefer equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("..."))Takeshi Abe1-1/+1
to equalsIgnoreAsciiCaseAscii("...")
2012-01-23make svx ByteString freeCaolán McNamara1-13/+30
2012-01-19WaE: ongoing stream operator cleanup, persuade ints they are sal_Int32sMichael Meeks1-1/+1
2012-01-14Fix for fdo43460 Part XXXVIII getLength() to isEmpty()Olivier Hallot1-5/+5
Part XXXVIII Modules svx
2012-01-05add a comphelper::string::getTokenCountCaolán McNamara1-6/+7
suitable for conversion from [Byte]String::GetTokenCount converted low-hanging variants to rtl::O[UString]::getToken loops added unit test
2011-12-21tweak for pre language-defect #77Caolán McNamara1-10/+10
2011-12-21convert ReadByteString/WriteByteString from ByteString to OStringCaolán McNamara1-32/+19
Nobody ever used the return values anyway, so for reading just return the string and for writing the number of bytes written Doesn't need to be members, make standalone functions Rename to read_lenPrefixed_uInt8s_ToO[U]String and write_lenPrefixed_uInt8s_FromO[U]String, lengthy, but much less unambiguous, seeing as a lot of users of it don't seem to be aware that they read/write pascal-style length prefixed strings, which isn't surprising given the apparent simplicity of their original name. added a unit test