summaryrefslogtreecommitdiffstats
path: root/svl
Commit message (Collapse)AuthorAgeFilesLines
* These are now already OUStrings, so no need for extra temp OUStringsCaolán McNamara2012-10-091-10/+10
| | | | Change-Id: I3cf01d975e468299d9dc009f389e88bff7c8f4a2
* SfxErrorHandler::CreateString: remove pointless loopsMichael Stahl2012-10-091-1/+1
| | | | Change-Id: I585add18ea917249df252827e0eee944e59ce410
* String->OUString in SVL::SvNumberFormat calendar methodsNoel Grandin2012-10-092-18/+18
| | | | | | | Change-Id: I6fe904d25a0675d881ee7c1d761e9af87e23a69d Reviewed-on: https://gerrit.libreoffice.org/772 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
* String->OUString in svl::ImpSvNumFor::GetNewCurrencySymbol methodNoel Grandin2012-10-095-20/+21
| | | | | | | Change-Id: Ie283a02903b0bf420291e1e4e1e29232cc7ff3a9 Reviewed-on: https://gerrit.libreoffice.org/771 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
* String->OUString in svl::SvNumberFormat::GetMappedFormatstring methodNoel Grandin2012-10-092-25/+25
| | | | | | | Change-Id: I80512acbcd639ee20f56f9ac95efc00bd3209b76 Reviewed-on: https://gerrit.libreoffice.org/770 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
* sal_Bool->bool in svl::DdeTransactionNoel Grandin2012-10-042-5/+5
| | | | Change-Id: I97dd4411b5293b8f61527505e54608442eb18cca
* sal_Bool->bool in svl::SfxStyleSheetBaseNoel Grandin2012-10-042-51/+51
| | | | Change-Id: Id506fa56d07be56d63715703e354625715275933
* sal_Bool->bool in svl::SvxSearchItemNoel Grandin2012-10-042-52/+52
| | | | Change-Id: I60230e57993ee24fc80eb26d16588f131ec1f8dc
* sal_Bool->bool in svl::DECL_PTRHINTNoel Grandin2012-10-041-4/+4
| | | | Change-Id: Ib9a0aa8e22cb84b07b7346e5647b2a2667f05c6a
* Fixes/improvements on previous commitStephan Bergmann2012-10-041-3/+3
| | | | | | | | | | | | | | | * 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
* fdo#46808, Adapt task::InteractionHandler UNO service to new styleNoel Grandin2012-10-041-3/+8
| | | | | | | Since we don't need to expose XInitialisation, we can make the new-style service implement XInteractionHandler2. Change-Id: Ib27beed1c12df17592c6472d6f58c233d2c41558
* String->OUString in svl::ImpSvNumberformatInfoNoel Grandin2012-10-023-36/+36
| | | | Change-Id: Iff00b06a1e4e7c485e70ef0537fdea07ce3d42e5
* String->OUString in sComment field in svl::SvNumberFormatNoel Grandin2012-10-021-3/+3
| | | | Change-Id: I5a774563c791c7cd4170680a65711cc339f60c5b
* sal_Bool->bool in svl::SfxImageItemNoel Grandin2012-10-022-6/+6
| | | | Change-Id: I1a6d53352c65cd0999392531d8e406154bc4bf7a
* sal_Bool->bool in svl::PasswordContainerNoel Grandin2012-10-022-41/+41
| | | | Change-Id: I2be813554e773fade260a78eb677022b4c6991b0
* sal_Bool->bool in svl::OFSInputStreamContainer and OFSStreamContainerNoel Grandin2012-10-024-17/+16
| | | | | | | Also make OFSInputStreamContainer's member variables private, there is no reason for them to be protected Change-Id: Ic5717b5a3740e27adfc0ee55e7677a8727b8cbae
* sal_Bool->bool in svl::SvtCTLOptionsNoel Grandin2012-10-022-47/+47
| | | | Change-Id: I824595b6b60d4114f27bf64d8a84f2973f778e39
* XubString->OUStringCaolán McNamara2012-10-023-199/+195
| | | | Change-Id: I49d2d41ad4d5ee4ececf5a57eae070898e33075f
* Use comphelper::getComponentContextStephan Bergmann2012-09-291-11/+2
| | | | | | ...and some further clean up. Change-Id: Id294c0f38fe0041646fc86cacbd2e19734c746a9
* gbuild: invert handling of standard system libraries:Michael Stahl2012-09-285-10/+0
| | | | | | | Always link in gb_STDLIBS, except when the library explicitly opts out with gb_LinkTarget_disable_standard_system_libs. Change-Id: I489a99114fbfa46d0421a27cf6c7b899dc268a4a
* gbuild: gb_Library_PLAINLIBS_NONE cleanup for WNT:Michael Stahl2012-09-281-1/+1
| | | | | | | add a new gb_LinkTarget_use_system_win32_libs to abstract different linker options on MSVC and GCC. Change-Id: Ic9bf2545f59bf7871e6fc06b290c486ddfbec03d
* gbuild: replace direct gb_STDLIBS use with ...Michael Stahl2012-09-285-5/+10
| | | | | | ... new gb_LinkTarget_add_standard_system_libs Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
* gbuild: split uwinapi out of gb_STDLIBSMichael Stahl2012-09-285-0/+5
| | | | Change-Id: I53316e0b9369d806197bccb42cf22d3497af43e7
* convert GetRepeatComment to OUStringCaolán McNamara2012-09-282-37/+36
| | | | Change-Id: Ibf75533d04b3c68b875f44ad22639934578867e3
* ComponentContext::getUnoContext -> getComponentContext simplificationStephan Bergmann2012-09-192-6/+4
| | | | | | ...and some further clean-up. Change-Id: If5dce53e382b56390c502d0d0d93fc06cbfe33ea
* deprecate oustringostreaminserter.hxxNorbert Thiebaud2012-09-181-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>
* XubString->OUStringCaolán McNamara2012-09-173-38/+39
| | | | Change-Id: Ic8b191dfb0d14e129dc804aeb4ac14c732e72e6b
* SfxStyleSheetBasePool::Remove: fix valgrind warning:Michael Stahl2012-09-141-1/+4
| | | | | | | | | | aStyles contains rtl::References, so the erase() call may cause "p" to be deleted, while "p" is then used as a parameter to Broadcast; avoid this by retaining the rtl::Reference on the stack a bit longer. Valgrind warning observed in sc_unoapi sc.ScStyleFamilyObj on libreoffice-3-6 branch, called by ScStyleFamilyObj::removeByName. Change-Id: I96d6de85b1b182b5ae3f74e92987a7f137537ffb
* Improvement on previous commit, UCB clean upStephan Bergmann2012-09-147-71/+42
| | | | | | | | | | | | | | | | | | | | | | | | | * 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
* fdo#46808, Adapt ucb::UniversalContentBroker UNO service to new styleNoel Grandin2012-09-141-13/+3
| | | | | | | Create a merged XUniversalContentBroker interface for this service to implement. Which is backwards-compatible, but does not require creating a new service. Change-Id: Id264387bf8af8bf211050e15b8801a1fde368167
* Improvement on previous commitStephan Bergmann2012-09-111-8/+4
| | | | Change-Id: I10984b6ac4128ad46f512dade0f4e0084d0b9348
* Replace usage of rtl/memory.h in svl with equivalent from string.hArnaud Versini2012-09-064-10/+12
| | | | Change-Id: I44e6b162a190939bfa17e04f551309d6249c48df
* Java cleanup, remove unnecessary importsNoel Grandin2012-09-061-2/+0
| | | | Change-Id: Iacfcb2e16cb0e3c25a4cd0678a374fe5111284f7
* fdo#46808, Adapt util::NumberFormatter UNO service to new styleNoel Grandin2012-09-031-4/+3
| | | | | | | Create a merged XNumberFormatter2 interface for this service to implement. Which is backwards-compatible, but does not require creating a new service. Change-Id: I57f35cde0a9dbbe91c1d2c3d068cb3a97c7245e3
* resolved fdo#52240 fdo#52137 fdo#52288 user editable date patternsEike Rathke2012-08-294-21/+77
| | | | | | | | | | | | | | | | | | | | | | | | Implemented user editable date acceptance patterns. The introduction of strict date parsing using locale dependent date acceptance patterns in 3.6.0 wasn't always welcomed. Besides that not every locale had patterns for incomplete (only day and month) date input, users also complained about not being able to key in dates on numeric keypads if the locale's date separator wasn't '/' or '-' This commit implements a "Date acceptance patterns" edit field under Tools->Options->LanguageSettings->Languages that follows the selected locale and enables the user to add patterns. Example de-DE locale: * default patterns: D.M.Y;D.M. * to enable additional input on numeric keypad: D.M.Y;D.M.;D-M-Y;D-M * if 3-4 shall not result in a date, D-M- could be used instead of D-M * note that to enter an ISO 8601 Y-M-D date with a D-M-Y pattern active one needs to enter a year >31 or with at least 3 digits, e.g. 011 Change-Id: I9e20fcb168578b02d0f0248a0e209942e0f27113
* String::Expand -> string::padToLengthCaolán McNamara2012-08-292-12/+19
| | | | Change-Id: I684e371c31ba76d2e9b563eed70449764346161b
* tweaking the "fill in character" support in Calc Number Format StringsJohann Messner2012-08-283-7/+17
| | | | | | | a) changed ordering of repeat code marker ( 0x1b ) and repeat code to more sensible ( and correct imo ) order b) prevent some possible div/0 errors c) added some missing formatter 'GetOutputString' calls
* fdo#46808, Adapt TempFile UNO service to new styleNoel Grandin2012-08-272-2/+5
| | | | Change-Id: Ia448d6d74201e2be487c6d8317f94be3745808aa
* fdo#46808, Adapt script::Converter service code to new styleNoel Grandin2012-08-272-6/+4
| | | | Change-Id: I19b3ba7c978e02ce865360f0411007525012149c
* gbuild: register all jarsMichael Stahl2012-08-171-6/+6
| | | | Change-Id: I9f49970e5e06d1afd3fc066a20d1671c93e262fc
* -Werror,-Wunused-private-field (Clang towards 3.2)Stephan Bergmann2012-08-142-3/+1
| | | | Change-Id: I792247193e98cbf9225ec103911920e7f63640bf
* reduce ascii noise and useless commentsThomas Arnhold2012-08-082-4/+0
| | | | Change-Id: I317058e3b25cebb7c1d89361636261c5f16a84d4
* remove include comments and boxesThomas Arnhold2012-08-082-5/+0
| | | | Change-Id: I9ccf664e8f75a68b1b87c2b29ae617a90d0741a7
* String::AllocBuffer replacementsCaolán McNamara2012-08-072-28/+24
| | | | Change-Id: I278cd66fb4819721bb473796c28598aaf04eb123
* Remove non-existing forward declarationsThomas Arnhold2012-08-073-4/+0
| | | | | | Those classes don't exist. So remove friend class operators too. Change-Id: I8e3b32db933dea7cbab86015f0c926df967511f6
* There is not need to allocate memory just for getting the 'indexOf'Christophe JAILLET2012-08-062-3/+2
| | | | | | a literal within a OUString. Change-Id: Icc8e22c43f6ddca25cb284a3d45ab39680ad6d1f
* SfxBroadcaster: fix STL conversion:Michael Stahl2012-08-042-27/+51
| | | | | | | | | | | | | | | | | | | | | | | 50cf7caee5bc6d8e066580d13c72b40926fcb69a introduced a regression that makes the smoketest fail on Windows (though strangely not on Linux), because it removed the special handling of null pointers in the SfxBroadcaster's listener array. It is evidently possible that a listener may be either added or removed at the SfxBroadcaster while that SfxBroadcaster is currently doing a Broadcast, hence AddListener and RemoveListener must be careful not to make the in progress iteration through the listener array fail. svllo.dll!SfxBroadcaster::AddListener(SfxListener & rListener={...}) Line 114 + 0x43 bytes C++ svllo.dll!SfxListener::StartListening(SfxBroadcaster & rBroadcaster={...}, unsigned char bPreventDups=0) Line 89 C++ sfxlo.dll!SfxPrintHelper::initialize(const com::sun::star::uno::Sequence<com::sun::star::uno::Any> & aArguments={...}) Line 162 C++ sfxlo.dll!SfxBaseModel::impl_getPrintHelper() Line 3693 C++ sfxlo.dll!SfxBaseModel::Notify(SfxBroadcaster & rBC={...}, const SfxHint & rHint={...}) Line 2583 C++ svllo.dll!SfxBroadcaster::Broadcast(const SfxHint & rHint={...}) Line 56 + 0xb bytes C++ sfxlo.dll!SfxApplication::NotifyEvent(const SfxEventHint & rEventHint={...}, bool bSynchron=true) Line 918 C++ sfxlo.dll!SfxObjectShell::SetInitialized_Impl(const bool i_fromInitNew=true) Line 1146 + 0x37 bytes C++ sfxlo.dll!SfxObjectShell::FinishedLoading(unsigned short nFlags=3) Line 1302 C++ Change-Id: Id27d08faaa2472b57947960a92f19c44df55b72b
* enable preview for 'special' '*' formatsNoel Power2012-08-032-3/+11
| | | | Change-Id: I2f94c3d8d827ecabc6dd5e685bb40954fe2427c4
* cntnrsrt.hxx: remove dead codeMichael Stahl2012-08-022-167/+0
| | | | Change-Id: I004101e814ac3eb1de7a518c2dd9b1f14683eca8
* strip down UniString some moreCaolán McNamara2012-08-027-43/+46
| | | | Change-Id: Ibd749a70a7bbe8c1023edf7bd144aa6547147a12