0306e253fe
XubString->OUString
...
Change-Id: I40ff06facc304630ccedd82d2f20b3573bdc5cb4
2013-06-30 20:40:15 +01: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
df9e6ab514
fdo#62601 Quick search affected by invisible option from the search&replace
...
Disable invisible options in (ctrl+h) search-and-replace dialog if quick search (ctrl+f) is used
Change-Id: I600914ce89135e93d4808bb4a072618b00eb6f08
2013-06-29 19:41:13 +02: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
71bdcdf5fd
sidebar: Use images directly in the .ui, no need to go trough .src.
...
Change-Id: I41cecd6b4a1ce5789638df04d27a08f158356b81
2013-06-28 19:59:23 +02:00
92ccd37b2d
sidebar: More cleanup.
...
Change-Id: Ibd7c08e6dba70f802aeb8027e1ce5b522ca50edd
2013-06-28 19:59:23 +02:00
87e479a41d
sidebar: Fix commands in ParaPropertyPanel to make the buttons work.
...
Change-Id: Ifdc07bcdb21493e471c05afa65c29239e4ae3732
2013-06-28 19:59:23 +02:00
bdb5d369cc
sidebar: Show images on the increase / decrease buttons again.
...
Change-Id: Ib1afe892ebb23422cb5ce405ccbaed7e211ef5de
2013-06-28 19:59:22 +02:00
e024336ec4
sidebar: Fix the bullets & numbering in ParaPropertyPanel.
...
Change-Id: Iab60c34dc7f8ce8cb65f709a65e2f1914f06c48a
2013-06-28 19:59:22 +02:00
0521f0ea71
sidebar: Re-introduce the promote/demote toolbar in ParaPropertyPanel.
...
For the moment it is easier to do it as it was done before, and cleanup later.
Change-Id: I122870ffb51a7ee61825a3ac9e83e9e0a3335c4f
2013-06-28 19:59:22 +02:00
5cd490ea6a
sidebar: Fix resource id's for ParaPropertyPanel.
...
Change-Id: I88879e4985f0864e874619107754b224d8fd2d2e
2013-06-28 19:59:22 +02:00
419cd55f6c
sidebar: ParaPropertyPanel conversion to .ui
...
Change-Id: Ib51c1499c51d9d7ca87f90622add431a8755dac6
2013-06-28 19:59:22 +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
949f97ba48
Resolves: #i121162# ImageScaleMode constants should be in UPPERCASE
...
(cherry picked from commit 734b532fb77d2d5be7eb7becb6720dbd7b3d8978)
Conflicts:
offapi/com/sun/star/awt/ImageScaleMode.idl
oox/source/ole/axcontrol.cxx
reportdesign/source/filter/xml/xmlHelper.cxx
wizards/com/sun/star/wizards/reportbuilder/layout/ReportBuilderLayouter.java
Change-Id: Ib5fa7b82edddb809129a4e5619a20ca7a7b2e38a
2013-06-27 16:58:09 +01:00
7a61efe422
add missing VclBuilder::stringmap argument to some builder functions
...
Change-Id: I57e13920b4707ebe5b6a7149dbdbfc45593c0d9d
2013-06-27 16:45:11 +01:00
ecccfa73b9
Resolves: #i121008# corrected calc cell comment stuff
...
(cherry picked from commit fb1dc1d963e192e588731cce3a3ba20996c4e589)
Conflicts:
sc/source/core/data/drwlayer.cxx
svx/inc/svx/svdmodel.hxx
svx/source/svdraw/svdmodel.cxx
svx/source/svdraw/svdundo.cxx
Change-Id: I10b644aa44ae8c1eb0a027aeeaf27790ec455fa2
2013-06-27 16:09:32 +01:00
153bdc99b1
coverity#1027391 : Dead default in switch
...
Change-Id: I7ef70be9f5230eb3fb586962a1581efa38c239f0
Reviewed-on: https://gerrit.libreoffice.org/4526
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com >
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com >
2013-06-27 14:52:25 +00:00
e586fe4585
fdo#46186: Sync the internal representation of the table with its appearance.
...
This fixes the saving / loading of RTL setting of the table, and changes
the UI behavior when you click the LTR/RTL buttons with table border selected
a bit.
Change-Id: I1abcebdad3cdb72307535f82d973eb52418f2787
2013-06-27 13:36:05 +02:00
66480d15a0
fdo#47646 fix undo of ungrouping
...
Change-Id: If20e645d8d708ebe17e2d9455c896c94592993bb
2013-06-27 12:15:27 +02:00
4d5fc661d3
coverity#1027651 Dereference after null check
...
Change-Id: Id90ef9f43578d952fd8d7872d4fd2fd622d07dbd
Reviewed-on: https://gerrit.libreoffice.org/4529
Reviewed-by: Michael Stahl <mstahl@redhat.com >
Tested-by: Michael Stahl <mstahl@redhat.com >
2013-06-26 18:25:20 +00:00
74c32004c0
coverity#1028107 Dereference before null check
...
Change-Id: Icc70cc02d1b3b154fc1cab0419d89b437e2a366f
Reviewed-on: https://gerrit.libreoffice.org/4530
Reviewed-by: Michael Stahl <mstahl@redhat.com >
Tested-by: Michael Stahl <mstahl@redhat.com >
2013-06-26 18:21:54 +00:00
51c79f97a9
"fdo#62475 removed pointless comments
...
All the comments of the form //-------- are removed from /svx/source/accessibilty/AccessibleControlShape.cxx"
Change-Id: I7ae9f656939e2512ce503a5ba103d765594f20ac
Reviewed-on: https://gerrit.libreoffice.org/4543
Reviewed-by: Miklos Vajna <vmiklos@suse.cz >
Tested-by: Miklos Vajna <vmiklos@suse.cz >
2013-06-26 14:11:46 +00:00
443c13e92c
fix text position for custom shapes with zoom != 100% fdo#59862
...
custom shapes that had text suffered from strange display at zoom
levels != 100%, this was because there was a bug in the code to
correct the textposition
Change-Id: I8d1817cc6be91b3e6379200eb21eb2966d3c2aa9
2013-06-25 14:43:47 +01:00
9645620506
Add Ignore-Diacritics to find toolbar for CTL fdo#52204
...
Change-Id: I79cb4db1ec87258c45ddc786914b32f47e96acf5
2013-06-25 10:33:43 +02:00
38dcfadda8
fdo#58029: replace quadratic child window loop with linear
...
... which should speed things up without introducing problems.
(Window::GetChild(n) is inefficient because the children are a linked
list)
Change-Id: I343d51a6866c5014cbca4c256b0c15f938958c39
2013-06-24 20:17:43 +02:00
f022f39638
fdo#60444: Revert "fdo#58029 - substantially accelerate re-rendering..."
...
This reverts commit 6c98ad71478cb72b51634b32d6e553ccaec30190.
This breaks selection of transparent form controls (fdo#60444), because
the Update method is not called on the children.
Change-Id: Id0b6a34a15aa1ed7bd5aa0d7b5626e60bee57e30
2013-06-24 20:17:43 +02:00
6b6ebeeaf9
svx::ExtrusionDepthController is a ToolbarController
...
This class is dereived from svt::PopupWindowController, derived in turn from
svt::ToolboxController, the base class of all css.frame.ToolbarController's.
Adapt getSupportedServiceNames() and the passive component registration to
reflect that fact.
(cherry picked from commit e0f9eb4cc5d2ea676a899c4cbecb97264a31fef3)
Conflicts:
svx/source/tbxctrls/extrusioncontrols.cxx
Change-Id: I866c1dc43d31dc269ec72890041b87292b02b2f9
2013-06-24 11:25:35 +01:00
44b2fb6164
fix exception in DbGridColumn::impl_toggleScriptManager_nothrow
...
The messages would look like this:
warn:legacy.osl:28639:1:svx/source/fmcomp/gridcell.cxx:255: caught an exception!
I introduced this bug in commit 6a043e9c0acff20e1618ca8ec15c21d5d0fd0d37
"Use the new type-checking Reference constructor to reduce code noise"
Change-Id: I922d46f7c7eefbc12892a2525b30dcb798619a8b
2013-06-24 11:05:04 +02:00
9052caae53
Resolves: #i121542# Unify the Menu API
...
(cherry picked from commit 399946b82f5efec19cd82d1c320d5aa9295d235d)
Conflicts:
chart2/source/controller/main/ChartController_Window.cxx
framework/source/uielement/langselectionmenucontroller.cxx
framework/source/uielement/popupmenucontroller.cxx
framework/source/uielement/recentfilesmenucontroller.cxx
framework/source/uielement/toolbarsmenucontroller.cxx
odk/examples/DevelopersGuide/GUI/UnoMenu.java
odk/examples/DevelopersGuide/GUI/UnoMenu2.java
odk/examples/cpp/StatusbarController/SelectionModeStatusbarController/SelectionModeStatusbarController.cxx
offapi/com/sun/star/awt/MenuBar.idl
offapi/com/sun/star/awt/MenuEvent.idl
offapi/com/sun/star/awt/MenuItemStyle.idl
offapi/com/sun/star/awt/MenuItemType.idl
offapi/com/sun/star/awt/MenuLogo.idl
offapi/com/sun/star/awt/PopupMenu.idl
offapi/com/sun/star/awt/PopupMenuDirection.idl
offapi/com/sun/star/awt/XMenu.idl
offapi/com/sun/star/awt/XMenuBar.idl
offapi/com/sun/star/awt/XMenuBarExtended.idl
offapi/com/sun/star/awt/XMenuExtended.idl
offapi/com/sun/star/awt/XMenuExtended2.idl
offapi/com/sun/star/awt/XMenuListener.idl
offapi/com/sun/star/awt/XPopupMenu.idl
offapi/com/sun/star/awt/XPopupMenuExtended.idl
offapi/com/sun/star/awt/makefile.mk
offapi/type_reference/types.rdb
svtools/inc/svtools/popupmenucontrollerbase.hxx
svtools/source/uno/popupmenucontrollerbase.cxx
svx/source/tbxctrls/extrusioncontrols.cxx
toolkit/inc/pch/precompiled_toolkit.hxx
toolkit/inc/toolkit/awt/vclxmenu.hxx
toolkit/inc/toolkit/helper/listenermultiplexer.hxx
toolkit/source/awt/vclxmenu.cxx
Change-Id: I3d9a1e109b9ff35901a3075b44a4c27e7c12b5c7
Related: #i121542# css::awt::XPopupMenu::execute() needs a Rectangle
(cherry picked from commit c01a6f4f370b72f0751cf4f5c11310682e2b3248)
Conflicts:
odk/examples/DevelopersGuide/GUI/UnoMenu2.java
offapi/type_reference/types.rdb
toolkit/inc/toolkit/awt/vclxmenu.hxx
Change-Id: I2cccc95086fe3d1522d03346e3c577fb2f21f621
2013-06-23 21:16:14 +01:00
1a07be5dbc
Resolves: #i122317# Mark API name as not localizable
...
(cherry picked from commit 9f65bceb5d3e43619b929d17e5f4aa4387a70eb5)
Change-Id: I5b80f23ebf9ee08daab3be74f3c597a9cc302973
2013-06-23 21:16:12 +01:00
15f79efe15
kill TBX_UPDATER_MODE_*
...
commit 4f036439f7597d33a9f90860d9a5b6ac28b270c7 "Kill unused
TBX_UPDATER_MODE_NONE." removed TBX_UPDATER_MODE_NONE, but it was
actually used, but written as literal 0 in ctor (default value for
nMode). Worse, TBX_UPDATER_MODE_NONE meant "draw a square color mark"
(!) and after removing it color-marks were not drawn for some buttons,
e.g. frame color button.
This patch makes use of TBX_UPDATER_MODE_CHAR_COLOR_NEW (which means
"draw a rectangle color mark") everywhere, TBX_UPDATER_MODE_CHAR_COLOR
and TBX_UPDATER_MODE_CHAR_BACKGROUND were unused.
Change-Id: I7452bf73227cd7038e5ea9ab740745125ca079b4
2013-06-22 16:52:34 +04:00
f7779536dd
l10n of additional gradients in standard palette
...
Change-Id: I66a1d963e8b8616d372af28963edea4acbcc7858
2013-06-22 13:50:23 +02:00
47b15fa9bc
loplugin: fix alignment
...
I used the example of IMPL_LINK, line 1264 of this same file
Change-Id: Ibf5021c1b9784a52b20a80489e4b25a4e04a0595
2013-06-22 10:48:15 +02:00
bddf3bba1f
fdo#42134 FORMATTING: Autofit does not work properly on long texts
...
Change-Id: I18e314913122ffbc15659ced9d1b746d10ccc17c
2013-06-22 03:53:36 +02:00
98c38b02d8
Typo fix: transparence -> transparency
...
Change-Id: Ie173e8586a1aed573989f57aa92adae5d1bbc9fb
2013-06-21 14:49:34 +03:00
448fa131b2
Fix fdo#52204 add new feature ignore diacritics in search for CTL
...
Change-Id: Ie9044a35003217545bacea214ef59047bff3b8b1
2013-06-21 11:14:17 +02:00
fbb7c74a2c
Don't display the "broken OLE link" icon except on Windows
...
Change-Id: Iede3d98ab5e5f9cd1896465e2a8c61605601999f
2013-06-20 19:28:29 +03:00
32e2c6456f
FmGridControl: handle non-existing properties
...
Fix crash with unhandled exception requesting "Description".
Change-Id: I6b6cb61273fb042532ab63620729f4129239fe81
2013-06-20 17:01:32 +02:00
bb7d4a54cc
warning C4702: clearly there's a case missing here
...
Change-Id: I3afdca0a51c41ef75f3ea63e27a6e7a858c30111
2013-06-20 14:14:19 +02:00
dde5dbdef5
Resolves: #i122318# Adapted color palette stuff, some cleanups
...
(cherry picked from commit 710925d1d93a8ccf36957fa2f4d98d7dedb4cb9f)
Conflicts:
extras/source/palettes/standard.soc
svx/inc/svx/dialogs.hrc
svx/source/dialog/sdstring.src
svx/source/unodraw/unoprov.cxx
svx/source/xoutdev/xtabcolr.cxx
Change-Id: I15899fc51e61e29da443838d1a42ea5d7c53acb9
2013-06-20 12:13:39 +01:00
d3c1c8d758
expand scheme to share sizes for paragraph dialog preview widgets
...
Change-Id: Id1ded6828468ff956c83eb57f1da62fd80761b5d
2013-06-19 15:18:30 +01:00
8c1d1b6690
fdo#65870 fix changing shape height via dialog
...
Change-Id: I7c61be2c3d368dfd3ea66427c77636f797a7e88a
2013-06-19 14:27:16 +02:00
5c346ec852
Resolves: #i122231# Buffered content for gallery themes
...
better graphical preparation (currently BMP_SCALE_BESTQUALITY, but can
be changed in a single place now if wanted)
(cherry picked from commit d32f1d358dcd2574d8ae6cd19da01b7311ef5926)
Conflicts:
svx/inc/svx/galtheme.hxx
svx/source/gallery2/galctrl.cxx
svx/source/gallery2/galtheme.cxx
Change-Id: I80879ca472c784f764126676046c1388e1167652
2013-06-19 10:10:05 +01:00
84f1f1d149
fdo#43460 include,registry,svtools,svx,unodevtools: use isEmpty()
...
Change-Id: I6e35b91092239275694eec3666b076f7ff7e54f6
Reviewed-on: https://gerrit.libreoffice.org/4335
Reviewed-by: Noel Power <noel.power@suse.com >
Tested-by: Noel Power <noel.power@suse.com >
2013-06-18 17:33:46 +00:00
60446a0386
Related: #i122120# corrected flag for drawing checkerboards...
...
adapted previews, added to configuration
(cherry picked from commit c17e634e125f524d153e1ad8febff6d11b810ee4)
Conflicts:
officecfg/registry/schema/org/openoffice/Office/Common.xcs
svtools/inc/svtools/accessibilityoptions.hxx
svtools/source/inc/configitems/accessibilityoptions_const.hxx
vcl/inc/vcl/settings.hxx
Change-Id: I3f4fd9525e31cd816599b963ecd2fa42b1f666d7
2013-06-18 16:46:39 +01:00
6c5c5584eb
Resolves: #i121917# Corrected access to text object
...
(cherry picked from commit 2c9c9923fdf042c41cebaf9a15def7caac86032d)
Conflicts:
sw/source/core/draw/dcontact.cxx
Change-Id: Ia214127ca540c4f4036a0006e7c227649fb39134
2013-06-18 16:03:46 +01:00
6ed60d6a93
Related: #i122120# Ensured Append/Modify methods in LB implementations...
...
always add a UI graphic preview, corrected diag mirror in bitmap pattern
(cherry picked from commit 36a8574012525fa837df6dfd1839fa65b5a2bc70)
Conflicts:
cui/source/tabpages/tpbitmap.cxx
cui/source/tabpages/tpcolor.cxx
cui/source/tabpages/tpgradnt.cxx
cui/source/tabpages/tplnedef.cxx
cui/source/tabpages/tplneend.cxx
svx/inc/svx/dlgctrl.hxx
svx/inc/svx/xtable.hxx
svx/source/dialog/dlgctrl.cxx
svx/source/xoutdev/xtabbtmp.cxx
svx/source/xoutdev/xtabcolr.cxx
svx/source/xoutdev/xtabdash.cxx
svx/source/xoutdev/xtabgrdt.cxx
svx/source/xoutdev/xtabhtch.cxx
svx/source/xoutdev/xtable.cxx
svx/source/xoutdev/xtablend.cxx
Change-Id: Iff0744061b76d8c608e285f81bcc8e76edeb6a69
2013-06-18 15:35:15 +01:00
7377557f27
Resolves: #i122120# Changed UI preview creators...
...
to no longer need SdrModel/SdrObject
(cherry picked from commit 0c353433ad94786a937fa9da01d6e7382e3da942)
corrected unwanted change
(cherry picked from commit 8a10735b8ee3926a592d6919f4dbb823771bed9f)
Conflicts:
vcl/inc/vcl/outdev.hxx
7c096015d974382e6874a874370ee72a61f02e6a
Change-Id: Ib2afe135566eba2e99cc8c4a653de3df0fa7f0cd
2013-06-18 13:06:12 +01:00
445ebce3e0
Resolves: #i121791# Enhanced look of the LineStyle previews
...
(cherry picked from commit 35f96c967abb1a8b4723c7261c253661d409732c)
Conflicts:
svx/source/xoutdev/xtabdash.cxx
svx/source/xoutdev/xtable.cxx
Change-Id: Idcff1f8ca317bc17757a88c88ff2bd89a82f6f9d
2013-06-18 09:17:55 +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