599 Commits

Author SHA1 Message Date
Noel Grandin
be88947bac svx: sal_Bool->bool
Change-Id: I464eba5fd5521c31868c6fc8a2137f17428d421e
2014-04-15 09:02:33 +02:00
Tor Lillqvist
c2ffc9e180 WaE: overriding virtual function declaration not marked 'override'
Change-Id: Idd8b8fcbaebbedf5d5cd33075ef56829e19dd6c0
2014-04-15 08:45:29 +03:00
Markus Mohrhard
ce9f9de197 move the opengl headers to vcl/opengl for better separation
Change-Id: I1bdd0fe0d27674da69a61bd8b438f0c9b050a337
2014-04-15 01:51:28 +02:00
Markus Mohrhard
3bd173af50 only render through OpenGL after successful context creation
Change-Id: I60ebceee2bf0eca1c7022e14fc43128347d682b5
2014-04-15 01:51:27 +02:00
Markus Mohrhard
a3125e805b switch to IOpenGLRenderer in chart2 2D rendering
Change-Id: If2351186e6e6612a84b1c98c28bbb7f2c3dc49ab
2014-04-15 01:51:27 +02:00
Markus Mohrhard
7f6b1560e9 tie lifetime of some objects together
It is just too complicated to follow the different OpenGL contexts in
our current desing. This will at least simplify our handling a bit.

IOpenGLRenderer is an abstract interface that should be implemented by
the code using SdrOpenGLObj to paint with OpenGL.

Change-Id: Ib4bfc0350b4345bc27af8bed037c48c11bb67300
2014-04-15 01:51:26 +02:00
Thomas Arnhold
45f28fb212 typo: realative -> relative 2014-04-14 12:32:51 +02:00
Thomas Arnhold
6cde7647c9 typo: implicitely -> implicitly 2014-04-14 12:32:33 +02:00
Caolán McNamara
4355ac8c31 coverity#708338 Uninitialized scalar field
Change-Id: I2c4eb18e6bf140d37a10c8105922e13583dcde41
2014-04-11 11:21:12 +01:00
Tor Lillqvist
6835d9f307 It's "its", not "it's"
Change-Id: Ieaa787afd7cc622b4750a2ee8f17f6dad934ba63
2014-04-10 20:22:50 +03:00
Stephan Bergmann
8f703221a0 Clean up function declarations and some unused functions
Change-Id: Ic720aa7b30bbe56d67e0b65f3e047ad3ae521a97
2014-04-10 11:24:39 +02:00
Caolán McNamara
190e3f7f51 coverity#708202 Uninitialized scalar field
Change-Id: Ie73377009a2aefd4ec18adafc61e56076b8c3c9a
2014-04-08 09:18:37 +01:00
Faisal M. Al-Otaibi
d2771b63b9 fdo#77123: Add option ignore kashida to the search
This patch will add new checkbox to ignore kashida in the
search and replace dialog.

Change-Id: I9e7179242751103b8418d922ade5b9145170ad15
2014-04-08 10:58:15 +03:00
Tor Lillqvist
98973e8ae3 WaE: overriding virtual function declaration not marked 'override'
Change-Id: Ib4693d28657cb8d33f41184696cf83c4e55ad0d7
2014-04-08 08:09:19 +03:00
Markus Mohrhard
f5a86d3ba0 initial work on allowing to resize the OpenGL object
Change-Id: I29799522d32e31b4ffbba9d931fda352ee080e2d
2014-04-08 04:38:21 +02:00
Markus Mohrhard
6948bf58ce move the OpenGLContext to the model object
In the next step we need to initialize it again but in the ViewContact
it gets destroyed several times which is a problem.

Change-Id: I3efe4311bfb279b7407eabd0dd673f33603d8e9b
2014-04-08 04:38:21 +02:00
Markus Mohrhard
feffcbb02c Revert "Remove opengl usage from svx until we can't solve building problems"
This reverts commit 10be411f33c69db83cc5de410eaddf2d297608ae.
2014-04-08 04:38:20 +02:00
Stephan Bergmann
6ac0e1399a Remove silly PUT_SEMICOLON_AT_THE_END
...and rather live with macro calls not terminated by semicolons until those
macros are gone for good anyway.  Completely remove unused
DECLARE_UNO3_XCOMPONENT_DEFAULTS.

Change-Id: I0d4eb5a91736004b0da2b09fce860e57f6d1ddbd
2014-04-07 17:27:39 +02:00
Stephan Bergmann
8f6c55a839 Replace SV_DECL/IMPL_REF macros with SvRef template
Change-Id: I0ef2e67f6d61e0ce118c0f5e926b8194ef9d8058
2014-04-07 12:38:27 +02:00
Caolán McNamara
ebe48dea4b callcatcher: update unused code
Change-Id: I005f52ca96dd248dc70ab6641d114f0d76dbff72
2014-04-05 12:28:13 +01:00
Zolnai Tamás
f470f3c72e Introduce a new media shape property to handle mime type
Default mime-type for all media objects:
"application/vnd.sun.star.media"
The problem of missing mime-type detection
still exists. For now only glTF model has
a concrete type.

Change-Id: I4dca26c1c47a564579bbed926bffa3aa5eda6c04
2014-04-04 19:06:11 +02:00
Noel Grandin
a20b62dac8 svl/eitem.hxx: sal_Bool->bool
Change-Id: I45dfd2429a490af3cc80f51340e0c05a91425668
2014-04-04 13:44:18 +02:00
Caolán McNamara
f19ca44a04 callcatcher: update unused code
Change-Id: I23ad8bcbef9a0ef17aaa5d401d111c40a6560ee2
2014-04-04 09:35:19 +01:00
Noel Grandin
5babf1b903 remove unnecessary scope qualifier from sal_Bool uses
i.e. convert "::sal_Bool" to "sal_Bool"

Change-Id: Ie5943aee4fee617bf2670655558927ed25b7e067
2014-04-03 13:54:02 +02:00
Caolán McNamara
333282478a Related: fdo#75307 use the unique auto help id to identify tabpages
and dialogs that are loaded from the .ui format

Change-Id: I37aea52a3973d8d8f6a2ce8dabf80bb1e64db43f
2014-04-03 12:18:26 +01:00
Noel Grandin
c3a89936ab sfx2/tbxctrl.hxx: sal_Bool->bool
and clean up the mess around the two different Select methods
which just led to confusion in the overriding classes.

Change-Id: Iea0ea85752180d0dc50d2b4ddb3d861e8447fb0a
2014-04-03 09:17:54 +02:00
Noel Grandin
508cbb96a1 svx/fmgridcl.hxx: sal_Bool->bool
Change-Id: I610c408178f194db2a29e966feccba377f36e2cd
2014-04-03 09:17:53 +02:00
Noel Grandin
13d1a56677 svx: sal_Bool->bool
Change-Id: I3a293e72413e1dc39eaa4b5c289fc4fab6b556fd
2014-04-03 09:17:49 +02:00
Noel Grandin
728f60365c svx: sal_Bool->boo
Change-Id: I305ccda011463a3b24de48fae168ffae4da264c1
2014-04-03 09:17:48 +02:00
Stephan Bergmann
362d4f0cd4 Explicitly mark overriding destructors as "virtual"
It appears that the C++ standard allows overriding destructors to be marked
"override," but at least some MSVC versions complain about it, so at least make
sure such destructors are explicitly marked "virtual."

Change-Id: I0e1cafa7584fd16ebdce61f569eae2373a71b0a1
2014-04-01 19:22:54 +02:00
Miklos Vajna
b66d870868 svx: fix SID_OFFER_IMPORT and SID_ATTR_CHAR_GRABBAG having the same SID
As commit 669ad519902e21e0cb3537fb7e203987f75a4077 (colliding
SID_SVX_START based ids, 2013-06-24) suggests, new SID_SVX_START-based
SID's shouldn't be added to include/editeng/editids.hrc. However, if it
was done, at least add a comment about it to include/svx/svxids.hrc, so
it becomes obvious that the two slots have the same ID.

This makes Format -> Frame -> Area -> Bitmap have the Import Graphic
button again.

Change-Id: I2fc852200d3cc5dfbf073ed615ac83a46040e16c
2014-04-01 19:09:43 +02:00
Tor Lillqvist
7eef30b03e No need for <svx/sdr/event/eventhandler.hxx> to be public
Only used inside svx so move there.

Change-Id: I91a4b1964edab589ec8542255a2ca611f0d903a2
2014-03-31 16:13:14 +03:00
Caolán McNamara
bcb6362ccc coverity#1194938 Uncaught exception
also coverity#1194935 coverity#1194936 and coverity#1194937

Change-Id: I996ffcf97f72e5695147b61927956643340e80fc
2014-03-31 11:19:10 +01:00
Stephan Bergmann
6ef2df7b9b Remove remaining DBG_NAME* uses
...that had been used for DBG_CTOR, DBG_PROF, etc.

Change-Id: I8eac38e24b7110511feb7813aaf5a20ab82bdbe0
2014-03-28 17:26:09 +01:00
Armin Le Grand
6e61ecd096 Merge back branch alg_writerframes to trunk
(cherry picked from commit b635b4fa4e42053d30ab639643d2236a20243f62)

Conflicts:
	comphelper/inc/comphelper/TypeGeneration.hxx
	comphelper/source/property/TypeGeneration.cxx
	cui/source/factory/dlgfact.hxx
	cui/source/inc/cuitabarea.hxx
	cui/source/tabpages/tabarea.cxx
	cui/source/tabpages/tabarea.hrc
	cui/source/tabpages/tabarea.src
	cui/source/tabpages/tparea.cxx
	drawinglayer/source/primitive2d/polypolygonprimitive2d.cxx
	drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx
	drawinglayer/source/texture/texture.cxx
	editeng/inc/editeng/unotext.hxx
	editeng/source/items/frmitems.cxx
	include/drawinglayer/texture/texture.hxx
	include/editeng/brushitem.hxx
	include/svx/sdr/primitive2d/sdrdecompositiontools.hxx
	include/svx/svxids.hrc
	include/xmloff/xmltypes.hxx
	reportdesign/source/ui/misc/UITools.cxx
	sc/source/ui/drawfunc/drawsh.cxx
	sfx2/source/dialog/tabdlg.cxx
	svl/source/undo/undo.cxx
	svx/inc/svx/unoshprp.hxx
	sw/Library_sw.mk
	sw/inc/doc.hxx
	sw/inc/format.hxx
	sw/inc/frmfmt.hxx
	sw/inc/swatrset.hxx
	sw/inc/unomap.hxx
	sw/inc/unoprnms.hxx
	sw/source/core/access/accpara.cxx
	sw/source/core/attr/format.cxx
	sw/source/core/attr/swatrset.cxx
	sw/source/core/doc/docdraw.cxx
	sw/source/core/doc/docfly.cxx
	sw/source/core/doc/notxtfrm.cxx
	sw/source/core/inc/frame.hxx
	sw/source/core/inc/frmtool.hxx
	sw/source/core/layout/atrfrm.cxx
	sw/source/core/layout/paintfrm.cxx
	sw/source/core/text/inftxt.cxx
	sw/source/core/text/porfld.cxx
	sw/source/core/text/txtfly.cxx
	sw/source/core/txtnode/fntcache.cxx
	sw/source/core/uibase/app/docst.cxx
	sw/source/core/uibase/app/docstyle.cxx
	sw/source/core/uibase/shells/drawdlg.cxx
	sw/source/core/uibase/shells/frmsh.cxx
	sw/source/core/unocore/unoframe.cxx
	sw/source/core/unocore/unomap.cxx
	sw/source/core/unocore/unoprnms.cxx
	sw/source/core/unocore/unostyle.cxx
	sw/source/ui/fmtui/tmpdlg.cxx
	sw/source/ui/fmtui/tmpdlg.src
	sw/source/ui/frmdlg/frmdlg.cxx
	sw/source/ui/frmdlg/frmpage.src
	sw/source/ui/inc/frmsh.hxx
	xmloff/source/text/txtprhdl.cxx
	xmloff/source/text/txtprmap.cxx

Change-Id: Id3ffaa83bb5594d287f1ac8f2c1c9cf55c70946d
2014-03-28 14:31:08 +01:00
Stephan Bergmann
567ef6d578 Second batch of adding SAL_OVERRIDE to overriding function declarations
...mostly done with a rewriting Clang plugin, with just some manual tweaking
necessary to fix poor macro usage.

Change-Id: Ie656f9d653fc716f72ac175925272696d509038f
2014-03-27 18:12:18 +01:00
Noel Grandin
e9745e3a7f sfx2/stbitem.hxx: sal_Bool->bool
Change-Id: I7303d9533551fcfa7c7a99c9592402511492165a
2014-03-27 13:45:10 +02:00
Noel Grandin
34002c4e5c sfx2: sal_Bool->bool
Change-Id: I1fd02cc148fd9a54d2092dad1e548f51a0813a14
2014-03-27 13:45:09 +02:00
Noel Grandin
ffca950230 sfx2/childwin.hxx: sal_Bool->bool
Change-Id: I4fe18964a3178c797ce6e1fe259ec230c2de6eb7
2014-03-27 13:45:09 +02:00
Stephan Bergmann
5fb78604c1 Split TYPEINFO into plain and TYPEINFO_OVERRIDE
...where the latter contains SAL_OVERRIDE annotations

Change-Id: Id64794b388d83dfe7026440e8b20a5b5efd412d1
2014-03-26 11:54:55 +01:00
Caolán McNamara
361000e7b6 coverity#738867 Uninitialized pointer field
Change-Id: I14e7a499d994d5a93ca1c6263a5c52e3c6b14fb6
2014-03-25 17:03:50 +00:00
Noel Grandin
b5e11641a7 svtools: sal_Bool->bool
Change-Id: I90320997ed79be2556eafa4c35af6b968b378454
2014-03-25 14:32:56 +02:00
Noel Grandin
436cd90095 svtools: sal_Bool->bool
Change-Id: Ifd3e643dbc6755839ad4af73ae141fd115ddb4f4
2014-03-25 14:32:56 +02:00
Noel Grandin
f661ac03e0 svtools: sal_Bool->bool
Change-Id: I22d8869551f46d2a0607f670f937853f394b6acf
2014-03-24 08:12:09 +02:00
Noel Grandin
1a1fe47731 svtools: sal_Bool->bool
Change-Id: I0c2e9314d85860831b29db76c89c8776c1b071b9
2014-03-24 08:12:08 +02:00
Armin Le Grand
872b5642f9 i123573 corrected reaction on ItemChanges for CustomShapes
Conflicts:
	svx/source/sdr/properties/customshapeproperties.cxx

Change-Id: I9f37893bab72b2d9b9f8874f6827ca6bee5dfbe1
2014-03-23 06:57:06 +01:00
Armin Le Grand
120e469d17 i#115391 better support for MinTextSize settings
... for TextShapes and CustomShapes

Conflicts:
	include/svx/svdotext.hxx
	svx/source/sdr/properties/customshapeproperties.cxx
	svx/source/svdraw/svdoashp.cxx
	svx/source/svdraw/svdotext.cxx
	svx/source/svdraw/svdotxdr.cxx
	svx/source/svdraw/svdotxtr.cxx

Change-Id: Ie6f490801b6887568135ed5f83c8bbe7ab6daa08
2014-03-23 06:57:05 +01:00
Zolnai Tamás
10be411f33 Remove opengl usage from svx until we can't solve building problems
Change-Id: I45b2e0f772f7bcc47bc2e0ce2c7639ef775b379b
2014-03-21 17:35:03 +01:00
Zolnai Tamás
d834be0dac Init an opengl context bounded to an existent window.
Via ViewObjectContact can we query a window.
It seems this window is the same which is used
by chart edit mode.

Change-Id: Ib6df4d58730774f3d86b453b8174a78bb2c8a45b
2014-03-21 14:00:56 +01:00
Zolnai Tamás
47cf5156e9 Consistent naming: ViewContactOfOpenGL{->Obj}
Change-Id: I6bacdba00dfd81442919bce768ef2e7a9f8ce86e
2014-03-21 13:39:09 +01:00