summaryrefslogtreecommitdiff
path: root/svl/source/passwordcontainer
AgeCommit message (Collapse)AuthorFilesLines
2015-03-31Reduce to static_cast any reinterpret_cast from void pointersStephan Bergmann1-1/+1
Change-Id: I7e0e4982611d2680d657f99eb2359db1f80e4f96
2015-03-11utl::ConfigItem::Commit() should call ClearModified()Michael Stahl3-4/+5
Rename the virtual function, and add a new non-virtual Commit() to do that. Change-Id: I09421df781ba965d6ff638b46cd8214fb3a00022
2015-03-11V668 no sense in testing the result of new against nullCaolán McNamara1-3/+2
Change-Id: I4a33bd92fc8448638a4bfe1eab7e5041a4c5cc39
2015-03-04V813: Decreased performanceCaolán McNamara1-5/+2
Change-Id: I8a7528366156b288dc422b09cff0d5a32cde3c91
2015-01-20Some more loplugin:cstylecast: svlStephan Bergmann1-6/+6
Change-Id: I98f34cd3925189941d33056d709a5f5bc26412a7
2015-01-12fdo#39440 reduce scope of local variablesMichael Weghorn1-3/+2
This addresses some cppcheck warnings. Change-Id: I46b9293eed0cba2ebca119cc1fb0a6334ea66308 Reviewed-on: https://gerrit.libreoffice.org/13844 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2014-12-18svl: Use appropriate OUString functions on string constantsStephan Bergmann1-1/+1
Change-Id: I212dccf416fda574f940f13a2b1de5c293b3f9fd
2014-11-17sal: clean up public headers with include-what-you-useMichael Stahl2-0/+2
Sadly cannot forward declare "struct {...} TimeValue;". rtl/(u)?string.hxx still include sal/log.hxx but removing osl/diagnose.h was painful enough for now... Change-Id: Id41e17f3870c4f24c53ce7b11f2c40a3d14d1f05
2014-11-14fdo#86023 - O[U]String needs a 'clear' methodBrij Mohan Lal Srivastava1-1/+1
Added clear() method to OString and OUString class, Updated appropriate call-sites. Change-Id: I0ba97fa6dc7af3e31b605953089a4e8e9c3e61ac Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-05-23remove boilerplate in UNO Exception constructor callsNoel Grandin1-2/+2
Now that we have default values for Exception constructor params, remove lots of boilerplate code. Change-Id: I620bd641eecfed38e6123873b3b94aaf47922e74
2014-05-15fix-includes.pl: svlThomas Arnhold2-5/+5
Change-Id: I18fb7a677e2bb98c83f43f5af3fa988393dc23f9
2014-04-03remove unnecessary scope qualifier from sal_Bool usesNoel Grandin1-7/+7
i.e. convert "::sal_Bool" to "sal_Bool" Change-Id: Ie5943aee4fee617bf2670655558927ed25b7e067
2014-03-26First batch of adding SAL_OVERRRIDE to overriding function declarationsStephan Bergmann1-2/+2
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
2014-03-13sfx2,svl: prefer passing OUString and OString by referenceNoel Grandin1-2/+2
Change-Id: I9833265f6e635a057cea2c4a945cc73809b1e2ef
2014-02-26cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann1-24/+24
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-20svl: sal_Bool -> boolStephan Bergmann1-19/+19
Change-Id: Ic31455a1f5ffffa35d4fdde901dd70734207b6f4
2014-02-17ucbhelper: sal_Bool -> boolStephan Bergmann1-6/+6
Change-Id: Iee327c3dd75bebb35d99de01eaa7103956e08974
2014-01-28bool improvementsStephan Bergmann1-4/+4
Change-Id: I6cf511b92383f3cd60923620518b9233b82850c0
2014-01-16fdo#54938: Convert svx and svl to cppu::supportsService...Marcos Paulo de Souza1-9/+2
...final season Change-Id: Ie51ac231def4a8a6e2681b81de7580798c95eed2
2013-12-17Adapt all (non-extension, SharedLibrary) .components to environment="..."Stephan Bergmann1-1/+2
Change-Id: I56f38bd786f3a026cb2908f28540dc9c4003af83
2013-11-19remove unnecessary use of OUString constructor when assigningNoel Grandin1-3/+3
change code like aStr = OUString("xxxx"); to aStr = "xxxx"; Change-Id: Ib981a5cc735677ec5dba76ef9279a107d22e99d4
2013-11-14remove unnecessary sal_Unicode casts in various placesNoel Grandin2-7/+5
Change-Id: Ibf04062ca86ed866202d748c3b62a210d30ed6ec
2013-11-11convert OUString compareToAscii == 0 to equalsAsciiNoel Grandin1-2/+2
Convert code like aStr.compareToAscii("XXX") == 0 to aStr.equalsAscii("XXX") which is both easier to read and faster. Change-Id: I448abf58f2fa0e7715dba53f8e8825ca0587c83f
2013-11-08remove unnecessary use of OUString constructor in SVL moduleNoel Grandin1-9/+9
Change-Id: Ib3c2f2b43895fe45e9efff888bbd81d8be5969e4
2013-11-04remove redundant calls to OUString constructorNoel Grandin1-7/+3
Change code like this: aStr = OUString("xxxx"); into this: aStr = "xxxx"; Change-Id: I31cb92e21658d57bb9e14b65c179536eae8096f6
2013-11-04Convert code that calls OUString::getStr()[] to use the [] operatorNoel Grandin1-1/+1
This also means that this code now gets bounds checked in debug builds. Change-Id: Id777f85eaee6a737bbcb84625e6e110abe0e0f27
2013-10-28fixincludeguards.sh: svlThomas Arnhold1-3/+3
Change-Id: I70ef44216fb7ddb4e12b9d90406b45cc594279f0
2013-10-23convert code to use OUString::endsWithNoel Grandin2-6/+6
Convert places that call aStr[aStr.getLength()-1] == 'x' to use the shorter form aStr.endsWith("x") Change-Id: I1b3a19c0e89b8989cdbeed440f95fc76f9a4b6b6
2013-10-02WaE: unused variableTor Lillqvist1-2/+0
Change-Id: Ieed1b52624afa8fc36fadb54d3209a3482416068
2013-08-21finish deprecation of O(U)String::valueOf()Luboš Luňák1-5/+5
Compiler plugin to replace with matching number(), boolean() or OUString ctor, ran it, few manual tweaks, mark as really deprecated. Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
2013-07-17fdo#62475 removed pointless commentsJelle van der Waa2-67/+0
Change-Id: Id9d579960a9b641b7b2cdf05eabea8bfbfc06bd6 Reviewed-on: https://gerrit.libreoffice.org/4901 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-06-29remove OUString wrap for string literalsThomas Arnhold1-4/+4
For some functions and all kinds of Exceptions. CannotConvertException CloseVetoException DisposedException EmptyUndoStackException ErrorCodeIOException Exception GridInvalidDataException GridInvalidModelException IOException IllegalAccessException IllegalArgumentException IllegalTypeException IndexOutOfBoundsException NoMasterException NoSuchElementException NoSupportException PropertyVetoException RuntimeException SAXException ScannerException StorageWrappedTargetException UnsupportedFlavorException VetoException WrappedTargetException ZipIOException throwGenericSQLException throwIllegallArgumentException createInstance createInstanceWithContext forName getByName getPackageManager getPropertyValue getUnpackedValueOrDefault getValueByName hasPropertyByName openKey setName setPropertyValue supportsService bash command: for i in `cat list`; do git grep "$i\s*(\s*OUString(\s*\"" -- '*.[hc]xx' | cut -d ':' -f1 | sort -u | xargs sed -i -e "s/\(\<$i\s*(\)\s*OUString(\s*\(\"[^\")\\]*\"\)\s*)\s*/\1\2/g" -e "s/\($i.*\)\"+ /\1\" + /g"; done Change-Id: Iaf8e641b0abf28c082906014f87a183517630535 Reviewed-on: https://gerrit.libreoffice.org/4624 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-06-13Introduce O[U]String::toUInt32Stephan Bergmann1-3/+3
...which has become necessary since bd60d41176da540b01d7583cfe00637431967f39 "Handle oveflow in O(U)String::toInt() functions" reduces values in the range (SAL_MAX_INT32 .. SAL_MAX_UINT32] to zero, but some calls of toInt32(16) relied on getting a correct (unsigned) value for the whole input range ["0" .. "FFFFFFFF"] (see libreoffice-4-1 commit 9bf6c83367cedb7be81bf67f30d2147d26c7a8c3 "Revert overflow checks in O[U]String::toInt{32,64} again"). Audited all uses of toInt32/64 with non-decimal radix. (There is still a TODO comment in oox/source/helper/attributelist.cxx, and stoc/source/typeconv/convert.cxx will still need some love and test code.) Change-Id: Iadaca1c0e41dab553687d0ce41c20c10cd657a95
2013-06-05fdo#46808, Convert XMultiServiceFactory in svl moduleNoel Grandin1-2/+2
Change-Id: Ia51d748af3b29a6021e6f5307a60d87f17917f24
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák3-163/+163
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
2012-10-24PasswordContainer::allowPersistentStoring: fix warning C4805Michael Stahl1-1/+1
Change-Id: I8e2208bd054272ef6b461eadf1244e84968e8737
2012-10-04Fixes/improvements on previous commitStephan Bergmann1-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
2012-10-04fdo#46808, Adapt task::InteractionHandler UNO service to new styleNoel Grandin1-3/+8
Since we don't need to expose XInitialisation, we can make the new-style service implement XInteractionHandler2. Change-Id: Ib27beed1c12df17592c6472d6f58c233d2c41558
2012-10-02sal_Bool->bool in svl::PasswordContainerNoel Grandin1-12/+12
Change-Id: I2be813554e773fade260a78eb677022b4c6991b0
2012-08-06There is not need to allocate memory just for getting the 'indexOf'Christophe JAILLET2-3/+2
a literal within a OUString. Change-Id: Icc8e22c43f6ddca25cb284a3d45ab39680ad6d1f
2012-07-02re-base on ALv2 code.Michael Meeks3-72/+45
2012-06-21re-base on ALv2 code.Michael Meeks1-23/+14
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-10nuke dead codeTakeshi Abe1-3/+0
Change-Id: I666791b2a2bb817d59625868d5e2df1a9341b2ff
2012-06-02targeted string re-workNorbert Thiebaud2-41/+37
Change-Id: I20062aa0d39c0675014f1d38f10d6ab5c331ec75
2012-05-12Replace !var.size() by var.empty()Julien Nabet1-1/+1
Change-Id: I936b59a5bf339d1520cbc10e51b1e9fdc937f0f3
2012-01-21Removed some unused parameters; added SAL_UNUSED_PARAMETER.Stephan Bergmann1-1/+3
SAL_UNUSED_PARAMETER (expanding to __attribute__ ((unused)) for GCC) is used to annotate legitimately unused parameters, so that static analysis tools can tell legitimately unused parameters from truly unnecessary ones. To that end, some patches for external modules are also added, that are only applied when compiling with GCC and add necessary __attribute__ ((unused)) in headers.
2012-01-13Fix for fdo43460 Part XXXVI getLength() to isEmpty()Olivier Hallot2-21/+21
Part XXXVI Modules svl
2011-11-27remove include of pch header from svlNorbert Thiebaud1-2/+0
2011-08-29merge together 5 or ascii isalpha/isalnum/isdigit implementationsCaolán McNamara1-8/+3
2011-07-12Remove component_getImplementationEnvironment methodsMatus Kukan1-6/+0