Age | Commit message (Collapse) | Author | Files | Lines |
|
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
|
|
Added clear() method to OString and OUString class, Updated appropriate call-sites.
Change-Id: I0ba97fa6dc7af3e31b605953089a4e8e9c3e61ac
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
|
|
Change-Id: I3dd844c656766835079bc191b3b55d3fba2c2219
|
|
Change-Id: I98d3f4a68abfee42dac987633878b850134671d3
|
|
Put the TOOLS Time class in the tools namespace. Avoids clash with the X11
Time typedef.
Change-Id: Iac57d5aef35e81ace1ee0d5e6d76cb278f8ad866
Reviewed-on: https://gerrit.libreoffice.org/11684
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
|
|
Change-Id: I4c2f2f0bcce52839033876ec991529721e06a3c8
|
|
Change-Id: Ibf78e5cd1620f0b61cae030e3870be4a6f87e71d
|
|
Change-Id: I9464179a736b91f5bc32eb5e5e89b3b4e3da3494
|
|
convert places using compareToAscii that should be using equalsAscii
Change-Id: I97b4da7f6e867c3967b2f65b70d6886f83b4a4e5
|
|
Change-Id: If87cdfb2c605254f6d69baa4ca5aec09091caa68
|
|
...so that utl::TempFile can pass osl_File_OpenFlag_Private and doesn't have to
resort to umask (the calls to umask around Directory::create had somewhat
erroneously been removed recently with 1d72a0262c4570631d0aa8f98e34e21fb9d6ae42
"Related fdo#60338: Create missing temp file dir with user's original umask,"
mistaking this for creation of intermediate directories in the hierarchy).
On Windows, the flags argument to osl_createDirectoryWithFlags is ignored
completely for now.
Change-Id: Iac56a5049d579be729a3f338aa62105123edb6cb
|
|
Detect arguments larger than 64 chars passed by value.
Change-Id: I9b0ea9ccb99d115984a26eab67c9cf6afd5f6cae
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
|
|
Change-Id: I293295244d1b089d747548c5025cb73b8ec428a4
|
|
Change-Id: I16347d52dd7c102c7bf6a8fd2926e61e6cf75c0b
|
|
...i.e., bug fdo#41295 and its fix rediscovered.
Change-Id: If958fad74c853f51660a9e0bfffd99969052ea80
|
|
This is a follow-up to fcf455d4efde077bb2b092b607de12ebfc350275 "Consolidate
CreateTempName_Impl and lcl_createName," which apparently lead to hard-to-
diagnose sporadic "make check" failures on some machines. Hope is that bLock
now more carefully tracking the behavior of the original two functions fixes
that.
Change-Id: I37ba00545f5921fd603ff9f1ea46927c42e88899
|
|
Change-Id: I0a781a86804808cebf7756506d9299971c13e2ff
|
|
Change-Id: I4dbb917a6d9343f797859a2f24fa1d92b26a51eb
|
|
...introduced with 2d8c990f8790be43cf4dda4bc871a917b9dcc974 "INTEGRATION:
CWS reportdesign01: #i79214# new method to allow to start not with zero."
Change-Id: Id141b2913ceb47c0c54f4449bdcdf5130c6f355b
|
|
Change-Id: I8f14cd351c17abaa9d48144cdf8325afc250787b
|
|
Change-Id: Ide12ea21104af678dc541ed0e83970e7a2f5e694
|
|
For one, that is consistent with how ensuredir (in the same .cxx) has always
worked, and for another saves us from trouble with umask, cf.
034d4c111976f337877e5954c6cc95ed9f90a343 "Related fdo#60338: Setting umask for
osl::Directory::open is useless."
Change-Id: Ic3fb5bb29ca3031d257067a514cb9f5bccfbfe4f
|
|
Maybe 39c58e416252571a04b8ebbb56c9fa012b117993 "INTEGRATION: CWS
olefix: #i46469# use correct umask on unix" had intended to put it around the
osl::Directory::create call instead, but given the trouble of calling umask(3)
in a MT program at all, it is probably better to keep creating any missing
directories with the user's original umask anyway.
Change-Id: Idfddfdab05373a3c395daba635fddcc054f3f215
|
|
Change-Id: I1b2b8d58cec548961fb06f2595fd474010ae9979
|
|
Change-Id: If94971484109fb63d2e20af77d023e6552a02ba8
|
|
and hopefully a million more
Change-Id: Ib1326cae3ec93855b311a8cf4e9e6f9def199d44
|
|
Change-Id: I2905e98425b9991d6138ab0adc15083d313ca445
|
|
Change-Id: I2d8b430e1a6c23569eb0a67a2dcf8702cf7abc41
|
|
Change-Id: I949ba575951998d36cb4d38746f2182633046b3b
|
|
Change-Id: I4a9c3faa194ae0885dc27571cc14c4c8cee8cb0f
|
|
i.e. convert "::sal_Bool" to "sal_Bool"
Change-Id: Ie5943aee4fee617bf2670655558927ed25b7e067
|
|
It appears that the C++ standard allows overriding destructors to be marked
"override," but at least some MSVC versions complain about it, so at least make
sure such destructors are explicitly marked "virtual."
Change-Id: I0e1cafa7584fd16ebdce61f569eae2373a71b0a1
|
|
Change-Id: I5601a1d6d37f5d30d50bbe22e1079d8c6acf2c4b
|
|
unottols TempFile class check in debug bod for
and env variable LO_TESTNAME.. if present it use that as the root
for the tempfile filename.
cppunitteset framework is augmented so that it export such
LO_TESNAME using the cppunit testName(), after replacement of
non-alphnum characters by _
Change-Id: Iebb9545d3bd789083afbeaf4c64eab086b56049a
|
|
Bump stream positions to 64 bits on:
SvLockBytes::SetSize()
SvStream::SeekPos()
SvStream::SetSize()
SvStream::SetStreamSize()
SvStream::Seek()
SvStream::SeekRel()
SvStream::Tell()
SvStream::remainingSize()
SvStream::nActPos
SvStream::nBufFilePos
Change-Id: I0521fd60d31d1a33e5634cbf51dd42edc46ad919
TODO: adapt callers of Seek()/SeekRel()/Tell()/remainingSize()
|
|
Bump stream positions to 64 bits on:
SvLockBytes::ReadAt()
SvLockBytes::WriteAt()
SvAsyncLockBytes::m_nSize
SvOpenLockBytes::Seek()
SvOpenLockBytes::Tell()
SvOutputStreamOpenLockBytes::m_nPosition
OInputStreamHelper::m_nActPos
Change-Id: Ica3b674e0ab23a756260a51475e97a5396ecdddb
|
|
...mostly done with a rewriting Clang plugin, with just some manual tweaking
necessary to fix poor macro usage.
Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
|
|
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
|
|
Change-Id: I1285c4e47ad381934adc3aea6671e7c95d820c39
Reviewed-on: https://gerrit.libreoffice.org/8334
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
|
|
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb
Reviewed-on: https://gerrit.libreoffice.org/8182
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
Change-Id: I8051c0756e0474a5b4f748e0aa15a9922e82ea97
|
|
Change-Id: I512c525029ebd63d261560d27e9f38bbe94f7e10
Reviewed-on: https://gerrit.libreoffice.org/7649
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Marcos Souza <marcos.souza.org@gmail.com>
Tested-by: Marcos Souza <marcos.souza.org@gmail.com>
|
|
Change-Id: I7020537797b181b0fcbf78de3d7b962b96744895
|
|
Change-Id: Ibf04062ca86ed866202d748c3b62a210d30ed6ec
|
|
Convert code like
aStr.compareToAscii("XXX") == 0
to
aStr.equalsAscii("XXX")
which is both easier to read and faster.
Change-Id: I448abf58f2fa0e7715dba53f8e8825ca0587c83f
|
|
Convert code like:
0 == aStr.compareToAscii("XXX")
to
aStr.equalsAscii("XXX")
which is both clearer and faster.
Change-Id: I2e906d7d38494db38eb292702fadb781b1251e07
|
|
Change-Id: Iad166e6b9ce0877200bd58c388b3914b15167196
|
|
Convert code like:
if( aStr == OUString("xxxx") )
to this:
if( aStr == "xxxx" )
Change-Id: I8d201f048477731eff590fb988259ef0935c080c
|
|
Change-Id: Idf4bee8c51e3082d2b815d9cf5c3d7374e598622
|
|
Convert places that call
aStr[aStr.getLength()-1] == 'x'
to use the shorter form
aStr.endsWith("x")
Change-Id: I1b3a19c0e89b8989cdbeed440f95fc76f9a4b6b6
|