summaryrefslogtreecommitdiff
path: root/sfx2/source/bastyp
AgeCommit message (Collapse)AuthorFilesLines
2013-04-20fdo#63154: Change Min/Max/Abs for std::min/max/absMarcos Paulo de Souza1-1/+2
Now all these usages were removed from LO. Change-Id: I8a7233db20abdcdbb18428ad4004c78cc516a0e6 Reviewed-on: https://gerrit.libreoffice.org/3326 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-18date/time IDL datatypes incompatible changeLionel Elie Mamane1-2/+2
- nanosecond precision - signed (allowed negative) year Also: assorted improvements / bugfixes in date/time handling code. Some factorisation of copy/pasted code. Change-Id: I761a1b0b8731c82f19a0c37acbcf43d3c06d6cd6
2013-04-16remove dead class SfxPtrAr and it's header sfx/inc/sfx2/minarray.hxxNoel Grandin1-230/+0
Change-Id: I23c9f905e6f679299f95baa6d8d4bafa97a3f19a Reviewed-on: https://gerrit.libreoffice.org/3399 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-04-15fdo#60724 informations -> informationThomas Arnhold2-2/+2
Change-Id: Ifd34ebfc7fe01b4a470eb072597dd3ec97c97863
2013-04-13Manage to use orcus to import ods, xlsx, and csv.Kohei Yoshida1-1/+1
But this occasionally crashes. Change-Id: I0a18d0e210639b43b89b966a54de541b9a43e329
2013-04-09String cleanup inside SfxFilter.Kohei Yoshida1-2/+2
Change-Id: I647b9e4de54fdcfadcf17ac7e161b245f3dea546
2013-04-09com::sun::star cleanup.Kohei Yoshida1-42/+44
Change-Id: I279441c1e1a271c76a2fec92711765134da90cac
2013-04-09Make the member mutable to avoid ugly casting.Kohei Yoshida1-6/+6
Change-Id: I28fd84b89a8d443e502d2c0e76f38cf006a57d4a
2013-04-08fdo#46808, use service constructor for document::FilterConfigRefreshNoel Grandin1-11/+4
Change-Id: Ibf857684029b6b63845850a1930d853e5aab2fdb
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák5-69/+68
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-04-04WaE: unused function 'convertDateTime'Tor Lillqvist1-12/+0
Change-Id: I6d36291f4381cc43782861ca1180b7fa7b155551
2013-04-03more clean-up around SfxContentHelperMarkus Mohrhard1-21/+5
Change-Id: I836a260d0e7c8b61cf4b6b6c378da854ca188a22
2013-04-03sal_Bool -> boolMarkus Mohrhard1-2/+2
Change-Id: I1225c972d806301ef5bd295b2b42145a8b2e7145
2013-04-03this method is actually unusedMarkus Mohrhard1-10/+0
Change-Id: I1808ada7c012f4dfacc7ace93478a4acab50f6eb
2013-04-03prevent some unnecessary castingMarkus Mohrhard1-5/+3
Change-Id: I56b324cc8431347c25472f7ef3ac5871b226f5b1
2013-04-03we don't need a macro hereMarkus Mohrhard1-5/+10
Change-Id: I7b063f54f354ade05dd0f2c4b10b161a44895076
2013-04-03no need for pointers hereMarkus Mohrhard1-40/+16
Change-Id: I0eca0d07d251949f99ebed44ef3267fa6dfb4c80
2013-04-03simplify this a bitMarkus Mohrhard1-4/+2
Change-Id: I4deaf117c64f4646e36da98c498188022b2c32f0
2013-03-27-Wunused-macrosStephan Bergmann1-1/+0
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
2013-03-12Abbreviate Rectangle as Rect, not RecTor Lillqvist1-3/+3
Change-Id: If38a5d23150bcd19a6eb6024c2ef1eea826898f5
2013-03-08fdo#60691 add modelines to *.src and *.hrc filesBorim3-0/+8
use solenv/bin/add-modulelines script for the task and remove all UTF bom from *.src and *.hrc files svx/source/dialog/hdft.src Change-Id: I745d4f0fe9b05436a142a03f8512970f91c41bd4
2013-03-02Typo fix: informations -> information and a few other adjacent typos.Gregg King1-2/+2
FDO:60724 Change-Id: I73ad9f1c37cbbcf28d996ed73c75cf09553e499b Reviewed-on: https://gerrit.libreoffice.org/2479 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-02-28sfx2: restore weird SfxStack::nLevel that was...Michael Stahl1-0/+4
... accidentally removed in 7cbeac07d21413443889e6ee777a428782e746ae. Not that i know what it's good for. Change-Id: I8f2963050434741503b39539fd9a1a339b56d60f
2013-02-25Remove useless SfxStringEncode and SfxStringDecodeThomas Arnhold1-47/+0
They return empty strings. SearchAndReplace is a stray declaration from historic misc.cxx. Change-Id: Ia7aa970a8ca200bd7bdc5ed688a8f00d092c9561
2013-02-25loplugin: unused variablesThomas Arnhold2-3/+0
Change-Id: I63553a09eec81e5ae28aa79ee1d3281053b23d06
2013-02-24fdo#38838 searched, replaced and removed String::CreateFromInt32().Jean-Noël Rouvignac1-5/+5
I ran the following code replace: s/(Uni|Xub)?String\s*::\s*CreateFromInt32/OUString::number/ And finally removed String::CreateFromInt32(). Change-Id: I53b26a59c68511ae09f0ee82cfade210d0de3fa5 Reviewed-on: https://gerrit.libreoffice.org/2279 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-02-22String -> OUStringIvan Timofeev1-5/+5
Change-Id: I5b577a8e0675d7849ca22e24bb99ee2d8602ae6a
2013-02-22fix sfx2 buildCaolán McNamara1-1/+1
Change-Id: I17b8ab426e7aabeb5db9d49391e0c1be99e63a51
2013-02-14Removed several useless macros: UNISTRING, USTR, USTR_ASCII, ASCII_STR, ↵Jean-Noël Rouvignac3-13/+13
ASCII_STRING, CONST_ASCII, ASCSTR, ASCII, DEFINE_CONST_UNICODE, DEFINE_CONST_OUSTRING Change-Id: I96d690bf9f9b319e9eeafcf218ec5ce87f21215f Reviewed-on: https://gerrit.libreoffice.org/1954 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2013-02-06String->OUStringCaolán McNamara1-1/+1
Change-Id: I42193a40a0b5b905a721cb511d69836385bfcb40
2013-01-21Changed SetText() / GetText() to take/return OUStringChr. Rossmanith1-4/+1
replaced lots of Len() with isEmpty() Change-Id: I6b82d48245ee2a0782e05a326f7934e9357227d0 Reviewed-on: https://gerrit.libreoffice.org/1795 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-01-18PRODUCTEXTENSION: fix various obvious strings and such...Michael Stahl1-1/+1
... to look pretty; most of these expect PRODUCTEXTENSION to be a word like "Beta" but nowadays it is ".micro.rc.alphabeta" numbers so there should be no space before it. ReplaceStringHookProc adds insult to injury by refusing to replace %ABOUTBOX variables unless some %PRODUCT is in the string. Change-Id: Ib676f3837ab0785529a226fc9359e8defacf3459
2012-12-12uncalled destructorCaolán McNamara1-12/+13
Change-Id: I76a06834dcaf751359d0e4241e8f886d20530f1e
2012-11-27remove legacy String svl's Put*Entry family of function and convert usersNorbert Thiebaud1-5/+4
Change-Id: Iebf4017ce4c2c48389716eac1bbf7f386ac7a296
2012-11-14Turn some memmove into memcpy when it is safe to do so.jailletc361-5/+5
Most of the changes are related to newly allocated memory, so we are sure it can not overlap with the source of the copy. Change-Id: Ie6ccf1bbb07b792fb18601a38dfaa55755d14b7d Signed-off-by: jailletc36 <christophe.jaillet@wanadoo.fr> Reviewed-on: https://gerrit.libreoffice.org/1033 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2012-11-08cppCheck: Unused variable and Redundant assignmentjailletc361-1/+0
Change-Id: I67084c1cb9dc23eb77787d2a6d57a5b70126873c Signed-off-by: jailletc36 <christophe.jaillet@wanadoo.fr> Reviewed-on: https://gerrit.libreoffice.org/1005 Reviewed-by: Radek Doulík <rodo@novell.com> Tested-by: Radek Doulík <rodo@novell.com>
2012-10-04Fixes/improvements on previous commitStephan Bergmann1-4/+4
* UUIInteractionHandler still needs to implement XInitialization. * Moved ambiguating InteractionHandler typedef out of the way. * Removed InteractionHandler.createDefault, as it was originally stated that "it is strongly recommended that [the "Parent"] property is supplied." * Added back documentation about Parent and Context. * Simplified some call-sites to directly use XInteractionHandler2. Change-Id: I1029b8f3cf079171c75920cafaaa44b5bbada883
2012-10-04fdo#46808, Adapt task::InteractionHandler UNO service to new styleNoel Grandin1-4/+5
Since we don't need to expose XInitialisation, we can make the new-style service implement XInteractionHandler2. Change-Id: Ib27beed1c12df17592c6472d6f58c233d2c41558
2012-09-18deprecate oustringostreaminserter.hxxNorbert Thiebaud1-1/+0
the intent of this header has canged over time. now it is already systematically included with ustring.hxx and the operator overload it provide fit nicely there... Just to be safe, since that include as been added to the api during the 3.5 timeframe and therefore is already in 'production' the header remain and simply attempt to include ustring.hxx but a warning is issued indicating that this header should not be used anymore... in a couple of major release we will thenr emove it completely All internal users of that header are converted. Change-Id: I8934c55f089e29d78c0f5649b7c87b2ecf024bad Reviewed-on: https://gerrit.libreoffice.org/634 Tested-by: Norbert Thiebaud <nthiebaud@gmail.com> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-09-14Improvement on previous commit, UCB clean upStephan Bergmann1-5/+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-08-27fdo#46808, Adapt script::Converter service code to new styleNoel Grandin1-5/+3
Change-Id: I19b3ba7c978e02ce865360f0411007525012149c
2012-08-22fdo#52451: Some name changes to be consistent with other prop names.Kohei Yoshida1-1/+2
We use IMPORT EXPORT flags, so let's stick with the term 'Export' as opposed to 'FileSave'. Also, the file type's extensions are given without the star-dot (*.), so let's strip that as well. Change-Id: Ibde05058f7acb6ae149382009e78f3f10a71d543
2012-08-21fdo#52451: Ensure that the extension for text is .txt from writer.Kohei Yoshida1-3/+12
Added a preferred extension property to the filter which overwrites one(s) given by the default file format type associated with it. Normally this property is not used for the majority of the filters, but for plain text filters, we need to use .txt when saving from writer whereas we do .csv from calc. Change-Id: I3453ad084e4379e5cc1101daeb9d2c3ddd919e92
2012-08-16-Werror,-Wunused-private-field (Clang towards 3.2)Stephan Bergmann1-2/+1
Change-Id: I7162523a26488b8528a91ec7abd587f55647acbb
2012-08-08reduce ascii noise and useless commentsThomas Arnhold1-6/+0
Change-Id: I317058e3b25cebb7c1d89361636261c5f16a84d4
2012-08-08remove include comments and boxesThomas Arnhold3-7/+0
Change-Id: I9ccf664e8f75a68b1b87c2b29ae617a90d0741a7
2012-08-07remove bogus date informationThomas Arnhold1-2/+0
Change-Id: I2789153ee35f4ec10e760f9412eb7d379de031bf
2012-07-25Remove unused parameter.Kohei Yoshida1-1/+1
Change-Id: Ib6539528655c5def0d0802602ec913799f0ab07a
2012-07-25Referer was set to SfxMedium but was never used. Removing it.Kohei Yoshida1-9/+1
Change-Id: I88ab874d4efc60d58722f0bb175d14a4d443398b
2012-07-13Remove unused #includesStephan Bergmann1-1/+0
Change-Id: I041feabb7ee94b33caebb67a380b8f3694d09e82