Commit Graph

370777 Commits

Author SHA1 Message Date
Tor Lillqvist
a86416b51d Bin obsolete comment
Change-Id: Iffd6fcfa81e9ce02a01c74eadb6c881a12e7f7d4
2015-03-24 11:13:19 +02:00
Tor Lillqvist
3a2e4cd201 touch_lo_draw_tile() is dead code
Tiled rendering is now only supported through the LibreOfficeKit API.

Change-Id: Ib7e6b166251265e91783c89fbe9ea987b105f3a2
2015-03-24 11:13:19 +02:00
Noel Grandin
858e455634 loplugin:constantfunction: various
Change-Id: I6eddda9f4b31c7ce413c328b6a857a81bd222eed
2015-03-24 10:51:22 +02:00
Noel Grandin
a6df3c0bab fix windows build
"error: a scoped enumeration cannot be redeclared as an unscoped
enumeration"

caused by my commit
5d37fa2a71
"convert SvxZoomType to enum class"

Change-Id: I26e6f9e7c608aaf1a1fbfe370d8a1bafc57c2983
2015-03-24 10:51:22 +02:00
Stephan Bergmann
f2edd09bf3 tdf#88230 Blind fix for IOS-only code
...broken with c6c4d21847 "tdf#88230: Remove bogus
AcquireSolarMutex fpicker wrapper" and 183f3791ba
"Reverts and correct 'tdf#88230: Cleanup solar mutex yielding'"

Change-Id: I568ea5aa0a43cadc1b6cf9f954293bf297ae489e
2015-03-24 09:39:59 +01:00
Noel Grandin
829fa56634 loplugin:constantfunction: framework
Change-Id: Ib5c85dfb5fd720a1709e37d9f12b43a1588ba058
2015-03-24 10:31:18 +02:00
Noel Grandin
d772b9bdc4 loplugin:constantfunction: forms
Change-Id: Icb1b4bb3fd73b54378b77fbaa6c41c3a0f03706a
2015-03-24 10:31:18 +02:00
Noel Grandin
c3dc467232 loplugin:constantfunction: hwpfilter
Change-Id: I2504291e2167cbc4be91e01de654ca63f89dbd2a
2015-03-24 10:31:18 +02:00
Noel Grandin
1c34766698 loplugin:constantfunction: reportdesign
Change-Id: Ic94359c544034b9e6f09bd02a377d906a5b820e6
2015-03-24 10:31:18 +02:00
Noel Grandin
4d4022fef2 loplugin:constantfunction: xmloff
Change-Id: I0ddcaada71eaa53cd7e6320c6ccaa8d8971f6df0
2015-03-24 10:31:17 +02:00
Noel Grandin
6618a6d7f2 loplugin:constantfunction: xmlsecurity
Change-Id: Iabe2b4677b75cbd4b10a55fc4b2f13ba29645cd4
2015-03-24 10:31:17 +02:00
Noel Grandin
b2d2d72a7e loplugin:constantfunction: basic
Change-Id: I1c9a33cefb68bec978b2a922c2c3ef00f2a7a1b4
2015-03-24 10:31:17 +02:00
Noel Grandin
72ddf425c2 loplugin:constantfunction: basctl
Change-Id: I675b6cee53a9cef240dd798b13515141e194828f
2015-03-24 10:31:17 +02:00
Noel Grandin
09d5b31ebe loplugin:constantfunction: store
Change-Id: I13284409404ef77eb16164b7ce2074259d2cad12
2015-03-24 10:31:17 +02:00
Noel Grandin
5eeec1363e loplugin:constantfunction: rsc
Change-Id: I574bac6b25c9f36ff3d545420ea49d99a9c79b05
2015-03-24 10:31:17 +02:00
Miklos Vajna
2754e16702 DocxAttributeOutput::m_pSdtPrDataBindingAttrs: use std::unique_ptr
Change-Id: I13a9a2130b3d5cc4c1e6e2d299e0c7227cf80544
2015-03-24 09:03:15 +01:00
Noel Grandin
5dad2733b8 loplugin:constantfunction: test
Change-Id: I86eb9e46bec561bf0ede60180754ae35cefadfd5
2015-03-24 09:45:51 +02:00
László Németh
9b0e09dedc SkipImages option for document import
This option allows images and drawings to be skipped while importing
DOC and DOCX, for text-only conversion or indexing.

Change-Id: Id4bfbbe48d8a8e970b1cb5922187768bf94dc918
Reviewed-on: https://gerrit.libreoffice.org/14733
Reviewed-by: Németh László <nemeth@numbertext.org>
Tested-by: Németh László <nemeth@numbertext.org>
2015-03-24 07:38:04 +00:00
Noel Grandin
799a7878fd convert SFX_PRINTER constants to enum class
Change-Id: I5dca39f7668be2c03c904c33b6181ba769b70990
2015-03-24 09:36:59 +02:00
Noel Grandin
fba2d764d8 convert SfxPopupWindowType to enum class
Change-Id: I03813103d648c5745beab740403c7912cdff2756
2015-03-24 09:36:59 +02:00
Noel Grandin
b2125ae811 convert FILTER_APPLICATION to enum class
Change-Id: I9ad1d1c9a2d9d538a4cc95f0b65f45f631116916
2015-03-24 09:36:58 +02:00
Noel Grandin
ecec9afe85 convert SVX_ZOOM_ENABLE constants to enum class
Change-Id: Iead354b95b832edd72eb8e881855f228fd85be70
2015-03-24 09:36:58 +02:00
Noel Grandin
5d37fa2a71 convert SvxZoomType to enum class
Change-Id: I7308e848d3f9ac391dc656a145139dabbc792df3
2015-03-24 09:36:57 +02:00
Noel Grandin
23e0b0ba4b convert sfxlink to enum class
Change-Id: I4466af8d40e7860b20a26c5ccf2265ee40c5a9ab
2015-03-24 09:36:57 +02:00
Noel Grandin
ffcfcd76d1 convert SfxChildAlignment to enum class
Change-Id: I9013bc6dace79421b0a9ad0401a4fb59365d4dcf
2015-03-24 09:36:56 +02:00
Noel Grandin
eba9e9f88c convert SfxPopupAction to enum class
and move it out of the header file, because it's only used inside one
.cxx file

Change-Id: I94b8cb957b86b1ee51e654b2d247269ef2cec88a
2015-03-24 09:36:56 +02:00
Noel Grandin
61831eb816 loplugin:constantfunction: dbaccess
Change-Id: I896f2716cb91169e30f555943174b5aa67e74b20
2015-03-24 09:09:32 +02:00
Noel Grandin
18ef0c66f0 fix windows build
after my commit d7a4135b07
"loplugin:constantfunction: lotuswordpro"
it appears that Visual Studio does not support this yet

Change-Id: Ide04fde905e0991e27ec03c3e216fcbd25b1f10b
2015-03-24 09:09:32 +02:00
Pranav Kant
183f3791ba Reverts and correct "tdf#88230: Cleanup solar mutex yielding"
This reverts commit b15b97ee6b. This
commit directly used SolarMutexReleaser class which releases the solar
mutex first and then acquires the mutex after the destruction of the
object. This is not the correct way of replacing the pre-existing code
where mutex needs to be acquired first and then released.

Additionally, this commit adds a correct replacement for pre-existing
code too.

Change-Id: I79aff608d94ed2d4736679a691b8c18f8a23c581
Reviewed-on: https://gerrit.libreoffice.org/14981
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-03-24 07:04:16 +00:00
Pranav Kant
c6c4d21847 tdf#88230: Remove bogus AcquireSolarMutex fpicker wrapper
Change-Id: I5514c2db57b48d99f7daf410eda11f5ee882438e
Reviewed-on: https://gerrit.libreoffice.org/14972
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-03-24 06:28:54 +00:00
Pranav Kant
b15b97ee6b tdf#88230: Cleanup solar mutex yielding
Fallout from 9bb8ba4e06

Change-Id: I84fab3d8f12015b5d5a4f93ea0164bc964de17bd
Reviewed-on: https://gerrit.libreoffice.org/14973
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-03-24 06:28:27 +00:00
Noel Grandin
d7a4135b07 loplugin:constantfunction: lotuswordpro
Change-Id: I16fbba302c7330010f9b4c888f48a868ad6b921e
2015-03-24 08:14:15 +02:00
Yousuf Philips
8e786be3ad tdf#87234 Breeze: Tweak the alignment icons
Change-Id: I1d920cdd34c806b5f276bbd3984d4977df351a21
Reviewed-on: https://gerrit.libreoffice.org/14976
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2015-03-24 03:58:56 +00:00
Tor Lillqvist
0b0dbd64bb Build libtest on Windows, too
Doesn't as such work properly, as LibreOfficeKit doesn't work on
Windows yet. From Juergen Funk's https://gerrit.libreoffice.org/#/c/13017/ .

Change-Id: I685fddf0bada072e5dae485262b194b4fa5d26bc
2015-03-23 23:54:01 +02:00
Tor Lillqvist
5e5cc4702a Sanitize a few SAL_INFOs
Change-Id: Ib5e7e9250f90a9282c25446b606166499fc9d369
2015-03-23 23:54:00 +02:00
Julien Nabet
817fefa5a2 Typo: impemented->implemented
Change-Id: Ifa031a872bd618c41b0fbb2e0fd5a17e0f7b0a53
2015-03-23 21:43:30 +01:00
Julien Nabet
aa5754b27c Unusedcode.easy: ScBroadcastAreaSlot::AreaBroadcastInRange
Change-Id: If3f17ccea65a91199e4d8a0f8c0a241d07788f9c
2015-03-23 21:39:39 +01:00
Yousuf Philips
19385d209f tdf#75256 fixed formula, added sort, and fixed function wizard
Change-Id: I5c9ffe337672d55c2b185f84bdd721ff376e1e44
Reviewed-on: https://gerrit.libreoffice.org/14965
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
2015-03-23 20:35:27 +00:00
Tor Lillqvist
9bb8ba4e06 Typo: s/SEPERATOR/SEPARATOR
Thanks to Jürgen Funk for noticing, on
https://gerrit.libreoffice.org/#/c/13017/ .

Change-Id: Iff6225d658a9f5c7d3cd95b1f5b0b17606897d15
2015-03-23 21:11:08 +02:00
Julien Nabet
41c99ab630 Typos
Change-Id: Ie08a26a569b83bfe3ef4351dbb7b6e928745b95d
2015-03-23 20:08:36 +01:00
vsfoote
603c884572 tdf#88001 -- Default document view, force single page rather than automatic
This commit changes sw default to be single page view rather than automatic
defaulting to a multi-page view and automatic fit. Also, sets status bar page
icon default to single page, and corrects lableing of view to read "multi-page"
rather than "two page".

Change-Id: I1a2f81150d7066ea56af0870e83c1e4ae66d3404
Reviewed-on: https://gerrit.libreoffice.org/14835
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2015-03-23 16:56:00 +00:00
Caolán McNamara
05ad682e73 SvpSalGraphics::drawRect needs to adjust the rect bounds for line drawing
like X11SalGraphicsImpl::drawRect does

now the focus borders in the layouts pane of impress update correctly
as the border is added/removed as you pass the mouse over them with
the gtk3 plugin

Change-Id: I1f03065049c2aee2e3c28e7a16777e9b06e34c6e
2015-03-23 16:35:59 +00:00
Caolán McNamara
cbd48230bb drawing a vertical/horizontal line does not really damage 0 width/height areas
so follow the same logic as drawPixel which equally does not damage a 0
width and height point

Change-Id: Ie2c400caf1ad2e3a874f92c6f90f5f071f9c95e3
2015-03-23 16:35:59 +00:00
Stephan Bergmann
dffc47e401 Turn WB_* macros into WinBits const variables
...to avoid problems with postwin.h #undef'ing WB_LEFT/RIGHT.  Ultimately,
WinBits should likely be turned into an enum.

Change-Id: I48e9151ec1fd3b94fc23c8859cd65e3b7f80abf5
2015-03-23 17:30:11 +01:00
Stephan Bergmann
be4ca35ad7 loplugin:saloverride
Change-Id: Ia41415272e12b47ae332c38badd323ad3ab6a5ad
2015-03-23 16:58:54 +01:00
Stephan Bergmann
79754dee2e More Windows define whack-a-mole
Change-Id: I09bf1cfe22a65b8dbbcc7139cd1055f0e829210d
2015-03-23 16:05:33 +01:00
Stephan Bergmann
8edf711eb2 Avoid KeyFuncType::DELETE shadowed by a macro on Windows
...required to remove the WIN_* defines from postwin.h, so that the latter can
be included multiple times; the WIN_* defines appeared to be unused except for
one use of WND_FindWindow anyway

Change-Id: I2080225c74c196fbc1b7d4f20b636b44e1e12150
2015-03-23 15:36:47 +01:00
Tor Lillqvist
ca35a282d5 WaE: 'rRefDevice' : unreferenced formal parameter
Change-Id: If45c91f04caef8cd4387f623c773913ee1a1154d
2015-03-23 16:02:26 +02:00
Tor Lillqvist
ce4412b52f Quick hack to bypass a test that fails on a Retina Mac
Change-Id: If4bda345cae62b8f7c809ea8bd56913d436602b6
2015-03-23 15:50:15 +02:00
Tor Lillqvist
4be86e71d6 Add comment about the DPI calculation
Change-Id: I791904a50db75ed94c166b0f84d9f08cb088bafe
2015-03-23 15:50:15 +02:00