Commit graph

310174 commits

Author SHA1 Message Date
Miklos Vajna
b6e6ea341d RTFDocumentImpl::popState: drop unnecessary state copies
First only parts of the parser state was copied, then later the whole
state, but code not using the full copy was still there. Remove it now.

Change-Id: I2c5507e74a24b8dac74552c61d69ba0be7257d6b
2012-08-02 12:40:02 +02:00
Caolán McNamara
5cd8770cbe convert XMLFamilyDataList_Impl to boost::ptr_set
Change-Id: I2a23787091828415cf814eb7091f3fa926b5876c
2012-08-02 11:34:02 +01:00
Caolán McNamara
b90a897069 gbuildize udm
Change-Id: Id6cf22a19de3ae52ffc1e42a7d4114b1e417f2b3
2012-08-02 11:34:02 +01:00
Lionel Elie Mamane
94809ee4bf handle "no schema" case
This is especially the case when the source is a (saved) query.
Fixes: Report Builder wizard "Finish" button does nothing -> cannot create report through wizard

Change-Id: I266772035435a7c623beb0c0f66fc88e6316be8e
2012-08-02 12:07:45 +02:00
Lionel Elie Mamane
5b85f6c1ef nPos is 1-based, so allowed to be equal to row count
Change-Id: Idb37cd23a58816bd16c725fda49a2f9875450e79
2012-08-02 12:07:45 +02:00
Miklos Vajna
6ff70708b4 fdo#51034 testcase
Change-Id: I9a7a4e596ffb14cdcb211ff0d905c66831d30708
2012-08-02 10:58:14 +02:00
Miklos Vajna
9c53a7f94f fdo#51034 fix docx import of HYPERLINK field, l param
Change-Id: Ic6896f7c795d7d303bf7589a74afb937d4a8e8b5
2012-08-02 10:58:13 +02:00
Cédric Bosdonnat
0e4846ec20 fdo#52610: Fixed several docx export bugs
+ hyperlink starting before a field and ending in its results isn't
   valid.
 + when footnotes have hyperlinks we need to add the proper XML
   namespace and output the relations to a different file.

Change-Id: I1c6cb8acba21c35e10bb0497eeaf96bbd73730d1
2012-08-02 10:23:44 +02:00
Fridrich Štrba
cf2bdd6594 Fix windows build where min and max are macros
Change-Id: I59186db4003564b0b9c202456b7fdf91eaa67751
2012-08-02 10:23:15 +02:00
Caolán McNamara
c87e4eb383 mac-only UniString from sal_Unicode*
Change-Id: If6432543c194668075b5b0a821e4bad8d7dd4839
2012-08-02 09:17:06 +01:00
Caolán McNamara
7480f766e9 remove now pointless pItemDesruptList
This pItemDesruptList is pointless now. We're registering the delete-when-idle
items in their ctor's and deregistering in their dtor's which get called from
the idle callback. The idea of pItemDesruptList appears to be for use in
deleting any items at exit time whose idle callback didn't get called already.

Which was done by DeleteOnIdleItems which itself was removed a while ago
because nothing was calling it (for years). Some experiments in making it a
simple singleton and/or one that hooks off default component dispose or
XDesktop dispose shows that its crash city, so lets just remove the unused
stuff outright rather than trying to fight to get some 12+ year unused appendix
used.

Change-Id: Ie0256d6987cf89a2a12db297065af09674547b3e
2012-08-02 09:07:47 +01:00
Caolán McNamara
d4b172b819 strip down UniString some more
Change-Id: Ibd749a70a7bbe8c1023edf7bd144aa6547147a12
2012-08-02 08:55:53 +01:00
Caolán McNamara
1d90e4f5f3 gbuildize cosv
Change-Id: I73eb612edaba21aa5bb07577b42bd31f8de2dd2a
2012-08-02 08:55:53 +01:00
Caolán McNamara
c97f34c72b sablotron gone for years
Change-Id: Ib62f0595c42bc4bd8f5c55c8d3de19e92dfe9698
2012-08-02 08:55:53 +01:00
Miklos Vajna
8a59191c15 test: string cleanup in BootstrapFixture
Change-Id: I468c295713fc34b64403a1c31f802820e6608b07
2012-08-02 09:21:26 +02:00
Miklos Vajna
881a08079c fdo#49892 testcase
Change-Id: I22cae445e5a75563e3c69ac890126292358b9749
2012-08-02 09:21:25 +02:00
Miklos Vajna
690808bbf7 no need to invoke dmapper here
Change-Id: Ie005d0ae0ed6e2f055f03015162edaa10ed78897
2012-08-02 09:21:25 +02:00
Miklos Vajna
c2e2ca29cc fdo#49892 import RTF_SHPB{X,Y}PAGE
Change-Id: I8fe2b28f44ee61fc0f1438de3681fd86b16d29ae
2012-08-02 09:21:25 +02:00
Miklos Vajna
ecda5eadaf fdo#49892 implement RTF import of dhgt shape property
Change-Id: I36d574c5f7915d732c6c158fadb91b6032370a01
2012-08-02 09:21:24 +02:00
Stephan Bergmann
710202f71c Missing newline
Change-Id: I8dd2d6f059b027122657e5000b95298e874e51e8
2012-08-02 08:49:32 +02:00
Takeshi Abe
d73ef723a2 sal_Bool -> bool
Change-Id: Id2addfc6e0c4e0b30281c9f3d22ec0624a61dab1
2012-08-02 10:25:28 +09:00
Michael Stahl
624bcdc302 Revert "StaticLibrary too"
This reverts commit 23e5bb6643.

Does not work, see previous commit
2012-08-01 23:12:08 +02:00
Michael Stahl
12981fd72b Revert "force depfile concat on deliver"
This reverts commit b8f7cc3c26.

This does not work, because there is no dependency between the
*Object .d files and the *Objects, and so the concat-deps races with
the compiler writing the dep files.
Introducing such a dependency would of course be reverting
8b5a984d45
2012-08-01 23:10:38 +02:00
Bjoern Michaelsen
79e1b9cb23 always compile from SRCDIR
* this helps getting nonbroken deps if using some ccache/CCACHE_BASEDIR combos

Change-Id: I401e55cc10b16aa5901348909237e97d05ab2761
2012-08-01 22:39:50 +02:00
Michael Stahl
e9da487938 filter-showIncludes: filter out system headers
A blacklist based approach doesn't seem easy since there are various
different SDKs, MFC, ATL and whatnot each potentially with an own
include path; so simply whitelist the known source and build dirs.

Change-Id: I93b27bd0ffbd57237da2d23afa95dea7c0785774
2012-08-01 21:00:13 +02:00
Noel Power
3514df0f78 add TabRatio api and detect macro at group shape fixes bnc#770708
Change-Id: I73eb612edaba21aa5bb07577b42bd31f8de2dd2a
2012-08-01 18:47:50 +01:00
Stephan Bergmann
13dc61da88 Proper quoting
Change-Id: Ib619ffc06d580acb5dc5f21ad6d0a439569bee2a
2012-08-01 18:45:48 +02:00
Thomas Arnhold
7910718259 Remove unused code: those classes are unused
Change-Id: Ibf41655d40c9534629bbb0dd5ae600791b42922d
2012-08-01 18:34:46 +02:00
Bjoern Michaelsen
23e5bb6643 StaticLibrary too
Change-Id: I2bda0e3117fb70353c52d5998e7784b6123ab38e
2012-08-01 18:28:26 +02:00
Bjoern Michaelsen
b8f7cc3c26 force depfile concat on deliver
* in some scenarios gcc (or ccache) generate relative paths
* thus we need to concat the depfiles in the same makerun as the compiles
* stiil not foolproof:
  - cd sw && make and abort with Ctrl-C
  - cd .. && make sw
  - now we have deps from mixed workdirs
* in the end we should likely always cd to SRCDIR before all compiles

Change-Id: I007da96f38ed2cfe403b692400f447764f6d6988
2012-08-01 18:25:23 +02:00
Bjoern Michaelsen
7917af89eb brown paperbag: set current_path_length too
Change-Id: Ie8e8f0b42b05a7d99fc81ad3a57e661758c12533
2012-08-01 18:25:23 +02:00
Tor Lillqvist
55a8ae6cf6 WaE: unused variable
Change-Id: I75e195be6bcedc972bc7c820c8c8efb648c91526
2012-08-01 19:19:05 +03:00
Tor Lillqvist
850d9be56d Bin no longer used iOS cppunit stuff that breaks build even
Change-Id: I78c71b22816834c66c8283e3d85e357b7b8d2836
2012-08-01 19:19:04 +03:00
Noel Power
ff54a3c291 simpler fix fo fdo#51336 - change vcl checkbox no-label behaviour
Change-Id: I1563dc2afc49c7b1115192db00fbd08a7524154e
2012-08-01 17:03:07 +01:00
Noel Power
d616ea80b2 Revert "additional fix for fdo#51336 for radiobuttons"
This reverts commit 2bc2d09bba.
2012-08-01 17:03:07 +01:00
Noel Power
59d9a39abc Revert "fdo#51336 - change vcl checkbox no-label behaviour"
This reverts commit a1345cd93a.
2012-08-01 17:03:07 +01:00
Stephan Bergmann
e3c2e0fab6 -Werror,-Wformat
Change-Id: Ie6fbcb1a11f47b54d3c697716b03f9891a1dea49
2012-08-01 16:51:39 +02:00
Norah Abanimy
15a79a36b1 Convert documents to follow the doxygen standard
Change-Id: I9086f6129f61afba6b7d0317248756cde34f075b
2012-08-01 16:15:08 +02:00
Caolán McNamara
0fc413a327 const SvXMLStyleIndexCmp_Impl up
Change-Id: I5bd75e73f2584364bbb749767529efc75aff3d15
2012-08-01 15:05:04 +01:00
Abdulmajeed Al-Abaulrazzaq
c9d5c88a96 Modifying comments to meet doxygen standards
Change-Id: If7c4162a49a7c7b612b6f480f6fbba75727ae1df
2012-08-01 15:41:41 +02:00
Ivan Timofeev
6657052e46 consider only fully visible items
Change-Id: I32d88e5206a96b316f29cf4ede04a6ac951d86d5
2012-08-01 17:03:00 +04:00
Ivan Timofeev
09eb412b2c gtk: listbox border was not rendered
remove extending of pixmapRect in the nPart == PART_WINDOW branch
and simplify code, since rControlRectangle, pixmapRect and widgetRect
are the same.

Change-Id: I253851fad558e525cd533bb3576a9bba82187e53
2012-08-01 17:02:59 +04:00
Michael Stahl
8291d41667 Revert "sorted_vector: turn Find parameter into template"
This reverts commit 3e3acee762.

It was a nice idea, but C++ is not yet ready for it; with the travesty
of parametric polymorphism in C++ the find_unique inside the definition
of find_unique actually refers to find_unique<Value, Compare>, so there
is no way to actually refer to template<Value, Compare> find_unique
inside its definition.  Thanks to Luboš Luňák for explaining
the problem to me.  Somehow this does work in GCC 4.7 even with
-std=c++98, likely by accident.
2012-08-01 14:59:10 +02:00
Caolán McNamara
7e579295c8 convert SvXMLAutoStylePoolNamesP_Impl to a std::set
Change-Id: I839edf8d0e941f78f6f6f9e6a9117f76587a5f39
2012-08-01 13:54:51 +01:00
Caolán McNamara
3515019f8a include svl/svdde.hxx
Change-Id: Ib8696dad1905cbcd12d6c3dd42720eea3f883c6f
2012-08-01 13:54:51 +01:00
Cédric Bosdonnat
9490643712 Fix for a236f8318a
To get footnotes sorted properly one need to:
  * actually use the comparator class
  * compare on the offsets value (and not there pointers)

Change-Id: Ie86802c7a92602bfbb4d2a603afe06f621e392a3
2012-08-01 14:39:11 +02:00
Eike Rathke
21cb8210c7 resolved fdo#53012 crash in CSV fixed width import
8cd05e9cf1 changed from using String to
OUString. ScCsvGrid::ImplSetTextLineFix() attempted to copy excess
characters (always CSV_MAXSTRLEN if greater than field width) where
String::Copy() silently ignored the excess length but OUString::copy()
may result in invalid memory accesses and asserts in dbgutil build.

Change-Id: Ic9f7f38d6f2bbd770d6356e1304de8e39c09e30b
2012-08-01 13:59:13 +02:00
Michael Stahl
3e3acee762 sorted_vector: turn Find parameter into template
Enforces same type parameters for sorted_vector and Find, and makes
it easier to use.

Change-Id: Ide456a48f015cb0a9dea7a0bf2bcf2ccad527fd1
2012-08-01 12:54:06 +02:00
Michael Stahl
77165efb4e Revert "WaE: indexes past the end of an array"
This reverts commit 51e3df40bc.

The fix was correct at the time it was done, but unfortunately now it
conflicts with 89f08dce89, which fixes the
same problem by changing the definition of DFF_ANIM_PROPERTY_ID_COUNT.
2012-08-01 12:54:06 +02:00
Luboš Luňák
78f1e95df4 workaround for KFileDialog remembering its settings
Change-Id: I6f473c246408684c5d952a2161645e4fe76873ea
2012-08-01 12:09:56 +02:00