Commit Graph

344017 Commits

Author SHA1 Message Date
Matúš Kukan
d50e08b4e1 fdo#74132: Do not interrupt search in Calc.
Extending f25cdaa78d
"fdo#74132: Do not interrupt search in Writer." for Calc.

Change-Id: I3a7e5070300993d2811a79f17cb1b2edb0355c44
2014-02-05 19:10:04 +01:00
Matúš Kukan
4784e94cec GetSearchDialog() returns SvxSearchDialog; and use it in more places too. 2014-02-05 19:09:41 +01:00
Matúš Kukan
ac789ae775 MSG_SEARCH_FOO unused
Change-Id: I61ed39e3fc6ba1a6fe024693683f32a6a7ca88f1
2014-02-05 19:09:35 +01:00
Matúš Kukan
bd07555b6d SvxSearchDialog: Remove always false bMultiLineEdit.
Seems to be at least from 5c4b13d1be.
'searchformat' and 'replaceformat' becomes then unused too.

Change-Id: Id5276e22478e5f863c12eadd7a7172d80ea685bb
2014-02-05 19:09:30 +01:00
Matúš Kukan
f25cdaa78d fdo#74132: Do not interrupt search in Writer.
Instead of "Do you want to continue at the beginning?" dialog,
just inform that we were at the end of the document in new label.

Also replace 'Search key not found' dialog with label.

Change-Id: I6a140cbad93406b73996f87a6d05fcc5d245fdbf
2014-02-05 19:09:15 +01:00
Matúš Kukan
d6f13b6a84 Remove unfinished code.
Change-Id: Iee9e2ff03fc1bce45965148a772c0984a0a9f8d0
2014-02-05 19:09:11 +01:00
Matúš Kukan
ed9e1e7390 Use anonymous namespace for UUIInteractionHandler.
After it's no longer used in uui_component_getFactory,
since fe537786a4

Change-Id: I27f77b88c898f665d481931a55f1a0c1fce15818
2014-02-05 19:08:43 +01:00
Matúš Kukan
fe537786a4 uui: Ctor feature for com.sun.star.comp.uui.UUIInteractionHandler.
Change-Id: I94858cef5402e88ddcc3e0e9e4383f7be8443e77
2014-02-05 19:07:20 +01:00
Matúš Kukan
1d77f5ce5e sw: Ctor feature for sw.sidebar.SwPanelFactory
Change-Id: I6854bdf96f050b7f333803d068fe681df92ed3e6
2014-02-05 19:07:20 +01:00
Caolán McNamara
351cfed9de transparence->transparency
Change-Id: Ief774a0e02dc1489239b2a0c1fd550a5f6ee66de
2014-02-05 16:52:33 +00:00
Jürgen Schmidt
8d6debac77 Resolves: #i123116# correct spelling errors
Patch By: Aivaras Stepukonis
Review By: jsc

(cherry picked from commit a845d71360fc3cd0205d554964c4fd9fe87f0f8a)

Conflicts:
	svx/source/sidebar/area/AreaPropertyPanel.src

Change-Id: Ib5158a2e28f1af426cd845ac648bcd4674d496f0
2014-02-05 16:52:32 +00:00
Caolán McNamara
621ddc9c95 get make findunusedcode working again
Change-Id: I8fed32b8eb1e986321dde0542c15b7b8cf91b123
2014-02-05 16:52:32 +00:00
Jacobo Aragunde Pérez
c1d69c0e9e fdo#35105: notify role change through a new UNO a11y event
A new UNO accessibility event called ROLE_CHANGED has been created.
It should be triggered when an accessible object changes its role and
every accessibility toolkit should use its own methods to make that
change effective.

Code to support the event in ATK has been added.

Change-Id: I132e303bdb148967231334458c3cfa369c36ec8f
Reviewed-on: https://gerrit.libreoffice.org/7853
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2014-02-05 16:50:30 +00:00
Lionel Elie Mamane
f5c7e77031 fdo#69652 Default(Date|Time) is a UNO struct now
Changed to UNO struct from integer by
  fdo#67235 adapt form control code to time nanosecond API change

Change-Id: I5817d44438d70a0da534c03afd22d74a311252f5
2014-02-05 17:28:01 +01:00
Tor Lillqvist
a093cea5da WaE: [loplugin:literaltoboolconversion]
Change-Id: I4025c6a00ed6f9dc3522701bcd85153276626330
2014-02-05 18:18:02 +02:00
Samuel Mehrbrodt
5350d30b10 fdo#62082 Fix buttons in Custom animation toolbar
* Use small button size
* Fix duplicate arrows
* Change "Remove" icon
* Remove no longer used icons

Change-Id: I28a22704fc0696d00d97ac3b6b6fc0c98c3433ed
Reviewed-on: https://gerrit.libreoffice.org/7867
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-05 16:05:06 +00:00
Chris Sherlock
999a83b455 fdo#74424 Use Window::GetOutDev() to access ImplHasMirroredGraphics()
Part of the decoupling of Window from OutputDevice. We now get
the Window's OutputDevice instance and manipulate this. Do not rely
on the inherited function.

Conflicts:
	vcl/source/window/window.cxx

Change-Id: If429486dee4f7cc1e55ca48ab5d715d0c30578a3
Reviewed-on: https://gerrit.libreoffice.org/7794
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-05 14:59:08 +00:00
Chris Sherlock
c11b48d09f fdo#74424 - added TODO
The function OutputDevice::ImplInitClipRegion() should be moved into
Window, VirtualDevice and Printer. Added a TODO note.

Change-Id: Ia9c7a5299e8762ad96788232466b0772c0a2e6bb
Reviewed-on: https://gerrit.libreoffice.org/7796
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-05 14:52:49 +00:00
Chris Sherlock
9cb1018c81 fdo#74424 Use Window::GetOutDev() to access ImplInitOutDevData()
Part of the decoupling of Window from OutputDevice. We now get
the Window's OutputDevice instance and manipulate this. Do not rely
on the inherited function.

Conflicts:
	vcl/source/window/window.cxx

Change-Id: Ia68ba25a9d42ce653c093dbea7087ab8431c8509
Reviewed-on: https://gerrit.libreoffice.org/7795
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-05 14:51:39 +00:00
Caolán McNamara
f1e96f263d OutputDevice::ImplHasMirroredGraphics can be const
Change-Id: I639c4821d9ef4da04ccbed6b93f7e6e3b51ae74d
2014-02-05 14:46:37 +00:00
Chris Sherlock
8f542a605b fdo#74424 Use Window::GetOutDev() to access ImplDrawFrameDev()
Part of the decoupling of Window from OutputDevice. We now get
the Window's OutputDevice instance and manipulate this. Do not rely
on the inherited function.

Change-Id: Ie1381b06b940f9220ee77606f9882aa7a4ea1381
Reviewed-on: https://gerrit.libreoffice.org/7808
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-05 14:42:36 +00:00
Chris Sherlock
d892e5d4da fdo#74424 Use Window::GetOutDev() to access ImplGetGraphics()
Part of the decoupling of Window from OutputDevice. We now get
the Window's OutputDevice instance and manipulate this. Do not rely
on the inherited function.

Conflicts:
	vcl/source/window/window2.cxx

Change-Id: I964596bb6457ccb24e69bad15c497dbf97e5880f
Reviewed-on: https://gerrit.libreoffice.org/7789
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-05 14:41:18 +00:00
Chris Sherlock
e45c729da2 fdo#74424 Use Window::GetOutDev() to access ImplLogicToDevicePixel()
Part of the decoupling of Window from OutputDevice. We now get
the Window's OutputDevice instance and manipulate this. Do not rely
on the inherited function.

Conflicts:
	vcl/source/window/window.cxx
	vcl/source/window/window2.cxx

Change-Id: I5e5241ed9eb586bc31ae9411cd7eef460aa707c3
Reviewed-on: https://gerrit.libreoffice.org/7800
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-05 14:38:05 +00:00
Chris Sherlock
7e122c54f5 fdo#74424 Use Window::GetOutDev() to access ImplInitFontList()
Part of the decoupling of Window from OutputDevice. We now get
the Window's OutputDevice instance and manipulate this. Do not rely
on the inherited function.

Change-Id: I18a2688d85ed23a4773e6527bd4923f7d6c83a28
Reviewed-on: https://gerrit.libreoffice.org/7799
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-05 14:31:40 +00:00
Chris Sherlock
d56804f00c fdo#74424 Use Window::GetOutDev() to access ImplSelectClipRegion()
Part of the decoupling of Window from OutputDevice. We now get
the Window's OutputDevice instance and manipulate this. Do not rely
on the inherited function.

Conflicts:
	vcl/source/window/window.cxx

Change-Id: Idae6dcaa1c774a437887a7cfdbfc882aa4b35325
Reviewed-on: https://gerrit.libreoffice.org/7797
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-05 14:30:41 +00:00
Alexandre Vicenzi
e17cf91032 fdo#54938 Convert comphelper and vcl to cppu::supportsService
Change-Id: I391a7324bf92208fe632dac17874943343b1f65a
Reviewed-on: https://gerrit.libreoffice.org/7757
Reviewed-by: Marcos Souza <marcos.souza.org@gmail.com>
Tested-by: Marcos Souza <marcos.souza.org@gmail.com>
2014-02-05 14:29:57 +00:00
Chris Sherlock
a7395942ae fdo#74424 Use Window::GetOutDev() to access ImplReleaseGraphics()
Part of the decoupling of Window from OutputDevice. We now get
the Window's OutputDevice instance and manipulate this. Do not rely
on the inherited function.

Change-Id: Idde976aacd1bea2871cc72509a59c17af6f560f5
Reviewed-on: https://gerrit.libreoffice.org/7790
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-05 14:28:42 +00:00
Chris Sherlock
be16bfd4c2 fdo#74424 Use Window::GetOutDev() to access ImplIsRecordLayout()
Part of the decoupling of Window from OutputDevice. We now get
the Window's OutputDevice instance and manipulate this. Do not rely
on the inherited function.

Change-Id: Ibbdd8062659ed0de2925a61ce5e63e5a21834ade
Reviewed-on: https://gerrit.libreoffice.org/7814
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-05 14:26:34 +00:00
Chris Sherlock
fba46c6efd fdo#74424 Use Window::GetOutDev() to access ImplReMirrored()
Part of the decoupling of Window from OutputDevice. We now get
he Window's OutputDevice instance and manipulate this. Do not rely
on the inherited function.

Conflicts:
	include/vcl/window.hxx

Change-Id: Ie422df837e1596881b61d34a1627b0ecc668a54e
Reviewed-on: https://gerrit.libreoffice.org/7793
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2014-02-05 14:24:16 +00:00
Chris Sherlock
d662116bb9 fdo#74424 Use Window::GetOutDev() to access ImplGetDPI(X|Y)()
Part of the decoupling of Window from OutputDevice. We now get
the Window's OutputDevice instance and manipulate this. Do not rely
on the inherited function.

Conflicts:
	include/vcl/window.hxx

Change-Id: I93c83578eb92cdf10c7009f98e91ab177879c141
Reviewed-on: https://gerrit.libreoffice.org/7788
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-05 14:16:04 +00:00
Alexandre Vicenzi
625971b104 fdo#54938 Convert sfx2, xmloff and connec.. to cppu::supportsService
Change-Id: Ib5d3aabf8aa88ec24e44584047d0405a09fa44ed
Reviewed-on: https://gerrit.libreoffice.org/7864
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Marcos Souza <marcos.souza.org@gmail.com>
2014-02-05 14:01:18 +00:00
Chris Sherlock
6a6a51ed05 fdo#74424 Start to decouple Window class from OutputDevice
We want to start to decouple Window from OutputDevice. This is
because a Window should *use* an OutputDevice, a Window is *not*
an OutputDevice.

In order to start to decouple the two classes, the strategy will be:

1. This patch adds in a new private member pOutputDevice as well
   as an accessor. When the Window is initialized, pOutputDevice
   is set to a downcasted instance of this (because we are still
   inheriting Window from OutputDevice).

2. We will start to go through all the functions in Window that rely
   on OutputDevice and use the getter function to use the OutputDevice
   private member.

3. Any subclasses of Window will then need to have the same procedure
   done on them.

4. Once this is done, we need to work out the best way of initializing
   mpOutputDevice, then we can remove OutputDevice as the parent
   class of Window (and all Window subclasses).

Change-Id: I39886c77070befb1542c8f22346111cde1c360b1
Reviewed-on: https://gerrit.libreoffice.org/7786
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-05 13:41:13 +00:00
Michael Stahl
a10f9277b5 chart2: remove unnecessary complexity
Change-Id: I4c63fbb31ab49ed70c4e3092c5fe70a2b3514e3d
2014-02-05 13:43:22 +01:00
Timothy Markle
995073b08e fdo#43157 - Clean up OSL_ASSERT
Changed OSL_ASSERT to SAL_WARN_IF

Change-Id: I6f81a265aefe769e1449b1f10c796bf3aa1d0f1c
2014-02-05 12:39:03 +00:00
Stephan Bergmann
1b5beba7c1 Fix previous fix
Change-Id: I6a38e537279884079fbc10086d153113d38b8bfd
2014-02-05 13:33:56 +01:00
Stephan Bergmann
a2e2ef6175 Fix target of .glsl files on Mac OS X
Change-Id: I874c97d7e6a80accc48b876b9151e3a8a2148280
2014-02-05 13:28:26 +01:00
Caolán McNamara
ee2fcbab6d C2872: ´Window´ : ambiguous symbol
Change-Id: Id5a342b9fdc5240b70b0985f4c6de9493162f10c
2014-02-05 11:37:38 +00:00
Caolán McNamara
e401b9c824 convert scenario dialog to .ui
Change-Id: I66f7fe04155ad4c6e42e6aa96bb2db71ba4f682f
2014-02-05 11:36:35 +00:00
Armin Le Grand
258e6f93e8 Resolves: #i124143# for draw:frame containing multiple draw:image...
and draw:glue-point it is necessary to move the GluePoints from the last
draw:image where they were automatically imported to the surviving one if these
are different

(cherry picked from commit c011af1087411a9bacd29cd479c807e698b2e92c)

Conflicts:
	xmloff/inc/xmloff/xmlictxt.hxx
	xmloff/source/core/xmlmultiimagehelper.cxx
	xmloff/source/draw/ximpshap.cxx
	xmloff/source/draw/ximpshap.hxx

Change-Id: I8f6c875767e9cbfee74838742401356df002b051
2014-02-05 11:36:35 +00:00
Stephan Bergmann
461550cdb5 Remove unused HTMLMODE_* defines
...and turn the remaining ones into an enum.

Change-Id: I2e650fe2640f2bf512f356c7881a9722faa6ce25
2014-02-05 12:35:41 +01:00
Michael Stahl
6c820a2816 basic: _FIND_STATIC likely not an error in SbiExprNode::GenElement()
All other _FIND_* are explicitly not errors, and probably CWS npower10
forgot to adapt this assertion.

Change-Id: If721c275eb1bc31d76140898602b41e11c23d82e
Reviewed-on: https://gerrit.libreoffice.org/7863
Reviewed-by: Noel Power <noel.power@suse.com>
Tested-by: Noel Power <noel.power@suse.com>
2014-02-05 10:16:09 +00:00
Stephan Bergmann
970df64bc9 static assert is enough
Change-Id: I51be076119b23611f006fb4ebefd8f4bb727ded8
2014-02-05 11:11:39 +01:00
David Tardon
6b127d40c7 rhbz#1057977 avoid use of invalidated pointers
Change-Id: Ib81f79da696b5e8002f5a2ddcf160903231dc3f1
2014-02-05 11:02:53 +01:00
Stephan Bergmann
561c48178c Adapt JunitTest_sw_complex to 2bb87dd659
"fdo#39944: Add DOCUMENT_* accessibility UNO roles"

Change-Id: I8b68ef756d054ee4e53941927108253d62e82672
2014-02-05 10:56:37 +01:00
Zolnai Tamás
07eb648d82 Remove some extra break
Change-Id: I55405c748d67101ecef8ef8a52037a26bc52b9f6
2014-02-05 10:48:38 +01:00
Zolnai Tamás
a468e38669 drawingML import: paragraph adjustment inside group shape
Change-Id: I875cb1f12c9f81d329d7fe9cd3aa32a4cd818573
2014-02-05 10:48:37 +01:00
Zolnai Tamás
c53dd7ea94 drawingML import: capitalization inside group shape
There are two types of capitalization in DOCX:
-uppercase: <w:caps>
-smallcaps: <w:smallCaps>

Change-Id: I6a5d238bed68aa3fd3478a77cf1942f009480eb6
2014-02-05 10:48:37 +01:00
Chris Sherlock
51a68b4992 Doxygen warnings corrected
* Doxygen spits out a lot of warnings about not being able to find
  match function signatures, etc. This is because in some headers we
  have a using namespace statement, in others it gets confused between
  ::Window and Window (!).

* Wrong use of tags:
  + Lots of @seealso - should be @see
  + Wrong usage of @overload - corrected with the right function
    signature
  + HTML tags that doxygen doesn't recognize removed

Change-Id: I1c2eed941619b8764dbfcfc5ab38027518cdf261
2014-02-05 09:14:53 +00:00
Tor Lillqvist
651756a5f4 WaE: statement aligned as ... [loplugin:bodynotinblock]
Change-Id: I4e3078ab29ff6ad2d89f68ef6413d2f3fb1fcb80
2014-02-05 10:52:34 +02:00
Stephan Bergmann
e12747c8cf -Werror,-Wunused-private-field
Change-Id: I86e069e14d82be311368662f5128b30a7d00be90
2014-02-05 09:43:12 +01:00