Commit graph

20997 commits

Author SHA1 Message Date
Nigel Hawkins
be0177fe4f Replace ScfNoInstance with boost::noncopyable and private constructor. 2010-11-12 09:07:54 -05:00
Julien Nabet
e4980a90c6 RTL_CONSTASCII_USTRINGPARAM for calc_unoobj 2010-11-12 12:55:29 +01:00
Julien Nabet
93b5940b98 RTL_CONSTASCII_USTRINGPARAM for calc_ui 2010-11-12 08:47:15 +01:00
J. Graeme Lingard
65c8902e30 Remove empty Beschreibung (Description) comments 2010-11-11 23:03:25 +00:00
J. Graeme Lingard
76293daa8c Remove commented out code - //REMOVE 2010-11-11 20:33:40 +00:00
Julien Nabet
c64cb59aa0 Use RTL_CONSTASCII_USTRINGPARAM 2010-11-11 14:04:25 +00:00
Julien Nabet
381c8d7694 use RTL_CONSTASCII_USTRINGPARAM 2010-11-11 10:10:14 +00:00
julien
e07243e5ce Replaced OUString::createFromAscii() with RTL_CONSTASCII_USTRINGPARAM. 2010-11-10 21:59:31 -05:00
Kohei Yoshida
5c785100ba Wrong indentation. 2010-11-10 21:42:10 -05:00
Kohei Yoshida
315cc83f3d Friendly in-line comment to give the audience more info. 2010-11-10 16:50:29 -05:00
Kohei Yoshida
75b796a60d Disable document modify and broadcasting of changes on range names.
We don't need to set document status modified & broadcast changes
on every single addition of range names during document import.
Doing so would make the document import painfully slow esp with
docs with lots of range names defined. (n#634257)
2010-11-10 15:51:56 -05:00
Nigel Hawkins
b88fa86f58 Replace ScfNoCopy in calc with boost::noncopyable. 2010-11-10 13:08:12 -05:00
Caolán McNamara
12752d6351 #i106768# deference followed by check of pointer 2010-11-10 11:14:30 +00:00
Joseph Powers
84e5a57675 Bitmap Tree Cleanup - calc
Removed all references to HIGHCONTRAST mode from svtools classes:
	SvImpLBox
	SvTreeListBox

The reset is just fall out.
2010-11-10 10:00:33 +01:00
Thorsten Behrens
a5317717f4 Cleansed commented-out code
Just using a German title clearly conveys no useful information.
2010-11-09 22:16:26 +01:00
Kevin Hunter
91805e713e EasyHack: createFromAscii to RTL macro 2010-11-09 21:08:15 +00:00
Kohei Yoshida
4fa05ecc08 Use a stack variable to manage locking & unlocking of mutex. 2010-11-09 12:40:58 -05:00
Kohei Yoshida
547bcae667 Change the default sheet print option to "print entire sheet".
Previously, sheet had its default print option set to "print nothing",
but when all sheets have "print nothing" option set, calc would print
as if they all have "print entire sheet" option.  The problem comes
when you set a custom print area to one sheet, which causes calc to
skip all the other sheets from printing.

This is not intuitive at all. Let's change the default print option
to "print entire sheet".  This also matches Excel's behavior BTW.
(n#650551)
2010-11-09 11:44:07 -05:00
Kohei Yoshida
f94db13767 Fixed a crash on importing named ranges on higher sheets.
When importing xls document containing named ranges on sheets higher
than 256 (max number of sheets Calc supports currently), Calc would
crash.  We need to check for the upper boundary condition before
accessing the array by index to prevent crash. (n#649941)
2010-11-08 16:27:37 -05:00
René Kjellerup
7fea18e09a comment crean up in sc
cleaned some added comments from silencing the compiler.
WritePicPr(...) has been removed since it seems unused by all
accounts.
2010-11-08 14:59:18 -05:00
Ricardo Moreno
6a0632fe7e Removed commented-out code. 2010-11-08 12:01:47 -05:00
Ricardo Moreno
56b9f35f0e Removed commented-out code. 2010-11-08 10:51:25 -05:00
J. Graeme Lingard
63ca01e5d1 Remove redundant #ifndef directives 2010-11-07 17:58:05 +00:00
Kohei Yoshida
9fc1800ef5 Forgot to remove this comment. 2010-11-06 11:51:13 -04:00
Kohei Yoshida
b932c6df6a Did some additional cleanups. 2010-11-06 11:45:54 -04:00
Alexander O. Anisimov
401700a8df Remove bogus comments. 2010-11-06 11:45:53 -04:00
Joseph Powers
ef816f4d2c High-Contrast Cleanup Phase #1 2010-11-06 09:19:56 -05:00
Kohei Yoshida
9153166f42 Removed another unnecessary return statement. 2010-11-05 13:38:18 -04:00
Kohei Yoshida
ae88ece6b0 Merge branch 'feature/calc-function-linest-logest' 2010-11-05 13:15:31 -04:00
Noel Power
b0b013c78e Merge branch 'master' of ssh://git.freedesktop.org/git/libreoffice/calc 2010-11-05 11:37:50 +00:00
Tor Lillqvist
4bc06890a7 Fix Windows build error
Include <windows.h> explicitly, surrounded by the prewin.h and
postwin.h headers. Also #undef ERROR to avoid a clash. Approved by
caolan.
2010-11-05 11:11:52 +02:00
Kohei Yoshida
31380277b2 Removed unnecessary return statement. 2010-11-04 23:12:15 -04:00
Kohei Yoshida
d7f0159b32 Fixed wrong indentations.
For some reason the indentations were all out of wrack.
2010-11-04 18:51:24 -04:00
Kohei Yoshida
bf81bb9fbc Put local functions inside anonymous namespace. 2010-11-04 18:01:45 -04:00
Regina Henschel
7578d6601a Patch for LINEST|LOGEST and TREND|GROWTH. 2010-11-04 17:45:33 -04:00
Noel Power
da3733b703 Fix logic for XLA1Representation for CellAddress/RangeConversion 2010-11-04 21:26:31 +00:00
Kohei Yoshida
9f8034f2ad Refactoring ODS import in favor of using boost::ptr_vector.
Replaced use of std::vector being used as a c-style array, with
boost::ptr_vector to make the code simpler.  This change in fact
slightly improves import performance.
2010-11-04 15:02:42 -04:00
Kevin Hunter
f48ebc8b4a Unused code removal 2010-11-04 14:30:53 +01:00
Kevin Hunter
8806469246 Removed unused code 2010-11-04 14:29:04 +01:00
Kevin Hunter
0cac2a3749 Unused code removal 2010-11-04 14:22:49 +01:00
Kevin Hunter
b51babe211 Minor commented-out code removal 2010-11-04 14:19:32 +01:00
Kevin Hunter
244dfba8a1 Minor commented-out code removal 2010-11-04 14:12:59 +01:00
Jan Holesovsky
933857183e 'configmgr' not necessary for the 'sc' unit tests. 2010-11-03 23:25:58 +01:00
Kohei Yoshida
5fd666fd0f Set correct default formula syntax value in case it's not explicitly set.
When starting from a fresh config, Calc failed to assign default 'Calc A1'
syntax unless the user specifically goes to the Options page and sets the
formula syntax in the Calc - Formula options page.  This caused e.g.
print range editing to fail miserably. (fdo#31041)
2010-11-03 14:41:59 -04:00
René Kjellerup
892231d6dc Warning free sc module 2010-11-03 12:34:09 -04:00
Thomas Klausner
549fb00d59 Add many more files to EXCEPTIONSFILES, needed at least on NetBSD. 2010-11-03 15:49:03 +01:00
Jan Holesovsky
a6f922c232 Enable the Calc unit tests again (on Linux). 2010-11-03 12:43:11 +01:00
Joost Eekhoorn
ff6e2a79d3 RTL_CONSTASCII_USTRINGPARAM macro 2010-11-02 20:52:20 +00:00
Noel Power
74d2cd1398 initial import of latest cws container_controls 2010-11-02 19:36:00 +00:00
Caolán McNamara
020e345334 missing bracket 2010-11-02 10:36:13 +00:00