Commit Graph

3904 Commits

Author SHA1 Message Date
3352a88c8c remove dead ToolBox RID_HELPBAR
Change-Id: Ide31f67c346f9a82bf6aa8282caa7cfcee65d9fd
2014-08-18 05:22:54 +02:00
eacc9e6bad Customproperties: Correctly size Date
Old behavior:

1) Add a property of type "Date". DateField inside Value column uses
   the full width.
2) Increase the width of the dialog. Now the size of DateField in
   the Value column only uses the half width.

Solution:

Set a flag if the current type is of Date. So we can correct the size
after a dialog resize action.

Change-Id: I915a553b2f69aac1aea0ac5b24536db5709abfae
2014-08-17 20:48:39 +02:00
61aaf3814c Customproperties: Position DateTime correctly
No need to store the position of DateField and TimeField, because this
will not change if we choose another type. The only thing what changes
is the size of the DateField, because both "DateTime" and "Date" use
this field. And for this size we just rely on the size of m_aTimeField,
because it's the same as m_aDateField (for type DateTime).

Change-Id: Ic590c62d82d8f90576479e10be9d422326032d28
2014-08-17 20:48:38 +02:00
7a54951fbb coverity#1231667 Unchecked return value
Change-Id: I40d8fc61b1e488955faa61c868877c7b6487c529
2014-08-17 16:39:22 +01:00
d2a3b21ade coverity#1132709 Uncaught exception
Change-Id: If828f82e36d12ceca7e6392de5757a131c99462c
2014-08-17 16:39:20 +01:00
ba48c86a03 coverity#1231676 Uncaught exception
Change-Id: I70c6255f062c6624bc367a8fb81288c99b6635b3
2014-08-17 16:39:19 +01:00
95a5d77331 fdo#82579: The SDK used by the "TDF" tb needs Cursor and Line to be handled
Change-Id: Idb9600b49ef711f0c11faa8650853fee0c455763
2014-08-17 13:27:42 +03:00
c2d3b7e4aa fdo#82579: Only Point, Polygon, Size and TimeValue need to be handled
Change-Id: I901386fadf8adbf6daad178b1fc2618430280792
2014-08-17 13:13:37 +03:00
2b4c54aa13 warning C4800: forcing value to bool 'true' or 'false'
Change-Id: I0bea774cd903f93721de6ffd8ed4ff9f5a15ef81
2014-08-17 05:15:28 +02:00
05acd6da8d namespace css
Change-Id: Ie25cc7098cd513a77d78e04564eccacd946c355b
2014-08-17 05:15:26 +02:00
439c90916c warning C4800: 'int' : forcing value to bool 'true' or 'false'
Change-Id: I011954c2e12abb8a7551638567474e2123d3221e
2014-08-17 05:15:25 +02:00
ebac76936d namespace css
Change-Id: I58017a0769a1e06d9e870f692c2d9fcfd347fbd7
2014-08-17 05:15:24 +02:00
fe3b29126e warning C4800: 'unsigned long' : forcing value to bool 'true' or 'false'
Change-Id: Iea71e791a760b38448a89294ab4136f815b8932c
2014-08-17 05:15:22 +02:00
6c54831d07 warning C4800: 'unsigned long' : forcing value to bool 'true' or 'false'
Change-Id: I7546fb8fd0a5b83818c8496d44ec180ec48e72eb
2014-08-17 05:15:21 +02:00
0842a2707c use bool directly
Change-Id: I314e290b453c55e345559d8abef9b00622493ed3
2014-08-17 05:15:19 +02:00
fb1f710d3f loplugin:passstuffbyref (Primitive2DSequence)
Change-Id: I3d9c6daa09d71ca872021fe13405b08050e191d9
2014-08-17 00:32:03 +02:00
ce9a327c50 Fix member function prototype (sal_uIntPtr& to size_t&)
Change-Id: I063549d510d80450ab502fc511c79de41b591c4e
2014-08-16 22:15:56 +02:00
47e2fd0dc8 Consistently use size_t and SAL_MAX_SIZE
Change-Id: Ibab89984ec94556ec368653b6db50c6c2e380dec
2014-08-16 21:52:32 +02:00
74bccf73fd Remove pnMarkNum parameter: either NULL or pointed data is not read
Change-Id: I213a097616275765478a5f21a5f8e9645470a1e8
2014-08-16 21:52:29 +02:00
d19757d788 These function members does not need to be virtual
Change-Id: I8ec3f297fbf9ff494d115d0400e890d568bdae7f
2014-08-16 21:52:29 +02:00
9585ba198b Delete commented-out declaration of function members
Change-Id: I118b7a788ee62f75af8b7669cad285952f0e968a
2014-08-16 21:52:28 +02:00
384cb5ff7b Consistently use size_t and SAL_MAX_SIZE
Instead of a mix of sal_uIntPtr, sal_uLong, int, and so on.
Also change CONTAINER_ENTRY_NOTFOUND=ULONG_MAX to SAL_MAX_SIZE as
return value in case of failure and in the related tests.

Change-Id: Ie778a849253b4be84fbcdab9557b7c4240233927
2014-08-16 21:52:28 +02:00
aaca2debfa DirInfo, LSize and MemoryBlock are unused
Change-Id: I6ddec983ef160cabf22690d0f3e8cfb08ba52394
2014-08-16 21:55:27 +03:00
e98397d1ce Our use of Ptr does not clash with the <MacTypes.h> typedef
Change-Id: I5bcd1afde7c083c9a86be068c211fad152e75d01
2014-08-16 21:55:26 +03:00
4bc6484c59 initial implementation of XML dump for Primitive2DSequence
Change-Id: I6618b18164a26553f81a1c737e009b7187b028c3
2014-08-16 20:49:20 +02:00
d3a59629f7 XmlWriter: simplify and take SvStream* as input
Change-Id: I56b2fa6887f7971604a2dcf34497ecda9cea8937
2014-08-16 20:49:20 +02:00
8a3a2e888b mtfxmldump: move XML writing into its own function
Change-Id: I82954177fe9d4934e69b33c1c985304add09e089
2014-08-16 20:49:19 +02:00
e97997f1e5 SvMemoryStream.remainingSize ret. size to end of data not buffer
SvMemoryStream remainingSize returned the size from current
position to internal buffer size instead to end of data. This
was not consistent with what remainingSize description says on
SvStream (and other SvStream implementations work) and what the
user expects.

Change-Id: I7ff391754a386c5f067a4bd4eed2ee7f2d7fd77e
2014-08-16 20:49:19 +02:00
d4a8fa7db0 Our use of Byte does not clash with the <MacTypes.h> typedef
Change-Id: I693de4bc9eb7fc9b409d321e0dcec6e0c03212c3
2014-08-16 21:31:30 +03:00
a5f4c5b685 Our use of Boolean does not clash with the Xt <X11/Intrinsic.h> typedef
So no need to hide the Xt type.

Change-Id: Ib7d96745294ab747b3c8ed355d4562a68e3cb0cf
2014-08-16 20:43:09 +03:00
1c13f9c2b6 RSC_TRISTATEBOX is no longer used
Change-Id: Ib3f43db131cf5562ad011538873c2ee51839665c
2014-08-16 18:36:24 +01:00
b0da096c61 RSC_MULTILINEEDIT no longer used
Change-Id: If56233b5226cec9516d5e2f8992e1b0beae733bf
2014-08-16 18:33:04 +01:00
e09e956a0c RSC_TABCONTROLITEM* no longer used
Change-Id: Ic496662d623c4732db41476109b3731cf1fd71a0
2014-08-16 18:31:05 +01:00
07048650e2 RSCMENUBUTTON_MENU is not longer used
Change-Id: I2e12d923a07385fc6a036863070a10666542d39d
2014-08-16 18:31:04 +01:00
924dda90a9 RSC_MENUBUTTON is not in use anymore
Change-Id: I853b6b1cfcd4847603d9920a47298d1b9105b46f
2014-08-16 18:31:04 +01:00
a8669b56b1 fdo#82580: Win32 GetObject() simplification
We call the Win32 GetObject() in just one source file and there it is
the A version we mean. (As such, as we call it to get BITMAP objects,
which do not have different A and W variants, we could as well call
GetObjectW().)

Note that we have several own member functions called GetObject(), so
until those are renamed we still need to #undef the GetObject
definition (from <windows.h>).

(No, I am not working on the EasyHack fdo#82580 as a whole. It is
intended for some less mature LO contributor. I just did a few small
things because I couldn't resist.)

Change-Id: Idab79503b3d899ef19f0608677752a62b20302ff
2014-08-16 18:45:57 +03:00
bc19caa4f1 WIN_MOUSE_MOVED and MOUSE_MOVED are unused
Change-Id: I1edfa97d9874c70fcc61d1b521c905fb499a9bd1
2014-08-16 18:45:57 +03:00
05d53a3fbd WIN_HELP_HELPONHELP and HELP_HELPONHELP are unused
Change-Id: I54830ba65961f8f7ab6fa3555a1e6021b14cdb1c
2014-08-16 18:45:56 +03:00
3fb98875ea WIN_HELP_INDEX and HELP_INDEX are unused
Change-Id: Icc2c34f51601304e2846d8bd9fce2f384327a4e2
2014-08-16 18:45:55 +03:00
7c1e12af87 callcatcher: update unused code
res ctor fallout continues at pace

Change-Id: Ic431c678919a6521ce94719cbf06b87ebf922a0c
2014-08-16 11:43:47 +01:00
d0ab0b08fa OOO_HELP_HELPONHELP is unused
Change-Id: Iaabf05075bb51ed17abff5f4f4bb18c101e552a2
2014-08-16 10:44:48 +03:00
66c6d1ef20 prevent invalid ods files with loext:fill-character
ODF specifies that extension elements in a document are removed before
the validation. With our old implementation of the number format export
this could result in two number:text elements following each other.

According to the spec a number:text element may not follow another
number:text element.

The number:text element before loext:fill is actually not that
interesting so it makes more sense to make this one an extension
element.

Possible documents showing issues:

fdo45268-1.xlsx
fdo49150-1.xlsx
and many more

Change-Id: I3ad92b8a61a246b3dbc0132d9a2c367488a766d0
2014-08-16 07:14:28 +02:00
a772be514e just use a typedef, don't inherit from boost::ptr_container
Change-Id: I1a63802dfeb702f6f6e9506339fd299b98fd8604
2014-08-16 06:52:16 +02:00
61294d454d remove unnecessary whitespace
Change-Id: I9de4fdd28c6d75133289b1c8a655381ecc5675c7
2014-08-16 06:43:08 +02:00
b5483af985 ErrorBoxes from datanavi to String
Change-Id: Ibb3b11da89468822d64c4c2bc2463ea82339f8af
2014-08-15 23:30:25 +02:00
a470c10d88 ErrorBox RID_ERRBOX_MODULENOTINSTALLED to String
And move to sfx2 to stop this ResMgr mangling

Change-Id: I4633766fdcc53189cdb508f9eddaa6b2e8448858
2014-08-15 23:30:23 +02:00
748ed65ffb drop TabControl resource loader
Change-Id: Idb909c205dfadaadeb8b98ce08fe2f4286cfce26
2014-08-15 17:02:59 +01:00
38cbb4c717 convert datanavigator sport to .ui
Change-Id: I14f9f8d8df9fc8246e7fc8c0b6762ca51dad67d9
2014-08-15 16:05:39 +01:00
5df98e8bc5 last two args to Init_Impl are now always NULL
so follow through on the logical consequnces of that

Change-Id: I97981acecdcee03e4c1f32d1f4ec8ad623299042
2014-08-15 13:52:57 +01:00
e159d0bb53 ErrorBox resources -> MessageDialog + strings
Change-Id: I0e4e8e0393a5a86dc3125f6dccc9e4e7b47973a9
2014-08-15 09:09:36 +01:00