2fc0fa62b2
Fix memory leak in OTextInputStream.
...
Delete mpBuffer when done in destructor or replaced in implResizeBuffer.
Change-Id: Ide1b44f10a482ce9bb6135fb879e62e0a8ccea29
Reviewed-on: https://gerrit.libreoffice.org/4637
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
Tested-by: Caolán McNamara <caolanm@redhat.com >
2013-07-01 12:26:09 +00:00
5c3f673c1f
Robustify WW8FormulaControl::FormulaRead reading SvStream.
...
The >>operator of SvStream doesn't initialize a variable if the stream
is faulty. So initialize the variables before usage to prevent reading
wrong/random bits.
Change-Id: Ia66dd6d8574c36e7229a58347f2e2c1e0fe2e248
Reviewed-on: https://gerrit.libreoffice.org/4636
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
Tested-by: Caolán McNamara <caolanm@redhat.com >
2013-07-01 12:24:33 +00:00
92ffe57f6b
Don’t shrink text from fallback fonts
...
This code is bogus in multiple ways:
* It scales text based on ascent or descent, but this makes no sense
as those control line height and nothing else, if one is to scale two
different fonts to “fit” together, cap or x height would be more
appropriate. This results in some text being ridiculously shrunk.
* Not only that, but it is comparing apples to oranges; original font
ascent/descent with the bounding box of the fallback glyphs, which
results in different scale ratios depending on the shape of the glyphs
at hand, which leads to all sorts of funny and irregular text.
* Even worse, the PDF export is completely broken in this case; it uses
the scaled down glyph widths but the unscaled font size, resulting in
cramped unreadable text.
Change-Id: Iaa6117ecfdad8388887d9a03b538e7327544ad5e
Reviewed-on: https://gerrit.libreoffice.org/4293
Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr >
Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr >
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
Tested-by: Caolán McNamara <caolanm@redhat.com >
2013-07-01 12:23:04 +00:00
3c26d63b22
Translate German comments.
...
Change-Id: Ibdd5bb021973624c1bb2a0e7bbbebd15fca5c731
2013-07-01 13:15:10 +01:00
1b5763c406
BluetoothServer::addCommunicator not unused after all
...
was erroneously removed in 6a59659541e45198b8cda162f87f6abcd68c6101
Change-Id: Ib95fccaaccb8baf269f7d393af00d9b95b25161a
2013-07-01 14:11:50 +02:00
6c912701dc
Mark as const
...
Change-Id: Ic71f39aaebf07d3b0435882986be71cf2b0390c2
2013-07-01 21:03:12 +09:00
3090cfc972
Resolves: rhbz#979758 crash on 'Diagrammen in LibreOffice' help page
...
Change-Id: I269846840b8e2f67838da525c020a305901cf903
2013-07-01 12:56:17 +01:00
ee5ea3b629
fOne should be 1.0 not 10.0
...
Change-Id: I1e51ea9f06be698641287e8d85a5288220879d3f
2013-07-01 12:51:22 +01:00
20661599f4
add missing .ui
...
Change-Id: I3cf3d730fee95a54d8b51779835eda8d24d50ff3
2013-07-01 12:42:02 +01:00
6a59659541
Remove unused code
...
Change-Id: Id789250d6aeae642ef5c712e33c5583628638218
Reviewed-on: https://gerrit.libreoffice.org/4604
Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr >
Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr >
2013-07-01 11:39:43 +00:00
ba8bcc2681
Resolves: #i119994# Range picker dialog is changed to modal mode wrongly
...
Patch by: Peng YunQuan
Review by: mayongl
Reported by: Yan Ji
(cherry picked from commit 94c8978a16536738bbad7a52cdfb9f37a4d19ed0)
Change-Id: I66bb91bf07a5c52b2a5e2b2a91187ac9580fbb0a
2013-07-01 12:34:38 +01:00
99a4baf89c
gbuild: sync solaris.mk linker invocation with unxgcc.mk
...
Change-Id: Ib7ef6fe87673c601ad3c24f3ed3f382c039551f4
2013-07-01 13:28:42 +02:00
53a08b03a8
122658: Fixed typo in localized string.
...
Found by: jteera
Reported by: Andrea Pescetti
(cherry picked from commit 8f23dda62c32085f8665483e38345ee13389860e)
2013-07-01 11:52:03 +01:00
257ba103fb
Resolves: fdo#66263 calc's protect records doesn't do anything, sid collision
...
Change-Id: I50c9f0bd28f17e5d56c6d6948871042ba64650ef
2013-07-01 11:50:35 +01:00
14c619f10f
convert predefined label warning dialog to .ui
...
Change-Id: I6f7cbc6aea1acbd7c803cd418ba2e9ed71fb2c50
2013-07-01 11:50:33 +01:00
dc7498e4f0
don't show section/table nodes as plain start nodes in debug dump
...
Change-Id: I8b4901d98c210f5a3228981a2b180f2fcc06c768
2013-07-01 12:27:52 +02:00
ed1d006e1a
remove strange #ifdefs, presumably a workaround for ancient compiler bug
...
Change-Id: I77287909b88be01615e2aae302c48904c1adf933
2013-07-01 12:27:52 +02:00
49a454225e
fdo#66324 fix locking in webdav_ucp::Content::getResourceType()
...
Crash in there while accessing an evidently deleted DAVResourceAccess
instance with about 4 other threads also in various webdav_ucp::Content
methods.
The problem is apparently that the "outer" getResourceType() passes the
m_xResAccess to the "inner" getResourceType(), which accesses it
without locking the mutex, while another thread resets m_xResAccess
and thereby deletes the current instance.
(regression from 0c3500115c4fd86284a027fc32be704afcf77061)
Change-Id: I1c67021c536e303d766c7ff93fb71e40f991f3af
2013-07-01 12:20:45 +02:00
8be462fde9
the calculation of the progressbar leads to very slow saving
...
Change-Id: Ibba31126161b77b499561c5a74c057a56c07a4a8
Reviewed-on: https://gerrit.libreoffice.org/4647
Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr >
Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr >
2013-07-01 09:47:03 +00:00
d892671c11
fdo#47802 testcase
...
Change-Id: Ib3e399efb0d1116473bc5ff0e1b858b2cfa4aec8
2013-07-01 11:43:57 +02:00
818d80eb0c
RTF import: support shapes inside tables
...
This is a better fix for fdo#47802, now that shape import is no longer
buffered.
Change-Id: Idce6d11e6774d1fe7fc04b6a52d5b77a3879381e
2013-07-01 11:43:57 +02:00
7a8f720cc0
RTFValue: support storing RTFShape
...
Change-Id: Ia24fe7556598ad88f3b72a62bef2361a3fd0a712
2013-07-01 11:43:57 +02:00
e21544132a
Resolves: fdo#66403 infinite loop, typo i should be it
...
Change-Id: Ia3ec1302649809b7a63befc0a48fb142f1169936
2013-07-01 10:41:43 +01:00
6d866fec71
fix indent
...
Change-Id: I079e88700f3353b906f0d8fc85083695cfe569bb
2013-07-01 10:41:43 +01:00
f9acc916bf
MSG_DISABLE_UNDO_QUESTION unused
...
Change-Id: I1e06ccae6c820715d2cea70d679bf7681bae711a
2013-07-01 10:41:42 +01:00
7857d772f7
SmOoxmlImport: update doc on how to extract handled token list
...
Change-Id: I7cea50e99a4ffd9eac357251ffe630921ec64795
2013-07-01 11:16:25 +02:00
9ab800829b
Fix memory leak in ServerFont::GetGlyphOutline.
...
Always call FT_Done_Glyph before returning.
Change-Id: I861bcc66b065d9cfb909b3ea561af97caccc4593
Reviewed-on: https://gerrit.libreoffice.org/4635
Reviewed-by: Khaled Hosny <khaledhosny@eglug.org >
Tested-by: Khaled Hosny <khaledhosny@eglug.org >
2013-06-30 20:23:56 +00:00
e5f3e328a2
misc minor tweaks to messagedialogs
...
Change-Id: I0ec4a7257d352fac43aca57269ffaec96a706651
2013-06-30 20:40:16 +01:00
d2b2b79106
convert show redlines warning box to new-style message dialog
...
Change-Id: I5d7e205c8908fab6ff70065961d77b3b91d82461
2013-06-30 20:40:16 +01:00
fea12c4710
using primary font for secondary max text width
...
Change-Id: If4d5d4be2a5552c52e7e98ff891e2166b7541800
2013-06-30 20:40:15 +01:00
0306e253fe
XubString->OUString
...
Change-Id: I40ff06facc304630ccedd82d2f20b3573bdc5cb4
2013-06-30 20:40:15 +01:00
d70786a761
Revert "resmgr: bInUse is useless"
...
This was pretty lame. It's static. To be sure revert it.
This reverts commit 504499ad9f17be5350b878fa99e814612eaffb5f.
2013-06-30 20:46:58 +02:00
504499ad9f
resmgr: bInUse is useless
...
Change-Id: I619d5d1ff9f6242be652674e4df54ad5c5ddc017
2013-06-30 20:28:58 +02:00
c84370cc7f
robustify
...
- Survive case where direction not given
- make ascending default in stronger way
Change-Id: I41ab2fd683ea71ea668e3ca3ee4a9618d67c0107
2013-06-30 16:58:09 +02:00
97d279b4c5
fdo#64985 try harder to populate m_sCommandName::m_sCommandName
...
Change-Id: Ibef643498903c82eee5533d387a33ca26a77d496
2013-06-30 16:58:08 +02:00
de2cdeabfe
Handle synthetic italic with Core Text
...
Core Text does not fake missing italic and bold (unlike ATSUI), so we
have to do it on our own. This commit handles fake italic, bold is a bit
harder.
Change-Id: I4e705669638f67e3c8ec414f2cadd0c6daea9bcb
2013-06-30 15:07:57 +02:00
3ed5b347c5
Fix debug code
...
Change-Id: If8cd564b03712a8835788386afd83cc97ce04a98
2013-06-30 15:07:57 +02:00
717aafb9ca
robustify some headers
...
Change-Id: Id1998b240025973f43691e83cebce17449b060ba
2013-06-30 14:52:30 +02:00
fc98acd38c
remove unused and non-working methods
...
cui/source/inc/macroass.hxx and include/sfx2/macropg.hxx seem to be duplicates
Change-Id: I7df15a2ac97aff92449d40045c55de811bd701f2
2013-06-30 13:22:19 +02:00
f8c0e13ba2
Rename ValueItemList to ThumbnailValueItemList
...
The more common definition comes from svtools/valueset.hxx.
Make the difference clear.
Change-Id: I79b09f31007a4c00860fa97d8517a2b1f6aadeea
2013-06-30 13:22:19 +02:00
6ddfb81c07
add missing css prefix to header
...
Change-Id: I4c3311061150f2fd6c703566f064df8263caaa09
2013-06-30 13:22:19 +02:00
d930a807aa
remove unused ITEMID_MACRO
...
Change-Id: I11e94d406daa8e834253c9d3c44ec4e52c2418e1
2013-06-30 13:22:18 +02:00
bb5196b40c
remove bogus header svl/xmlement.hxx
...
This one is unused. The right choice is xmloff/xmlement.hxx
Change-Id: I8bbbcfd0a45f28a309bd22ac2b819fab2e2b2793
2013-06-30 13:22:18 +02:00
c914561557
remove unused header xftsfit.hxx
...
Change-Id: Ia669845468a5f089864e4d08744871c9c05de61c
2013-06-30 13:22:18 +02:00
4364d1afac
fdo#58995 Fix window handle is null on AT side of JAB bridge
...
This reverts commit 41660feef6095f6d9510d11c99376652b41a504b.
Change-Id: I25cdbc7d63b1ed244127a46b41e68e9c5a174697
2013-06-30 11:43:07 +02:00
9dfe00c74f
fdo#58995 Fix focus gained/lost event dropping for Window and Frame
...
See 9fd9b14cffbf2604022c099b6202bb0a1da6f06e for more details.
Change-Id: Iea92076be8cbcc110deff3c617ee13bbd66aab79
2013-06-30 11:42:59 +02:00
90b27064b4
WaE: 'SwJavaEditDialog::GetText' hides overloaded virtual function
...
Change-Id: Ie0129f00f7abe925ad86547812b5b15986e42a78
2013-06-30 10:37:20 +03:00
ea862e1ed0
WaE clang unhappy with an ambiguous if/else
...
Change-Id: I1e419793454ad5401a2d55a2c709bab08f4cf053
2013-06-30 02:21:31 -05:00
710f41b7ae
Clean String and sal_Bool in tools
...
Change-Id: I6a92196f33d7a5278c7dcc426112e9c56d582655
Reviewed-on: https://gerrit.libreoffice.org/4627
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com >
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com >
2013-06-30 04:58:49 +00:00
1ca3beae12
remove all my debug code
...
This should never have been pushed.
Change-Id: Ida67b0716a916cb7c3b9af7430abc51800414f18
2013-06-30 04:01:36 +02:00