Markus Mohrhard
c25c5a05ac
add missing file
2012-02-16 11:59:46 +01:00
Markus Mohrhard
a5661d7171
add two more test cases to XDatabaseRange
2012-02-16 00:55:18 +01:00
Markus Mohrhard
1263cafe8e
enable XDatabaseRangeTest again
2012-02-16 00:55:18 +01:00
Markus Mohrhard
2bedc40e55
this should test ods and not xls
2012-02-16 00:55:18 +01:00
Kohei Yoshida
ab0096ed68
fdo#46070: Allow copying of adjacent cells via Fill Down/Up/Left/Right.
2012-02-15 14:08:08 -05:00
Stephan Bergmann
9ab0b38e95
Various string function clean up
...
Added:
* rtl::OString::matchL
* rtl::OString::endsWith
* rtl::OString::endsWithL
* rtl::OString::indexOfL
* rtl::OString::replaceFirst
* rtl::OString::replaceAll
* rtl::OString::getToken
* rtl::OUString::endsWith
* rtl::OUString::replaceFirst
* rtl::OUString::replaceFirstAsciiL
* rtl::OUString::replaceFirstAsciiLAsciiL
* rtl::OUString::replaceAll
* rtl::OUString::replaceAllAsciiL
* rtl::OUString::replaceAllAsciiLAsciiL
* rtl::OUString::getToken
plus underlying C functions where necessary
Deprecated:
* comphelper::string::remove
* comphelper::string::getToken
Removed:
* comphelper::string::searchAndReplaceAsciiL
* comphelper::string::searchAndReplaceAllAsciiWithAscii
* comphelper::string::searchAndReplaceAsciiI
* comphelper::string::replace
* comphelper::string::matchL
* comphelper::string::matchIgnoreAsciiCaseL
* comphelper::string::indexOfL
Also fixed some apparent misuses of RTL_CONSTASCII_USTRINGPARAM ->
RTL_CONSTASCII_STRINGPARAM.
2012-02-15 15:41:09 +01:00
Tor Lillqvist
3a2cbe739d
Add comment wondering why this loadFile() isn't in osl
2012-02-15 16:20:01 +02:00
Tor Lillqvist
4eaf1feb56
Special-case files in /assets on Android
2012-02-15 16:20:00 +02:00
Tor Lillqvist
c301199804
Merge branch 'feature/android'
2012-02-15 12:00:46 +02:00
Kohei Yoshida
bc7110a06b
More String to rtl::OUString conversion while I'm at it.
2012-02-14 23:21:24 -05:00
Kohei Yoshida
d7ba94d506
Get sc to build once again with debug=true.
2012-02-14 23:06:18 -05:00
Kohei Yoshida
3290664dd1
String to rtl::OUString in the xls pivot table import code.
2012-02-14 17:19:00 -05:00
Kohei Yoshida
8bbfedd199
auto_ptr to scoped_ptr.
2012-02-14 17:19:00 -05:00
Kohei Yoshida
fe7b2a4bec
More, boolean-related cleanup. Removed unused data members.
2012-02-14 17:18:59 -05:00
Kohei Yoshida
c9cf2a6692
Removed code that's no longer relevant.
2012-02-14 17:18:59 -05:00
Kohei Yoshida
9d4b32ef3f
Fixed ODS import filter to correctly identify data layout dimension.
...
And cleaned up the code a bit. The new code should be much more
robust.
2012-02-14 17:18:59 -05:00
Kohei Yoshida
75d807f7b1
Try to preserve the orientation of data layout dimension.
2012-02-14 17:18:59 -05:00
Kohei Yoshida
7cec5493ce
Remove std::auto_ptr in favor of boost::scoped_ptr.
2012-02-14 17:18:58 -05:00
Kohei Yoshida
8f38e6a4cc
Handle painting of data layout dimension button correctly during refresh.
...
Data layout dimension can be anywhere in the row/column fields. Use the
appropriate boolean property to determine if the field is data layout.
2012-02-14 17:18:58 -05:00
Kohei Yoshida
4eedf5dc54
Correctly set pivot's popup flag when importing from Excel docs.
2012-02-14 17:18:58 -05:00
Kohei Yoshida
691f2451c8
Removed the incorrect assumption about the data layout field.
...
The Excel import filter code assumed that the data layout field be
always the last row field, which is totally wrong. The data layout
field can be at any column/row field position in fact.
2012-02-14 17:18:58 -05:00
Markus Mohrhard
289144b2fe
cleanup namedlg.cxx
...
remove unneeded comments, includes and macros
2012-02-14 16:36:01 +01:00
Kohei Yoshida
c1ebc27ec9
Use separate iterators for column and formula data.
2012-02-13 17:12:27 -05:00
Ivan Timofeev
bf789d4a40
make the return statement more visible
2012-02-13 22:46:38 +04:00
Kohei Yoshida
ee38b167c8
fdo#45916: Ensure formula cell's pCode isn't NULL even when compilation fails.
2012-02-13 22:33:42 +04:00
Elton Chung
952b46570c
Remove unused code
2012-02-13 15:58:48 +00:00
Noel Power
0c998c462a
some very minor tweak(s) to "Improvment-of-Custom-Sheet-Prefix-Option"
...
a) allow blank default prefix
b) select the entire last good prefix is some illegal character used
2012-02-13 15:22:37 +00:00
Albert Thuswaldner
afeb347c90
Improvment of Custom Sheet Prefix Option
2012-02-13 15:22:37 +00:00
Kohei Yoshida
acbb997eda
Move it down a bit, to hopefully get Norbert's Mac tinderbox to build.
2012-02-13 09:15:28 -05:00
Markus Mohrhard
75b4d17f96
use better assertion macros
2012-02-12 02:47:37 +01:00
Markus Mohrhard
8fab50dcb2
refactor subsequent_filters-test and move each test into own method
2012-02-11 17:21:59 +01:00
Markus Mohrhard
423fb7b736
refactor filters-test and move each test in own method
2012-02-11 17:21:59 +01:00
Matúš Kukan
55cac8c903
unusedcode: remove XclObjId and unused typedefs
2012-02-10 21:41:48 +01:00
Matúš Kukan
5cabaf5a32
fdo#39491 more of unnecessary include paths
2012-02-10 21:41:46 +01:00
Matúš Kukan
12bf03351e
fdo#39491 remove nonexistent include paths
2012-02-10 21:41:45 +01:00
Matúš Kukan
4b30ec9def
fdo#39491 -I$(OUTDIR)/inc is set in SOLARINC
2012-02-10 21:41:45 +01:00
Kohei Yoshida
ce03ae64b5
Cleaned up ScDPSource and ScDPMember(s) a bit.
...
* boolean, string conversion.
* removing virtual keywords when it makes no sense.
* privatize methods that are called only from within.
* removed methods that are not used.
* etc.
2012-02-10 15:34:58 -05:00
Kohei Yoshida
e1bb54d77d
String to rtl::OUString.
2012-02-10 15:34:58 -05:00
Markus Mohrhard
82e349fd80
add XDataPilotTable2 test to ScDatPilotTableObj
2012-02-10 19:19:30 +01:00
Kohei Yoshida
50078bd1ef
Fixed the accidental swapping of equality / non-equality condition.
...
This should fix Stephan's tinderbox error.
2012-02-10 12:07:18 -05:00
Eike Rathke
43aa1115c8
changes to "convert detdata.cxx in SC module to boost:ptr_vector"
...
* for includes from other modules use <> instead of "", i.e.
<boost/ptr_container/ptr_vector.hpp>
* use size_t instead of int for container positions and count
* no need for DeleteAndDestroy(), in fact delete p followed by
ptr_vector::erase() attempted to delete the instance twice and would crash
* adapted places that accessed DeleteAndDestroy() to operate on the vector
instead
* introduced GetDataVector() for that
* changed the DeleteOnTab() loop that used DeleteAndDestroy() to properly
iterate over the container instead
* changed UpdateReference() to a loop using iterator
* changed operator==() to use size_t instead of sal_uInt16
* note aside: mixing sal_uInt16 with a container's size isn't a good idea
* adapted places that access Count() and GetObject() to use size_t instead of
sal_uInt16
* made GetObject() const and return const ScDetOpData*
* changed indentation to 4 spaces per level
2012-02-10 17:27:27 +01:00
Noel Grandin
d4a31e6ae2
convert detdata.cxx in SC module to boost:ptr_vector
...
converts usage of SV_DECL_PTRARR_DEL in sc/inc/detdata.hxx and associated code
to boost::ptr_vector
2012-02-10 17:27:27 +01:00
Takeshi Abe
2b1758a2dc
Prefer equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) to equalsAscii(...)
2012-02-10 23:01:07 +09:00
Caolán McNamara
39bfd6c0bc
can use direct operator[] variants
2012-02-10 11:09:08 +00:00
Kohei Yoshida
e409c5204e
ByteString to rtl::OStringBuffer.
2012-02-09 23:52:46 -05:00
Kohei Yoshida
e33c26e6bd
Expanded macros to make it easier to work on ByteString.
2012-02-09 23:43:12 -05:00
Kohei Yoshida
e20365e6dd
ByteString to rtl::OString.
2012-02-09 22:39:32 -05:00
Kohei Yoshida
70afc6aac3
ByteString,UniString to rtl variants.
2012-02-09 22:31:08 -05:00
Kohei Yoshida
59e6543ded
A bit of code-sharing.
2012-02-09 21:59:27 -05:00
Kohei Yoshida
4f6cc735d7
Convert ByteString, UniString to rtl variants in AsciiSave.
2012-02-09 20:52:58 -05:00