Commit graph

1174 commits

Author SHA1 Message Date
Noel Power
8ada1cd284 move excel related oox bits to sc 2012-03-16 12:31:01 +00:00
Noel Power
1bd695d3dd fix mishandling of 'End Sub' is there is a trailing comment fod#46889 2012-03-15 19:50:59 +00:00
Petr Vorel
a13a9a048a remove unused code (oox, sd) 2012-03-15 16:57:45 +01:00
Mariana Marasoiu
02f1aad700 Remove unused code in drawingml/table. 2012-03-14 16:41:19 +00:00
Mariana Marasoiu
238944f008 Remove unused code in drawingml/theme. 2012-03-14 16:41:15 +00:00
Mariana Marasoiu
f8c476f70c Remove unused code in drawingml/diagram. 2012-03-14 16:41:12 +00:00
Mariana Marasoiu
0b54154f53 Remove unused code in drawingml. 2012-03-14 16:41:08 +00:00
Petr Vorel
b6ff047a57 remove unused code 2012-03-11 19:03:56 +04:00
Noel Power
14620c3b33 support import of key shortcut for macro ( Excel only ) 2012-03-05 20:15:16 +00:00
Muthu Subramanian
d082cb2060 n747499: Wav/Audio files import - stub. 2012-03-05 19:11:04 +05:30
Petr Vorel
2bdac353ce remove unused code 2012-03-05 10:26:44 +02:00
Julien Nabet
5122196acc Avoid temporary rtl::OUString 2012-03-03 15:05:28 +01:00
Tor Lillqvist
c492c10348 WaE: two unused functions 2012-03-03 01:16:29 +02:00
Tor Lillqvist
30313007a8 WaE: use of logical '&&' with constant operand
Surely it's the bitwise operator & that is wanted here. The code makes
no sense otherwise. We apparently have been generating UUIDs where
every second hex digit is always a '1', like
{x1x1x1x1-x1x1-x1x1-x1x1-x1x1x1x1x1x1} (where each x is a random hex
digit).
2012-03-03 01:16:28 +02:00
Tor Lillqvist
b43bdd47fe WaE: expression result unused
Remopve apparently accidentally leftover initializer parameter list
that now was just a comma expression with no effect.
2012-03-03 01:16:27 +02:00
Michael Stahl
56665a8a22 oox::drawingml::Shape: fix "lock underflow in SvxShape" assertions 2012-03-03 00:05:28 +01:00
Michael Meeks
5d49bf62bf customshapes: re-generate smaller, faster to compile data. 2012-03-02 22:14:25 +00:00
Michael Meeks
62ee264429 customshapes: special-case Sequence of EnhancedCustomShapeParameterPair
another 20% compile time win, and 350K saved from the shared library
2012-03-02 22:14:25 +00:00
Michael Meeks
40b30c31ff customshapes: special case EnhancedCustomShapeParameterPair to win
Gives a 50% shrink in compile time, and a ~1Mb shrink in binary size
2012-03-02 22:14:24 +00:00
Michael Meeks
f59733657f customshapes: use static integer array for EnhancedCustomShapeSequences
Saves 4% compile time and 200K of space
2012-03-02 22:14:24 +00:00
Michael Meeks
36f8ef7f3f customshapes: 800k size saving, and 25% compile speedup
Use static const char * arrays and a helper function instead
of inlining umpteen OUString intern calls.
2012-03-02 22:14:24 +00:00
Radek Doulik
e3c0a952a7 generate more pptx test documents with preset shapes
- before we only generated custom shapes used as presets definition
 - preset-*.pptx documents might be used for testing the presets
2012-03-02 20:43:10 +01:00
Michael Meeks
d4157cefc5 customshapes: commit updated autogenerated output. 2012-03-02 17:10:24 +00:00
Michael Meeks
f291fb57d0 customshapes: re-work generation to create many small methods
each custom shape now has a virtual constructor we can call to
construct it, this shrinks the function size, and helps the
optimiser much accelerating compile time. It may even help
improve import time too.
2012-03-02 17:10:24 +00:00
Michael Meeks
b52ccb87d8 document customshapes (re-)generation flow. 2012-03-02 17:10:24 +00:00
Noel Power
24b402d67e weed out unmatched Sub/End Sub statements when importing VBA fdo#46889 2012-03-02 13:07:09 +00:00
Felix Zhang
101fd17330 n719988, n734733: Bullet should have same color as following text by default 2012-03-02 13:59:07 +01:00
Muthu Subramanian
77901e53ec n657904: Styling information isn't applied to grpSp. 2012-03-02 18:01:45 +05:30
Muthu Subramanian
1a2a2a02bd n#746996: Wrong text color in smartArt.
Some fontRef elements don't seem to define color, but the
spec. says it needs to be used along with choice of color.
So, assuming tx1 when there are none defined.
2012-02-29 18:55:02 +05:30
Santiago Martinez
37eb6211b2 Remove unused code in BiffInputStream. 2012-02-28 14:03:07 +00:00
Santiago Martinez
d4c467f7d3 Remove unused code in BiffObjLineModel. 2012-02-28 14:01:00 +00:00
Michael Meeks
602908b300 fix oox debug build with DBG_UTIL guard for 'dump' usage 2012-02-24 11:22:29 +00:00
Miklos Vajna
15af96ffec oox: guard dbgutil-only methods with ifdef 2012-02-24 10:08:04 +01:00
Eike Rathke
29b1914fad reintroduced dump methods that are needed if OSL_DEBUG_LEVEL > 0
* Partly reverted commit 660cb78cd6 to preserve
  the oox::PropertyMap::dump() methods that are needed by
  oox::PropertySet::dump() when building dbgutil.
* Did not remove the oox::PropertySet::dump() as well because all is part of
  the oox dumper, I guess we don't want to remove that in it's entirety ...
2012-02-24 01:03:55 +01:00
Matúš Kukan
660cb78cd6 unusedcode: remove something from oox 2012-02-23 22:45:08 +01:00
Cédric Bosdonnat
94698d89f6 fdo#45560: Fixed docx textbox position and size import 2012-02-23 13:56:24 +01:00
Noel Power
768da51104 force imported xlsx active tab to be shown bnc#748198
weirdly even though a sheet/tab can be marked as hidden in workbook.xml, if that same tab/sheet is the active one then it *will* be shown
2012-02-22 15:08:21 +00:00
Tor Lillqvist
3a6c12b32f Bin code that is never executed but calls a method that has been removed 2012-02-20 19:12:11 +02:00
Elton Chung
eab072e468 Remove unused code 2012-02-20 15:56:17 +00:00
Takeshi Abe
96cb767123 Prefer equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("..."))
to equalsIgnoreAsciiCaseAscii("...")
2012-02-19 23:28:55 +09:00
Muthu Subramanian
5c71463258 n744503: Importing useBgFill colors for shapes. 2012-02-16 21:02:14 +05:30
Noel Power
2174d4d44e use stream name for module names when importing vba. fdo#46151 & bnc#747323 2012-02-16 10:36:51 +00:00
Thorsten Behrens
905df1bae9 Fix crash in smartart import
Rather check iterator validity *before* accessing it. valgrind
warning on linux, and crash on windows for e.g. doc at n#736495.
2012-02-16 10:38:11 +01: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
Muthu Subramanian
8167b8f3d9 n744510: Improved 'vert' text imports. 2012-02-14 19:50:40 +05:30
Ivan Timofeev
c2ad01cc22 remove unused fields 2012-02-13 20:24:19 +04:00
Elton Chung
0536df54d5 Remove unused code 2012-02-13 16:16:34 +00:00
Elton Chung
60397e8497 Remove unused code 2012-02-13 16:11:51 +00:00
Elton Chung
f1c162967f Remove unused code 2012-02-13 15:56:32 +00:00
Noel Power
58255c47b1 handle imported picture attribute from MSO Dialog ( fdo#45995 ) 2012-02-13 14:51:36 +00:00