Markus Mohrhard
cfaa96546a
Lsan: fix memory leak
...
Change-Id: I82a517a267cceaac4dd1030d45c67fc070e22def
2014-05-23 02:50:42 +02:00
Markus Mohrhard
2b2fc70d26
Lsan: fix invalid memory access
...
The chart object can be destroyed after the context.
Change-Id: I5ae370638f296ea314ee11680e0a8d81a8fdbe69
2014-05-23 02:50:41 +02:00
Miklos Vajna
8acb6155c3
clean up RtfExport::WriteInfo()
...
The \vern output was never parsed, and Word uses the generator field, so
let us do the same. And with the standard generator string, if we ever
need to parse it, we already have a parser for it in the ODF filter.
Change-Id: I57f25a6414b2b753a23cf82b691e364d84e4bb44
2014-05-22 19:52:27 +02:00
Eike Rathke
29c024afbe
+ SvxLanguageComboBox EditModifyHdl(), SaveEditedAsEntry()
...
Change-Id: I6acc7538fcbf8aa7a5e50ba72b27409252cffa15
2014-05-22 19:35:36 +02:00
Eike Rathke
2a8eff589a
+bool SvtLanguageTable::HasLanguageType()
...
Change-Id: Id57eb51b69e50be78f85d19a7b3623c1acdf6509
2014-05-22 19:35:36 +02:00
Stephan Bergmann
9adad0d1ea
Avoid undef use of null ptr, use offsetof instead
...
Change-Id: I095f45b537690fe98bf385d99194db6319d7ac93
2014-05-22 18:36:31 +02:00
Jan Holesovsky
7aa79223d7
bnc#467278: Introduce a warning that changes to VBA macros cannot be saved.
...
As an InfoBar, so hopefully not annoying...
Change-Id: I5d4e79273edc03829fdab2d6d5a291576c954e4b
2014-05-22 17:31:27 +02:00
Michael Meeks
51f92027b4
Fix Windows link issue around missing vtable fn.
...
Change-Id: I8a9a8c56b91783288e2319ad3a5e9803ab5562d0
2014-05-22 10:28:11 +01:00
Tor Lillqvist
a27100f43b
WaE: virtual function declaration not marked 'SAL_OVERRIDE'
...
Change-Id: I5b3e785ce50b5959d64c855869533a310e9c277a
2014-05-22 12:12:15 +03:00
Tor Lillqvist
0fcc41e6d1
WaE: unused variable 'bHandled'
...
While at it, make it use SAL_INFO instead of fprintf.
Change-Id: Id4018819f8f790bef219e5aca3b6bbb5f6acd6aa
2014-05-22 12:12:15 +03:00
Tor Lillqvist
b56c9aaa80
Avoid including <config_features.h> in <vcl/svapp.hxx>
...
Change-Id: I711621c89e8f75d4450867e303ccdc8017bcd9d7
2014-05-22 11:57:57 +03:00
Michael Meeks
344dc7fd06
Make the inserted text more European and sensible for now.
...
Change-Id: I8b2ecef11362c0fc1dc2b76780140881e769bb89
2014-05-22 09:48:20 +01:00
Michael Meeks
4ea70f09e9
Initial cut at some infinite monkeys work.
...
Change-Id: I71c7fe027262305893d8eabee94a726f4aa909d6
2014-05-22 09:48:17 +01:00
Kohei Yoshida
50454f3822
cp#1000072: Skip styles import for external link cache documents.
...
This reduces external link update time by 10%.
Change-Id: Ic14d9ea7530818f839330a2004f6aa67ef1e831e
2014-05-21 13:25:37 -04:00
Stephan Bergmann
8f97326bdd
So ZCodec::ReadAsynchron was wrong in using a persistent mpIStm after all
...
The fun thing is that with the (only) call-site to ReadAsynchron in
PNGReaderImpl::ImplReadIDAT (vcl/source/gdi/pngread.cxx) passing in rIStm
references to stack-allocated SvMemoryStream instances, mpIStm could point to an
old, destroyed instance from a previous call, but which would have been located
at exactly the same stack address as the currently passed in rIStm, so the wrong
mpIStm->Read call would effectively behaved exactly the same as a correct
rIStm.Read call.
This went unnoticed "since the beginning" until AddressSanitizer's
UseAfterReturn check came along...
Change-Id: I7c75ed2d36a4c24c111d88eff647816bd2c5dbca
2014-05-21 18:29:57 +02:00
Stephan Bergmann
c5a603ce24
ZCodec::mpIStm is apparently(?) effectively only used by ReadAsynchron
...
...(which can be called multiple times in a row). But which actually looks
wrong...
Change-Id: I2e4914e6fed8ced383e430699dd462add9da8c08
2014-05-21 18:29:57 +02:00
Eike Rathke
cf53a5d493
we have GetEntryPos(), use it
...
Change-Id: Iebb19951efa81817793a155164862076d1198e6e
2014-05-21 18:02:09 +02:00
Stephan Bergmann
66351a678e
Split ZCodec::ImplInitBuf into InitCompress, InitDecompress
...
Change-Id: I2714b1f1dadc74f8501203bc8b0722c56c9c5fb9
2014-05-21 17:35:56 +02:00
Stephan Bergmann
1c92fbf4fd
Replace ZCodec::mbInit with sane enum
...
...and document how the member functions are supposed to be called from client
code.
Change-Id: Ia4847945e4a361c43a0ed001e3e78e901c9abcad
2014-05-21 17:03:41 +02:00
Stephan Bergmann
4d2113250f
ZCodec::UpdateCRC is private
...
Change-Id: I2103f8a323d0454bdd1c779aadb99889ae1cf6e5
2014-05-21 15:30:18 +02:00
Stephan Bergmann
b928cfb512
Remove unused ZCodec::IsFinished
...
Change-Id: I9741daf288c11dc8e0f0ad2f64e934e814c3ef8a
2014-05-21 15:30:18 +02:00
Stephan Bergmann
47169087c1
Remove unnecessary GZCodec derivation
...
Change-Id: Id710a1fe4a3c1593add69bb2a7014d26f9499e87
2014-05-21 15:30:16 +02:00
Stephan Bergmann
a1ec916df8
Remove unused ZCODEC_BEST_SPEED, ZCODEC_BEST_COMPRESSION macros
...
Change-Id: Ibdf211b858c25a4b301cbde3dcab3a51765e4050
2014-05-21 15:30:16 +02:00
Stephan Bergmann
200d530f47
Split ZCodec::BeginCompression param into its 3 independent components
...
Change-Id: I275abafe81c8bb617c70646244b14f6cecc33854
2014-05-21 15:30:16 +02:00
Stephan Bergmann
e05a200249
Remove unnecessary ZCODEC_DEFAULT macro
...
Change-Id: I57a5a14a51c0441e0fed006457ac95057f188462
2014-05-21 15:30:15 +02:00
Stephan Bergmann
201d429ad0
Remove unnecessary ZCODEC_DEFAULT_STRATEGY macro
...
...and directly use zlib.h's Z_DEFAULT_STRATEGY
Change-Id: Ibf528cbc32afec4d442656aa2963f50c0875d6a5
2014-05-21 15:30:15 +02:00
Stephan Bergmann
a34d0fb56f
Remove unused ZCODEC_ZFILTERED, ZCODEC_ZHUFFMAN_ONLY macros
...
Change-Id: Ie02fb495beebd02d8331e547cbe6648dc70f241f
2014-05-21 15:30:14 +02:00
Stephan Bergmann
b2e5b0ec14
Remove unnecessary DEFAULT_IN/OUT_BUFSIZE macros
...
Change-Id: Icd509f55b3f91c4ce3b21bfa3a501d99532539d9
2014-05-21 15:30:14 +02:00
Stephan Bergmann
5271e5b01b
nMemUsage is always MAX_MEM_USAGE
...
...so just use zlib.h's MAX_MEM_LEVEL directly.
Change-Id: I76d73f665df242bfb180b76aa7054cf8ddbe9e67
2014-05-21 15:30:14 +02:00
Stephan Bergmann
fe1e1d1292
A single ZCodec ctor suffices
...
Change-Id: Ib831b80afcdde98928a2759616810923348f65e8
2014-05-21 15:30:13 +02:00
Stephan Bergmann
faac2327e9
Clean-up C-style (void) parameter lists
...
Change-Id: I41da8920e33dfdd0f1483ea2d7cf67111224b441
2014-05-21 15:30:13 +02:00
sk94
5690def7c8
RID_DLG_UPDATE conversion to .ui
...
Conflicts:
desktop/source/deployment/gui/descedit.hxx
Change-Id: Icf9ee3081b468f99833d1e38182887ad1da6f675
Reviewed-on: https://gerrit.libreoffice.org/9417
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
Tested-by: Caolán McNamara <caolanm@redhat.com >
2014-05-21 07:46:34 -05:00
Markus Mohrhard
2bbcf97eb3
fix my issues with the offscreen rendering
...
Change-Id: I4a2ed8a20890119220d63a6768f13365a7b5f97d
2014-05-21 14:24:09 +02:00
Eike Rathke
a6e6cc49bf
add static LanguageTag::isValidBcp47()
...
Change-Id: I2c646b3e2f13a6fccc845ce8eb82fccee154f3c6
2014-05-21 14:15:24 +02:00
Tor Lillqvist
c1dbed8ac6
Use more specific tag
...
Change-Id: Ife10cae3f0bd7dd294c74799412528f2596369c8
2014-05-21 13:26:15 +03:00
Tor Lillqvist
02dcdb1011
Log also the size
...
Change-Id: I391fbc092b05600b0a4c2107e3934e1fb7334554
2014-05-21 13:26:14 +03:00
Tor Lillqvist
e2565690b5
Bin ENUM_FONTRELIEF_DECLARED crack
...
We don't test or define it anywhere else so the header guard for the file
itself is enough.
Change-Id: I15a81b50ab3250a9c792a1b86a4b15f49ec224d1
2014-05-21 13:26:14 +03:00
Tor Lillqvist
6da81bb513
Add debugging output operator<< for FontMetric
...
Change-Id: I8df204b01a73454396561052f10784c71f10d081
2014-05-21 13:26:14 +03:00
Michael Meeks
c07b8dedf7
ODS load perf: transfer ownership of the ScTokenArray to save cycles.
...
Add API to wnsure we don't end up allocating 32k bytes of tokens
for each ScFormulaToken, as happens when you Add a token to a new
empty ScTokenArray.
Change-Id: Ib12a3065eb513243a2146ebb009fbaa650385dd9
2014-05-21 10:03:36 +01:00
Markus Mohrhard
8c39739a38
add method for creating framebuffer objects to OpenGLHelper
...
Change-Id: I08bd2e58ee98a68accae256fcbcc288a8c56ae0b
2014-05-21 01:50:44 +02:00
Stephan Bergmann
f65de4feee
fdo#60338: Introduce osl_createDirectoryWithFlags
...
...so that utl::TempFile can pass osl_File_OpenFlag_Private and doesn't have to
resort to umask (the calls to umask around Directory::create had somewhat
erroneously been removed recently with 1d72a0262c
"Related fdo#60338: Create missing temp file dir with user's original umask,"
mistaking this for creation of intermediate directories in the hierarchy).
On Windows, the flags argument to osl_createDirectoryWithFlags is ignored
completely for now.
Change-Id: Iac56a5049d579be729a3f338aa62105123edb6cb
2014-05-20 18:12:33 +02:00
Michael Stahl
68bc8af6b6
SvxRelativeField: set the unit from the passed stringmap
...
In the Paragraph "Indents & Spacing" tab there are fields with unit:
<object class="svxlo-SvxRelativeField" id="spinED_LEFTINDENT:0cm">
But the unit is effectively ignored, and the resulting SvxRelativeField
with FUNIT_NONE and 9999 max somehow results in 0.18cm max when the
dialog sets cm as unit.
Change-Id: I6001c93079fd7d899f1e119913b29ea4898b1c34
2014-05-20 16:44:29 +02:00
David Tardon
eccaf91ec9
use VCL's OpenGLContext for 3D transitions
...
Change-Id: I510518461eb8bc9669d0de2679c34c473f66b175
2014-05-20 15:48:51 +02:00
Noel Grandin
8d54796bf1
enhance pass-by-ref plugin to detect large arguments
...
Detect arguments larger than 64 chars passed by value.
Change-Id: I9b0ea9ccb99d115984a26eab67c9cf6afd5f6cae
Signed-off-by: Stephan Bergmann <sbergman@redhat.com >
2014-05-20 11:17:22 +02:00
Thomas Arnhold
07cb96a163
remove unused header files
...
Change-Id: If7ec1ff0a78f9cde5ac926e92377de4720c828b2
2014-05-20 03:00:31 +02:00
Stephan Bergmann
d09124d942
Fix overriding exception specification
...
Change-Id: I6eb46f1ffccc1d98b1a1485486cbc355ce296cd3
2014-05-19 22:52:42 +02:00
Kohei Yoshida
2fc4f5cd75
Register OpenGL windows to ScGridWindow upon file load.
...
Change-Id: I6fdce232ef41079f20a983dc72da032196078858
2014-05-19 16:03:28 -04:00
Thomas Arnhold
3db8d606d5
hrc and src files: squeeze multiple newlines
...
for i in `find . -name *.src -or -name *.hrc`; do FILE=$(cat -s "$i"); echo "$FILE" > "$i"; done
Change-Id: I2bac5ad3e1eb3c566e5c867ccf45893a19e1561e
2014-05-19 20:04:22 +02:00
Chris Sherlock
e77bb87b41
vcl: rename CopyAreaFinal to CopyDeviceArea
...
The name I gave this makes no sense. Basically, this function calls on
the SalGraphics function to copy the area, so really this name is much
more clear.
Change-Id: I842e6f2b81014a8222c39a62c5437bd53d66141c
2014-05-20 00:45:49 +10:00
Tsutomu Uchino
61ce018658
Resolves: #i86528# use the module manager to identify the context...
...
for addons menu merging
(cherry picked from commit 2aac0070dbef6c1ad7eeccf7d4015cdcbffe067e)
Conflicts:
framework/source/classes/menumanager.cxx
framework/source/fwe/classes/addonmenu.cxx
framework/source/uielement/menubarmanager.cxx
include/framework/addonmenu.hxx
Change-Id: I3b606671db3a4c6ba8ed2b850e01e1ac91db7581
2014-05-19 13:28:17 +01:00