Commit Graph

379599 Commits

Author SHA1 Message Date
Eike Rathke
f8c14e81cb TablreRef: always use SetTableColumnName() to prevent duplicates
Change-Id: Ifbdd9b0c3d8e6f41c4d1eb4d0e62053a8788e05d
2015-09-04 21:14:44 +02:00
Eike Rathke
bc77f2c67c use GetHeaderArea() for simplification
Change-Id: Ib06b35a117db3c02826cb18754f7ca11875c91c8
2015-09-04 21:14:44 +02:00
Eike Rathke
04d3e135ec setup header area listening only if not clipboard/undo
ScDBData checks that also internally, but added dirty ranges would
linger around until container will be destructed, plus spare some
cycles.

Change-Id: I6c20b227117f272169129978bd8b26ccea9e1a72
2015-09-04 21:14:43 +02:00
Eike Rathke
0d5645f4fa TableRef: add an initial dirty range for newly inserted ScDBData
... so table column names get updated in the next run.

Change-Id: I998d610a3df14fb80b6222fd1a5b61847810a722
2015-09-04 21:14:43 +02:00
Eike Rathke
757996aa28 TableRef: unconditionally init dirty and check for refresh
Change-Id: I7746cca2d32d242b6300311fbe7bfe63caf9dfc9
2015-09-04 21:14:43 +02:00
Eike Rathke
31ab5d7140 TableRef: fully refresh table column names also for partial range
Only one cell of a range was broadcasted per area listener if multiple
cells were affected. We don't know if there were more.

We could set up cell listeners instead, but that's not worth the hassle,
header cells don't change that often and if changed the header range to
refresh will not be overly large.

Change-Id: I915101b809fc1824803f10e696c52fb2185117f7
2015-09-04 21:14:42 +02:00
Eike Rathke
679a5dc0cf TableRef: update table column names when cell content changed
Change-Id: Id699358c7dae635b13ed4b981326a6490255a4d4
2015-09-04 21:14:41 +02:00
Ashod Nakashian
6d64d2f38d Minor refactoring and cleanup of Scheduler and Timer.
Members are now const-correct.
Replaced compile-time constants with enum.
Refactored common functions from Timer to Scheduler.
Disabled timer-precision unittests as they misfire often.

These changes are non-functional.

Change-Id: I6bb3d9fc402cadd556d9063ed9a4888f114c73d7
Reviewed-on: https://gerrit.libreoffice.org/17977
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-09-04 18:43:41 +00:00
László Németh
27949c810d tdf#93928 don't hide the zoom slider and its handle with a tooltip
Change-Id: I8e5a3a02e80b845ef65dfed35cc3c324197ed88c
2015-09-04 18:29:36 +02:00
Stephan Bergmann
f2ac9caf85 Reduce nVal scope
Change-Id: Id5756033ccfbe392ae8264afbd3e2e0afd487f6b
2015-09-04 17:28:58 +02:00
Stephan Bergmann
8fde3dd4da Uniformly use if --- else if brachnes here
Change-Id: I80d9d0d4c4d56aa8d52dc2e108a9b24025fb0f76
2015-09-04 17:26:05 +02:00
Stephan Bergmann
9909bcb88e clang-tidy clang-analyzer-deadcode.DeadStores
Change-Id: I1588f55b4be2d32dcafae27ac45eb5def1407fa6
2015-09-04 17:25:10 +02:00
Stephan Bergmann
d446a1ef0d clang-tidy clang-analyzer-deadcode.DeadStores
These modifications are redundant since they got moved around with
a16eaec936 "INTEGRATION: CWS sj22: #i122882#
graphic with negative size is no longer disapearing."

Change-Id: Iba58054b5638c1d78b369ca4041d0d273c5a2954
2015-09-04 17:06:07 +02:00
Dennis Francis
55b5a1ce04 Fixes memleak by allowing SvxFontNameBox_Impl dtor to be called
Discussion of this memleak is at http://lists.freedesktop.org/archives/libreoffice/2015-August/069883.html

Change-Id: Ie426d7664c4f6901a1877741cdced5b65c51be3f
Reviewed-on: https://gerrit.libreoffice.org/18073
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
Tested-by: Maxim Monastirsky <momonasmon@gmail.com>
2015-09-04 14:36:58 +00:00
Tor Lillqvist
da26fa2409 Avoid OpenGL information logging when not using OpenGL
Change-Id: I7ce9b5cedc620c14e6315acde66aefe60e8bd5ab
2015-09-04 17:35:19 +03:00
Tor Lillqvist
20f1ba114c Add explanation and enforce non-instantiability
Change-Id: I3ea699dcda21b695a486c86d7f7b7a8abc2a8fbe
2015-09-04 17:35:18 +03:00
Andras Timar
0590fe942a New version of ConvertTextToNumber extension (1.5)
Change-Id: I4f33679332998f87b7bf1ad7c32aea64897dcaa6
2015-09-04 16:35:38 +02:00
László Németh
072c771be4 tdf#92843: fix disappearing zoom slider
Change-Id: I2b45b7cf96af7950cf097c2b6a880e9eda021184
2015-09-04 16:32:36 +02:00
Oliver Specht
75f890a785 tdf#86671: Cancel printing if query is cancelled
cancelling query for mail merge vs. normal printing
should cancel the request

Change-Id: I157778efc9e5db42646fb3ff238a5b6f4c8dccca
Reviewed-on: https://gerrit.libreoffice.org/18339
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-09-04 14:32:18 +00:00
Yousuf Philips
457ccbe1d3 Updated core
Project: help  968d8843002e84d493b9b0a002f0eec5ea5e010d

tdf#92825 Fix writer's main menubar entries

Change-Id: I36716886a5925e5fdc3cd839ca76b0e484a73f9e
Reviewed-on: https://gerrit.libreoffice.org/18288
Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br>
Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2015-09-04 14:13:15 +00:00
Caolán McNamara
3e6d47408d missing part of natural sort commit
Change-Id: I8cf86d69cfed220c940a5a3d499790d82b7ba319
2015-09-04 15:10:32 +01:00
Miklos Vajna
e047caf4bb tdf#92505 vcl: fix substituting missing glyphs
Commit a6b00d16eb (Related bnc#822625:
Cache FontEntry with the original FontSelectPattern.) and the follow-up
16a6207901 (Oops, this reference can't be
const., 2014-05-28) changed the font cache key, so that it's directly
what was the argument to ImplFontCache::GetFontEntry(), which leads to
missing glyphs in the bugdoc, e.g. the 4 check mark characters are
rendered as a check mark only in the DejaVu Sans case on my machine, the
other 3 cases result in placeholders.

Fix the problem by changing back the key to aFontSelData, which is
possibly modified in ImplFontCache::GetFontEntry() before used as a key.

Change-Id: I80eb4ba0f986a10100b6ae421d1346f235ce83b7
2015-09-04 16:07:02 +02:00
Tor Lillqvist
091723f7fd Avoid a SAL_INFO about OpenGL when not using OpenGL
Change-Id: Ia066c240776cecc855b59ab0ccc84e7fdcbf4b79
2015-09-04 16:58:16 +03:00
Caolán McNamara
b14cdcbf68 natural sort contents of writer navigator
i.e. graphic1, graphic2, graphic10
not
i.e. graphic1, graphic10, graphic2

Change-Id: Ic8596144b594a933cb1366e29d3c45a4c90d7d07
2015-09-04 14:54:25 +01:00
Mihai Varga
262e7be014 Revert "LOK: added a general getCommandValues method"
This reverts commit 9640dcea46.
2015-09-04 15:46:48 +03:00
Tomaž Vajngerl
b70b4ae26a fix slider drawing, change to always draw the whole widget
Change-Id: Ifca2f72962b808a355bd7dcc20babaeb61272bf8
2015-09-04 21:39:47 +09:00
Miklos Vajna
46cf9bb76b tdf#93097 oox: fix import of metadata from non-relative stream paths
Commit ef2668bad9 (PPTX import: fix
missing document metadata, 2014-08-28) implemented metadata import for
the PPTX filter, but in case the metadata stream is not an existing one,
then OHierarchyHolder_Impl::GetListPathFromString() invoked by
OStorage::openStreamElementByHierarchicalName() throws.

The bugdoc is generated by a 3rd-party tool that always starts the
stream path with a slash, and MSO seems to just ignore that: so let's do
the same to be able to open the document.

Change-Id: I6c0715adeb19b9055669f6a45055415dd2c44e28
2015-09-04 14:29:21 +02:00
Stephan Bergmann
ec923b0c19 loplugin:passstuffbyref
Change-Id: I88baef02e5c8c87e7bc408212e16fd7039bfd7a1
2015-09-04 14:02:20 +02:00
Katarina Behrens
e8e6475617 tdf#91501: Add data bar colour to the list if not there yet
Change-Id: I18dd5b8dc49bd9f4dc9c27556782fa5f2b3c4f58
Reviewed-on: https://gerrit.libreoffice.org/18334
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-09-04 11:42:01 +00:00
Noel Grandin
ed7ea68854 convert Link<> to typed
Change-Id: I42eba6c9b6295d94dddc49942d47d59f474bfd28
2015-09-04 13:08:30 +02:00
Noel Grandin
2ec2247773 convert Link<> to typed
Change-Id: I743c74b134552eefb14d35e54491494160f1ffbd
2015-09-04 13:08:30 +02:00
Noel Grandin
66a205d56f convert Link<> to typed
Change-Id: I047c52f37b21b1264396d7077a1f35f6d2b13f3f
2015-09-04 13:08:30 +02:00
Noel Grandin
8f0f4faad2 convert Link<> to typed
Change-Id: Ibf658f42227ee3f4277f0089b6f8a8ac771dab1a
2015-09-04 13:08:29 +02:00
Noel Grandin
5b77f6d04f convert Link<> to typed
Change-Id: I1acb6462aa32a0ee61e8ede3ed3e9607b8069298
2015-09-04 13:08:29 +02:00
Noel Grandin
0e1d027f84 use comphelper::containerToSequence and fix some casting
Change-Id: Ic476204e9db8a0cd1164002a4a8b55f90aef515e
2015-09-04 13:08:29 +02:00
Stephan Bergmann
37a04c46c5 warning C4521: multiple copy constructors specified
Change-Id: I1b28b6d18e33b85e335ca24e717e3eef7077cf8f
2015-09-04 12:40:07 +02:00
Caolán McNamara
01e6e93eed vcl: replace boost::ptr_deque with std::deque<std::unique_ptr>
Change-Id: Id53ee54dda5454669affd5ca5324a2d7c5387063
2015-09-04 11:37:40 +01:00
Caolán McNamara
d64105fd3a drop pams before removing extraneous paras
and remove extra paras in order of largest index first

Change-Id: Iafbe612a8a8bd51cb157b4a4c07031c6603d92ee
2015-09-04 11:37:40 +01:00
Michael Stahl
15a439dacf sw: replace boost::ptr_map with std::map
Change-Id: I8cf906b7f3f9647a60b20a977ea11c8698438ec2
2015-09-04 11:55:48 +02:00
Michael Stahl
9b5d96d7e0 sw: avoid asserts from RsidOnlyAutoFormats check
This happens with a document that has a header or footer that is not
displayed after loading, for example 1-page document with separate
left/right or first page header.

The SwTextNode::FileLoadedInitHints() is not called for these headers
because they are not visible so MakeFrm() is not called.

If they are not visible the RSID related flags don't matter.

Change-Id: Ie3bd1ce3bc0ac2ff1c429386149294e0c8fd3cb6
2015-09-04 11:55:47 +02:00
Stephan Bergmann
5fba3a9a00 Prevent perfect forwarding ctor from hijacking copy construction attempts
...and hope that this will already be enough to help MSVC 2015 re.
<http://paste.openstack.org/show/444734/>.

"This leads to beavior that's intuitive only if you've spent so much time around
compilers and compiler-writers, you've forgotten what it's like to be human," as
Meyers so aptly put it.

Change-Id: I4015bf831cd4cfed6988cc3517f719b756e27bb8
2015-09-04 11:51:40 +02:00
Mihai Varga
d3c9327966 LOK: allow float numbers in json -> property value conversion
Change-Id: I866a44fcb71044d27a9bf06e2f55ca2e4135c23b
2015-09-04 12:22:29 +03:00
Mihai Varga
9640dcea46 LOK: added a general getCommandValues method
This method returns a JSON mapping of the posible values for the given
command (e.g. .uno:StyleApply, etc).

returns:
{commandName: "cmdName", commandValues: {json_of_cmd_values}}

Change-Id: Ic8f970d077af6be9bc226f72f725b6cdf2d4c160
2015-09-04 12:22:28 +03:00
Oliver Specht
51ac2bf234 tdf#92732: fix vclptr lifecycle for index entry editing dialog
Call SwViewShell::SetCareWin() in closeHdl instead of d'tor
since with care window set the d'tor is never called

Change-Id: Ieb8280ab57c3bccf95ce2ce96937aab261133ce0
Reviewed-on: https://gerrit.libreoffice.org/18330
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-09-04 08:41:36 +00:00
Miklos Vajna
012a7115d1 Related: tdf#92982 vcl rendercontext: optimize non-buffered paint of Cursor
Change-Id: Ic8065d4f656d42f1e2e7d8b4c602010fa0ae2d34
2015-09-04 09:56:01 +02:00
Stephan Bergmann
927d35c97a loplugin:cstylecast
Change-Id: I2c0f37376455db1c131327c9a7a6b7b35765d556
2015-09-04 09:19:05 +02:00
Miklos Vajna
2c1019739b svx: prefix members of SdrPaintView
'mpModel=pModel' is more readable than 'pMod=pModel1'.

Change-Id: I617d85e2c2d4b6b5b0d235cdd3cd9129e276b28d
2015-09-04 09:04:18 +02:00
Noel Grandin
24d90b8aa8 convert Link<> to typed
Change-Id: I936606b6fdbb5db50661bde68fc8472bb9dd8861
Reviewed-on: https://gerrit.libreoffice.org/18317
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-04 06:32:49 +00:00
Noel Grandin
6741a0f25a convert Link<> to typed
Change-Id: I5469c9983ef94b418b729af841f8db10b9116667
Reviewed-on: https://gerrit.libreoffice.org/18316
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-04 06:32:36 +00:00
Noel Grandin
5702e894b8 remove unused Link<> member
Change-Id: I987e799e785326b3b36f67aed1134ab6fe74f1db
Reviewed-on: https://gerrit.libreoffice.org/18315
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-04 06:31:43 +00:00