f8c0e13ba2
Rename ValueItemList to ThumbnailValueItemList
...
The more common definition comes from svtools/valueset.hxx.
Make the difference clear.
Change-Id: I79b09f31007a4c00860fa97d8517a2b1f6aadeea
2013-06-30 13:22:19 +02:00
ba0a57702c
remove OUString wrap for string literals
...
For some functions and all kinds of Exceptions.
CannotConvertException
CloseVetoException
DisposedException
EmptyUndoStackException
ErrorCodeIOException
Exception
GridInvalidDataException
GridInvalidModelException
IOException
IllegalAccessException
IllegalArgumentException
IllegalTypeException
IndexOutOfBoundsException
NoMasterException
NoSuchElementException
NoSupportException
PropertyVetoException
RuntimeException
SAXException
ScannerException
StorageWrappedTargetException
UnsupportedFlavorException
VetoException
WrappedTargetException
ZipIOException
throwGenericSQLException
throwIllegallArgumentException
createInstance
createInstanceWithContext
forName
getByName
getPackageManager
getPropertyValue
getUnpackedValueOrDefault
getValueByName
hasPropertyByName
openKey
setName
setPropertyValue
supportsService
bash command:
for i in `cat list`; do git grep "$i\s*(\s*OUString(\s*\"" -- '*.[hc]xx'
| cut -d ':' -f1 | sort -u
| xargs sed -i
-e "s/\(\<$i\s*(\)\s*OUString(\s*\(\"[^\")\\]*\"\)\s*)\s*/\1\2/g"
-e "s/\($i.*\)\"+ /\1\" + /g";
done
Change-Id: Iaf8e641b0abf28c082906014f87a183517630535
Reviewed-on: https://gerrit.libreoffice.org/4624
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org >
Reviewed-by: Thomas Arnhold <thomas@arnhold.org >
Tested-by: Thomas Arnhold <thomas@arnhold.org >
2013-06-29 21:52:54 +00:00
318f2b64cc
remove some createFromAscii usage
...
there are a lot more of them:
git grep 'createFromAscii[^)]*"'
Change-Id: Ibc2e9cae208d8b9c91667bb3b177c6bd6d3a9424
2013-06-29 16:23:23 +02:00
e67c21ee06
Search for char instead of 1 char long string, when possible.
...
follow-up of a7674482254ee996b1c4fee60f3064778be369aa
Change-Id: I25f40c601454c092078307d931333af1bc1447ac
2013-06-29 09:53:41 +02:00
5cb2e3104b
remove toolkit/unohlp.hxx hack
...
Change-Id: Idb9971d848870f4d00dbf77e80e48bf7dfde8913
Reviewed-on: https://gerrit.libreoffice.org/4601
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org >
Tested-by: Fridrich Strba <fridrich@documentfoundation.org >
2013-06-28 11:49:28 +00:00
396ab1eba7
convert pdf security page to .ui
...
Change-Id: Ie785f4b112b8992707f886720d92bd34d0823f39
2013-06-28 11:50:15 +01:00
7a61efe422
add missing VclBuilder::stringmap argument to some builder functions
...
Change-Id: I57e13920b4707ebe5b6a7149dbdbfc45593c0d9d
2013-06-27 16:45:11 +01:00
5504e8d781
Use larger (96*96) icons for templates
...
Change-Id: I0a7b88de53d47a935d6290c52ba8749d08187643
Reviewed-on: https://gerrit.libreoffice.org/4458
Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr >
Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr >
2013-06-27 15:27:44 +00:00
b3962c92bf
WaE: unused variable 'aText' [loplugin]
...
Change-Id: I846030c5c7ad4e30e5286d1ee30130a397ad4daa
2013-06-25 08:52:28 +03:00
a1748501d8
Kill SfxAppToolBoxControl_Impl
...
(cherry picked from commit 273121f8d7e277e35c8e5a8aad46ef0c103ebc03)
Conflicts:
sfx2/inc/sfx2/mnuitem.hxx
sfx2/inc/sfx2/tbxctrl.hxx
sfx2/source/appl/appreg.cxx
sfx2/source/menu/mnuitem.cxx
sfx2/source/toolbox/tbxitem.cxx
Change-Id: I6d0750d89ad009f82c5552d971537b78e45426f2
Silence warning C4706
(cherry picked from commit 0b373b3e4c45d09c40a8949e9366adb9b991de4b)
Change-Id: Id497469eba8288565145c47c84b7938a1316c21a
2013-06-24 11:25:34 +01:00
b9a07c3755
Fix linking error of app for iOS in optimized build
...
ShowLockedDocumentDialog uses the DocumentLockFile API which is not
compiled for non-desktop OSes (see svl/Library_svl.mk). This leads to
an undefined reference to svt::DocumentLockFile::m_bAllowInteraction.
As ShowLockedDocumentDialog isn't used anyway without
HAVE_FEATURE_MULTIUSER_ENVIRONMENT, put it inside such an #if, too.
Thanks to Tsahi Glik <tsahi.glik@cloudon.com > for noticing.
Change-Id: I45d2179395b44709c52ab1871866a2bd5720c8b6
2013-06-23 21:57:35 +03:00
ecdd9d1a47
Resolves: fdo#65501 ensure configured backup dir exists before using it
...
the ucb stuff is the most god awful painful api ever
Change-Id: I491d2cb9b7d5d37723b32f0a26a22a09c16bc02e
2013-06-21 16:09:25 +01:00
bfbdb2d4f4
sidebar: Improve runtime error reporting (mostly missing .ui).
...
Change-Id: If7e0f24eab77028ddbfdb17dff82679b214efc74
2013-06-21 16:46:48 +02:00
6bf42bfc5a
coverity#707538 : unitialized scalar variables
...
Change-Id: Ie0cd3f1d43398bf4023b5b4503e3519c8005e149
Reviewed-on: https://gerrit.libreoffice.org/4407
Reviewed-by: Eike Rathke <erack@redhat.com >
Tested-by: Eike Rathke <erack@redhat.com >
2013-06-21 11:36:12 +00:00
7694bb997a
Resolves: fdo#65930 line height needs to be calculated in ctor
...
we need to know that right from the start, not after the first
layout event after shown.
Change-Id: If7cc12cdf3e83913f0162fe34b376196162f6a45
2013-06-19 21:18:34 +01:00
87dfa6dd33
Resolves: #i121810# Adapt SfxPrintingHint to work with...
...
the "new" XDocumentEventBroadcaster
(cherry picked from commit 1bfae56dd9d633a80924bfeefc03368100d75a8f)
Conflicts:
sfx2/inc/sfx2/event.hxx
sfx2/source/view/viewprn.cxx
Change-Id: I6b3e1edc396b82d85fe059e6cdf7ad0009d5b94b
2013-06-19 15:46:54 +01:00
bf4ecd6138
Resolves: fdo#65908 #i114817# missing PrintableState_JOB_STARTED notification
...
(cherry picked from commit 914cb68eed75ee8aa38fbf48d029057a66a21f30)
Change-Id: Icb7c304b856cfca7f80090c2d193a0b92a27bb30
2013-06-19 15:38:38 +01:00
d3c1c8d758
expand scheme to share sizes for paragraph dialog preview widgets
...
Change-Id: Id1ded6828468ff956c83eb57f1da62fd80761b5d
2013-06-19 15:18:30 +01:00
56e664405a
various now unused HIDs
...
Change-Id: I01ebf562bf5963a52f056d6023e5cc6efd12e386
2013-06-18 15:35:15 +01:00
8956854d8e
String to OUString (SfxStringItem and related)
...
Change-Id: I390413e9ff3efee720a6423fb8695b4c655d7efa
Reviewed-on: https://gerrit.libreoffice.org/4280
Reviewed-by: Noel Power <noel.power@suse.com >
Tested-by: Noel Power <noel.power@suse.com >
2013-06-18 08:11:58 +00:00
3d9e3cd2a2
Template Manager: Use actual template icons if no thumbnail exists
...
Change-Id: Ie1ee86a180701355886a340ea97940303f527422
Reviewed-on: https://gerrit.libreoffice.org/3278
Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr >
Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr >
2013-06-17 08:09:01 +00:00
f1967d9bd4
cppcheck: fix the rest uninitMemberVar reports in sfx2
...
Change-Id: Id573ebbb5aee7662a585b73ecb4432158c472d46
2013-06-16 11:58:09 +02:00
e7d0b21458
add missing modelines.
...
Change-Id: Ia0472d4dbce203f0b813e353b4b29f9dc9618664
2013-06-16 02:57:07 +01:00
35e17fa2b3
sidebar: disable listed but disabled toolpanel panes.
...
Change-Id: I4c156629c1b7587c342743af47be73f5cda253aa
2013-06-16 02:57:04 +01:00
edbca87dea
widget layout: Allow specification of size request for toolbox items.
...
Change-Id: I4b2f1ca9eb0b5bdb77e16a969918dd4f6afefb53
2013-06-15 14:42:09 +02:00
8e8e338fb3
cppcheck: fix some uninitMemberVar
...
Change-Id: Ie26e5adf2324f2af0a48c06d86545acf2acb1873
2013-06-14 23:43:35 +02:00
e0cce521f1
Resolves: #i121504# Support for alpha channel in clipboard for all systems
...
(cherry picked from commit ef3931ff410117e1237b3bef7bc090e8b83b9519)
Conflicts:
automation/source/server/statemnt.cxx
basic/source/runtime/methods.cxx
canvas/source/vcl/devicehelper.cxx
canvas/source/vcl/spritedevicehelper.cxx
drawinglayer/source/processor2d/vclhelperbufferdevice.cxx
drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx
drawinglayer/source/tools/converters.cxx
dtrans/source/win32/dtobj/FmtFilter.cxx
editeng/source/items/bulitem.cxx
extensions/source/scanner/sanedlg.cxx
external/gcc3_specific/makefile.mk
filter/source/graphicfilter/eos2met/eos2met.cxx
filter/source/graphicfilter/ios2met/ios2met.cxx
filter/source/msfilter/msdffimp.cxx
fpicker/source/office/iodlg.cxx
framework/source/fwe/classes/addonsoptions.cxx
framework/source/fwe/helper/actiontriggerhelper.cxx
sc/source/filter/excel/xiescher.cxx
sc/source/ui/docshell/docsh.cxx
sc/source/ui/inc/viewfunc.hxx
sd/source/ui/app/sdxfer.cxx
sd/source/ui/unoidl/unopage.cxx
sd/source/ui/view/sdview3.cxx
sfx2/source/appl/fileobj.cxx
sfx2/source/appl/linkmgr2.cxx
sfx2/source/dialog/filedlghelper.cxx
sfx2/source/dialog/intro.cxx
sfx2/source/doc/docinf.cxx
sot/inc/sot/formats.hxx
sot/source/base/formats.cxx
svtools/bmpmaker/bmpcore.cxx
svtools/bmpmaker/bmpsum.cxx
svtools/inc/svtools/transfer.hxx
svtools/source/filter/filter.cxx
svtools/source/filter/wmf/emfwr.cxx
svtools/source/filter/wmf/enhwmf.cxx
svtools/source/filter/wmf/winwmf.cxx
svtools/source/filter/wmf/wmfwr.cxx
svtools/source/graphic/graphic.cxx
svtools/source/graphic/provider.cxx
svtools/source/misc/transfer.cxx
svx/inc/svx/xoutbmp.hxx
svx/source/sdr/overlay/overlaymanagerbuffered.cxx
svx/source/xoutdev/_xoutbmp.cxx
sw/source/core/view/viewsh.cxx
sw/source/filter/ww1/w1filter.cxx
sw/source/filter/ww8/ww8par.hxx
sw/source/ui/dochdl/swdtflvr.cxx
toolkit/source/awt/vclxbitmap.cxx
toolkit/source/helper/vclunohelper.cxx
vcl/Library_vcl.mk
vcl/Package_inc.mk
vcl/aqua/source/dtrans/DataFlavorMapping.cxx
vcl/aqua/source/dtrans/OSXTransferable.cxx
vcl/aqua/source/dtrans/PictToBmpFlt.cxx
vcl/aqua/source/dtrans/PictToBmpFlt.hxx
vcl/inc/vcl/alpha.hxx
vcl/inc/vcl/bitmap.hxx
vcl/inc/vcl/bitmapex.hxx
vcl/inc/vcl/pngwrite.hxx
vcl/inc/vcl/salbtype.hxx
vcl/inc/vcl/wall.hxx
vcl/source/gdi/animate.cxx
vcl/source/gdi/bitmap2.cxx
vcl/source/gdi/bitmapex.cxx
vcl/source/gdi/bmpconv.cxx
vcl/source/gdi/cvtsvm.cxx
vcl/source/gdi/impgraph.cxx
vcl/source/gdi/impimagetree.cxx
vcl/source/gdi/metaact.cxx
vcl/source/gdi/wall.cxx
Change-Id: I79938bc412c048c3d4e64f430f216e73bec16167
2013-06-13 14:50:46 +01:00
10b26c9af2
Related: #i122453# Invalidate slot servers for all view shells...
...
on OLE deactivation
(cherry picked from commit f7f162aef22b025b0d0ffcd0bf0c5eead74143d0)
Conflicts:
sfx2/source/view/viewsh.cxx
Change-Id: Ia44ab98e273d3360b4d8ff2f2582cb04b4d43415
2013-06-12 15:43:09 +01:00
8055945bd4
Primitive2DReference : ambiguous symbol
...
Change-Id: I98876ab880e6a22693ffba9f50bf989b33ef7f1f
2013-06-12 15:00:54 +02:00
fac0bbb035
Primitive2DReference : ambiguous symbol
...
Change-Id: I4cd0d9a0023cef9458383e7ab979e24b5b3961c1
2013-06-12 12:49:20 +01:00
5bca3a50a6
Primitive2DSequence : ambiguous symbol
...
Change-Id: Ic6ed2a12e94dfd1927dc976970c2e6c873279da2
2013-06-12 12:20:38 +01:00
04c2e4f583
Related: #i121194# adapt template dialog code
...
we probably should remove the Bitmaps and use Graphics
exlusively, but for now do a simple brute force conversion
Change-Id: I0cdcb7d86f9304fd09f7e2c6aa7acdcec3785ae5
2013-06-11 20:00:56 +01:00
08fc4dc88b
mingw64: long -> sal_IntPtr in sfx2
...
Change-Id: If995a2cf00e2ced618ad1a1a68d093eb163ee27a
2013-06-10 14:03:38 +02:00
09b054fc4c
update graphicrepository links for new icon-theme locations
...
Change-Id: I8de2dbfa6eb98a9b879af362b850c487ab28fa7f
2013-06-10 11:29:03 +01:00
db979ee28a
fdo#63690 - replace RTL_CONTEXT_ macros with SAL_INFO
...
- replaced RTL_CONTEXT_ with SAL_INFO
- replace OSL_* with SAL_*
Change-Id: I9a7cce0d3abef42c9d9d0ad56609d94d504854cb
Reviewed-on: https://gerrit.libreoffice.org/4128
Reviewed-by: Miklos Vajna <vmiklos@suse.cz >
Tested-by: Miklos Vajna <vmiklos@suse.cz >
2013-06-10 08:41:50 +00:00
bc7bff4a0e
Fix memory leak in FileDialogHelper_Impl::createMatcher/addFilters.
...
Before resetting mpMatcher to a new value check whether the current
value needs to be deleted first.
Change-Id: I26039c19483621d809dbd8474b86254948efc9f6
Reviewed-on: https://gerrit.libreoffice.org/4194
Reviewed-by: David Tardon <dtardon@redhat.com >
Tested-by: David Tardon <dtardon@redhat.com >
2013-06-10 05:04:11 +00:00
ee3cea14c8
Typos: alwas -> always
...
Change-Id: Ibb064dd68dbee46e02b512a2a1a8dee34b0fd444
2013-06-08 13:43:26 +02:00
ee1726bfdb
sidebar: disable impress task pane if sidebar is enabled.
...
Change-Id: I64e601dfd6f4a3763188537f9507c536b86b70fe
2013-06-07 15:00:32 +01:00
2ecb0d812a
WaE: unused variables
...
Change-Id: I8d562422e91465393f7a96308677410cbe64e1d6
2013-06-07 13:41:56 +03:00
db77d9700e
WaE: unused variable 'pFilt'
...
Change-Id: I58bacc42d9b596ffef62237d0554fb0a3bff50a1
2013-06-06 19:13:21 +03:00
516ed22b3f
Remove remnants of help agent
...
it was removed with 66714f1888eaccef4eb5341971278ae7dfafa16b
but gobs of code (and UI) still existed to collect the help id
and give it to the missing help agent with various UI visible
options and buttons to control the help agent which isn't
there
Change-Id: I625da27b3046d481e43f4d35d32cc7063a1c6291
2013-06-06 14:52:49 +01:00
35a65baefe
Slowly, but surely going on compiling for mingw64
...
Change-Id: I590aa6a854a040281bf73d5be768c05d4906a984
2013-06-06 15:52:05 +02:00
11c00f1fdd
Fix -Werror,-Wunused-private-field
...
Change-Id: Idcba9e9bc6210250a37950a2b927b9b74cc57c4f
2013-06-06 08:31:34 +02:00
2aacba2b2a
Initialize SfxObjectShell bIsInGenerateThumbnail to sal_False.
...
paintfrm.cxx SwFlyFrm::Paint tries to optimize thumbnail generation
by checking IsInGenerateAndStoreThumbnail(). But bIsInGenerateThumbnail
is only set if SfxObjectShell::GenerateAndStoreThumbnail has already been
called. Before that the value returned by IsInGenerateAndStoreThumbnail()
would be random/uninitialized.
Change-Id: I8bf44cd5664b2ba34e95127a922dcbdbb85ddccb
Reviewed-on: https://gerrit.libreoffice.org/4155
Reviewed-by: Noel Power <noel.power@suse.com >
Tested-by: Noel Power <noel.power@suse.com >
2013-06-05 08:39:40 +00:00
f4e7b7758b
FileDialogHelper_Impl::addFilters. Don't leak matcher.
...
commit 178fc3 removed the creation of filter matcher and explicitly
set mbDeleteMatcher to sal_False. commit 551f85 reintroduced the
matchers, but forgot the remove the explicit setting of mbDeleteMatcher.
Causing mpMatcher to never get deleted even if a new SfxFilterMatcher
was created.
Change-Id: I59f085e1c3ce088f9215be60fb7161364bad0cbe
Reviewed-on: https://gerrit.libreoffice.org/4154
Reviewed-by: Noel Power <noel.power@suse.com >
Tested-by: Noel Power <noel.power@suse.com >
2013-06-05 08:38:55 +00:00
dcbaf7c253
remove unused componentcontext.hxx includes
...
Change-Id: I598926b72c5540b472f9607e2f3df134a8c50048
2013-06-05 08:13:21 +02:00
3b55196fb0
Resolves: #i122433# The sidebar ControllerItem can now...
...
give access to the extended help text for commands
(cherry picked from commit 3f483a9219b9135f9f854d62b4ad0512d3752660)
Conflicts:
sfx2/inc/sfx2/sidebar/ControllerItem.hxx
Change-Id: I22668e6f9c1c7aed174a43d7d3e04829dc6733ae
Related: #i122433# fix build breaker
invalid use of incomplete type 'struct Help'
(cherry picked from commit 797e399967ffb1c28b8c32d328f5f57d79a8caf3)
Change-Id: Ifde6fede9b91eb828c665a5a720b93171108e17b
2013-06-04 11:09:21 +01:00
5c66da2c92
Fix variable value reassigned before old value used
...
Change-Id: Ied47c5268b4554b219028281916d884aebf816dd
2013-06-03 23:08:30 +02:00
8d28110439
fix broken service name "com.sun.star.rendering.VCLCanvas"
...
The service is actually called "com.sun.star.rendering.Canvas.VCL"
It looks like the code in SidebarPanel is a copy'n'paste from
PresenterHelper, and it looks like the PresenterHelper code has been
broken since 2008.
Change-Id: I78a0fa3bf9333d6473a743cffdb1dc41a7a1266d
2013-06-03 10:00:02 +02:00
e6c13f2846
fdo#46808, Convert XMultiServiceFactory to XComponentContext
...
Change-Id: Ice5ec3a056f7f2f5184523bda1c709ccac876736
2013-06-03 10:00:01 +02:00