bfcb2a1a75
convert DEFAULTFONT_ constants to scoped enum
...
Change-Id: Ia33e957f6cf530e2639b3c86d9482f642652cb46
2015-05-06 09:01:29 +02:00
b515d1f36f
Use various typed ToolBox::Set*Hdl Links
...
Change-Id: Iddfd36ae0de86fdd2d4febb2c05d1fe0c02801f0
2015-05-06 08:20:55 +02:00
7d426e6fd6
loplugin:staticmethods
...
Change-Id: I97160fc51dc16ff92b06d44570298eeec637e132
2015-05-05 14:05:20 +02:00
c9b4c56811
Use typed Idle::SetIdleHdl Link
...
Change-Id: I189937950325dc4ef663f7f49cb45f38f8537de9
2015-05-05 12:05:38 +02:00
8cafd08278
Use typed Timer::SetTimeoutHdl Link
...
Change-Id: Iaaf0c93e5b28c0f7dbe4f02eda8beeae30708100
2015-05-05 10:21:54 +02:00
f62af191bf
typo: strech -> stretch
...
Change-Id: I0de1cfaa0df460c7bc8e49752b31056f95c30053
Reviewed-on: https://gerrit.libreoffice.org/15628
Reviewed-by: Andras Timar <andras.timar@collabora.com >
Tested-by: Andras Timar <andras.timar@collabora.com >
2015-05-05 07:25:21 +00:00
ea374ab51e
tdf#90839 - added support for inside placement for the best fit case
...
Change-Id: I4cd47d843e6892edfa43c37c131dde9cd324579a
Reviewed-on: https://gerrit.libreoffice.org/15520
Reviewed-by: Andras Timar <andras.timar@collabora.com >
Tested-by: Andras Timar <andras.timar@collabora.com >
2015-05-04 09:06:14 +00:00
5c4955ed45
cppcheck: unusedScopedObject
...
Change-Id: If627c5300b3b4acc8351177857fc8fa70e76df00
2015-05-02 16:45:18 +01:00
c76b4dd2c3
coverity#1296216 Uncaught exception
...
Change-Id: Id34a655c554e78476e3bd83c87de3cbe1b557980
2015-04-30 13:18:00 +01:00
3ead3ad52f
Gradually typed Link
...
Turn the Link class into a template abstracting over the link's argument and
return types, but provide default template arguments that keep the generic,
unsafe "void* in, sal_IntPtr out" behvior. That way, individual uses of the
Link class can be updated over time.
All the related macros are duplicated with ..._TYPED counterparts, that
additionally take the RetType (except for LINK_TYPED, which manages to infer the
relevant types from the supplied Member).
(It would have been attractive to change the "untyped" LinkStubs from taking a
void* to a properly typed ArgType parameter, too, but that would cause
-fsanitize=function to flag uses of "untyped" Link::Call.)
Change-Id: I3b0140378bad99abbf240140ebb4a46a05d2d2f8
2015-04-30 10:20:00 +02:00
7082fcb479
-Werror,-Winconsistent-missing-override
...
Change-Id: I68f674dcdb16a507e962945ed90caf796daa48d3
2015-04-30 08:53:12 +02:00
1be9365d7f
support querying about hidden cells in chart data sequences
...
Change-Id: I8886c022d709acfd0f65453e36f29c1c953b4b1c
2015-04-30 08:13:18 +02:00
5a27f808be
Get rid of initial :: for the sdr namespace
...
Change-Id: Ibbeb069b6fcb2aa0581429ac5cb6db519548fd00
2015-04-30 09:11:40 +03:00
d883c12556
Get rid of the initial :: for the vcl namespace
...
We used it all over the place without leading :: already anyway, even
in many files in include. So let's be consistent. In the majority of
cases, prefer the easier-on-the-eyes choice, not the "safe" one.
In those files in include where *all* existing uses of ::vcl:: indeed
used the :: prefix, there let's keep it for consistency.
Change-Id: If99cb41d3bf290d38c601d91125c3c8d935e61d0
2015-04-30 07:27:52 +03:00
fec037e68f
tdf#72361 Forced intercept for exponentiial trendline
...
Change-Id: I252a4994d2ee981018d07d6fac7ffe639f065d3e
Reviewed-on: https://gerrit.libreoffice.org/15334
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com >
2015-04-29 14:14:01 +00:00
ab0a5b7523
Help MSVC
...
Change-Id: I5329ecdceb5eb590942f604b4a460d91e363d756
2015-04-29 12:03:45 +02:00
f0dfe465b8
Help MSVC
...
Change-Id: Ica72e5d0502736e562a78e1cbee600c5ff9ae475
2015-04-29 11:51:51 +02:00
0a9f331de4
convert SDRMOUSE constants to scoped enum
...
Change-Id: Ia5389095683a1c012a988ed71bf769a1f25d80fb
2015-04-29 10:41:40 +02:00
4e62eee559
convert SDRSEARCH_ constants to scoped enum
...
Change-Id: I1495dbaf05b642d98f41639d41f831f007601df3
2015-04-29 10:41:39 +02:00
aaa1861c49
convert WZB_ constants to scoped enum
...
Change-Id: If2f12ea54b57f32df23fc22fb8be0aa3c6f2e76e
2015-04-29 10:41:37 +02:00
9905a8b953
replace Paint calls to Invalidate + fix compilation
...
Change-Id: Id716c47d56922ab6ce0c3adb3d426ea814980674
2015-04-29 09:24:20 +09:00
f50fd9692e
mass rewrite Paint(Rect&) to Paint(RenderContext&, Rect&)
...
Change-Id: Ia1667246064d11827dbd149def15e5bf08b119b8
2015-04-29 09:19:47 +09:00
e8b97a52c9
Merge remote-tracking branch 'origin/feature/vclptr'
...
Resolve several thousand lines of conflicts.
Conflicts:
accessibility/source/extended/accessiblelistbox.cxx
accessibility/source/standard/vclxaccessiblecombobox.cxx
accessibility/source/standard/vclxaccessibledropdowncombobox.cxx
accessibility/source/standard/vclxaccessibledropdownlistbox.cxx
accessibility/source/standard/vclxaccessiblelistbox.cxx
accessibility/source/standard/vclxaccessibletextfield.cxx
basctl/source/basicide/basidesh.cxx
cui/source/inc/chardlg.hxx
cui/source/tabpages/tpbitmap.cxx
dbaccess/source/ui/dlg/UserAdmin.cxx
dbaccess/source/ui/querydesign/ConnectionLineAccess.cxx
extensions/source/propctrlr/propertyeditor.hxx
extensions/source/scanner/sanedlg.cxx
filter/source/pdf/impdialog.cxx
include/sfx2/mgetempl.hxx
include/sfx2/sidebar/SidebarToolBox.hxx
include/sfx2/viewsh.hxx
include/svtools/brwbox.hxx
include/svtools/filectrl.hxx
include/svtools/scrwin.hxx
include/svx/dlgctrl.hxx
include/svx/sidebar/Popup.hxx
include/svx/sidebar/PopupContainer.hxx
include/svx/sidebar/PopupControl.hxx
include/svx/sidebar/SidebarDialControl.hxx
include/svx/sidebar/ValueSetWithTextControl.hxx
sc/source/ui/condformat/condformatdlgentry.cxx
sc/source/ui/navipi/navipi.cxx
sc/source/ui/sidebar/CellBorderStyleControl.hxx
sd/source/ui/animations/CustomAnimationDialog.cxx
sd/source/ui/inc/DrawViewShell.hxx
sd/source/ui/inc/Ruler.hxx
sd/source/ui/inc/SlideSorter.hxx
sd/source/ui/inc/ViewTabBar.hxx
sd/source/ui/inc/Window.hxx
sd/source/ui/inc/morphdlg.hxx
sd/source/ui/inc/sdpreslt.hxx
sd/source/ui/sidebar/CurrentMasterPagesSelector.hxx
sd/source/ui/sidebar/LayoutMenu.hxx
sd/source/ui/sidebar/MasterPagesSelector.hxx
sd/source/ui/sidebar/NavigatorWrapper.hxx
sd/source/ui/sidebar/PanelBase.hxx
sd/source/ui/sidebar/RecentMasterPagesSelector.cxx
sd/source/ui/sidebar/RecentMasterPagesSelector.hxx
sd/source/ui/slideshow/showwindow.hxx
sd/source/ui/slidesorter/view/SlsInsertAnimator.cxx
sd/source/ui/slidesorter/view/SlsLayeredDevice.hxx
sd/source/ui/view/ViewShellBase.cxx
sd/source/ui/view/drviewsa.cxx
sfx2/source/appl/fileobj.hxx
sfx2/source/appl/opengrf.cxx
sfx2/source/control/thumbnailviewacc.hxx
sfx2/source/dialog/securitypage.cxx
sfx2/source/dialog/templdlg.cxx
sfx2/source/doc/docinsert.cxx
sfx2/source/doc/guisaveas.cxx
sfx2/source/inc/alienwarn.hxx
sfx2/source/sidebar/Deck.cxx
sfx2/source/sidebar/Deck.hxx
sfx2/source/sidebar/DeckTitleBar.cxx
sfx2/source/sidebar/DeckTitleBar.hxx
sfx2/source/sidebar/MenuButton.cxx
sfx2/source/sidebar/MenuButton.hxx
sfx2/source/sidebar/Panel.cxx
sfx2/source/sidebar/Panel.hxx
sfx2/source/sidebar/PanelTitleBar.hxx
sfx2/source/sidebar/SidebarDockingWindow.hxx
sfx2/source/sidebar/SidebarToolBox.cxx
sfx2/source/sidebar/TabBar.hxx
sfx2/source/sidebar/TabItem.cxx
sfx2/source/sidebar/TabItem.hxx
sfx2/source/sidebar/TitleBar.hxx
sfx2/source/toolbox/imgmgr.cxx
starmath/inc/edit.hxx
starmath/inc/smmod.hxx
starmath/qa/cppunit/test_starmath.cxx
starmath/source/edit.cxx
starmath/source/smmod.cxx
svtools/source/brwbox/brwbox1.cxx
svtools/source/brwbox/datwin.hxx
svtools/source/contnr/fileview.cxx
svtools/source/contnr/simptabl.cxx
svtools/source/control/filectrl.cxx
svtools/source/control/valueimp.hxx
svx/inc/GalleryControl.hxx
svx/source/dialog/dlgctrl.cxx
svx/source/dialog/swframeexample.cxx
svx/source/fmcomp/fmgridif.cxx
svx/source/gallery2/GalleryControl.cxx
svx/source/sidebar/EmptyPanel.hxx
svx/source/sidebar/area/AreaPropertyPanel.hxx
svx/source/sidebar/area/AreaTransparencyGradientControl.hxx
svx/source/sidebar/graphic/GraphicPropertyPanel.hxx
svx/source/sidebar/insert/InsertPropertyPanel.cxx
svx/source/sidebar/insert/InsertPropertyPanel.hxx
svx/source/sidebar/line/LinePropertyPanel.hxx
svx/source/sidebar/line/LineWidthControl.cxx
svx/source/sidebar/line/LineWidthControl.hxx
svx/source/sidebar/line/LineWidthValueSet.hxx
svx/source/sidebar/paragraph/ParaPropertyPanel.hxx
svx/source/sidebar/possize/SidebarDialControl.cxx
svx/source/sidebar/text/TextCharacterSpacingPopup.hxx
svx/source/sidebar/text/TextPropertyPanel.hxx
svx/source/sidebar/tools/PopupContainer.cxx
svx/source/sidebar/tools/PopupControl.cxx
svx/source/sidebar/tools/ValueSetWithTextControl.cxx
svx/source/svdraw/svdfmtf.hxx
svx/source/svdraw/svdibrow.cxx
svx/source/tbxctrls/colrctrl.cxx
svx/source/tbxctrls/tbcontrl.cxx
sw/source/ui/dbui/mmaddressblockpage.cxx
sw/source/ui/dialog/uiregionsw.cxx
sw/source/ui/index/cnttab.cxx
sw/source/uibase/inc/drpcps.hxx
sw/source/uibase/sidebar/PageColumnControl.hxx
sw/source/uibase/sidebar/PageMarginControl.hxx
sw/source/uibase/sidebar/PageOrientationControl.hxx
sw/source/uibase/sidebar/PagePropertyPanel.hxx
sw/source/uibase/sidebar/PageSizeControl.hxx
sw/source/uibase/uiview/view2.cxx
sw/source/uibase/utlui/navipi.cxx
vcl/inc/svdata.hxx
vcl/source/control/combobox.cxx
vcl/source/control/lstbox.cxx
vcl/source/window/dockwin.cxx
vcl/source/window/winproc.cxx
Change-Id: I056cf3026ff17d65cca0b6e6588bda4a88fa8d95
2015-04-28 15:08:48 +01:00
60ee74e8ae
GLEW_VERSION_3_3 is of type GLboolean already
...
Change-Id: Id565602f4cb488176451cfcc1d2aa05e7acab964
2015-04-28 10:21:02 +02:00
8a26a4053d
SfxTabPage::DeactivatePage wants to return SfxTabPage::sfxpg
...
Change-Id: Iba538bb51635e6cae1e033d14e8da3dabfb36634
2015-04-28 10:21:02 +02:00
e19cd844be
Rephrase comparisons between bool and sal_Bool
...
...to cater for forthcoming loplugin:implicitboolconversion improvements
Change-Id: I801b6b73648715448198d582a087cc834f6e20c8
2015-04-28 10:21:01 +02:00
c555142e00
More loplugin:simplifybool
...
Change-Id: Ib4a26405b83f40627d77f312c0bbd05883e35bf8
2015-04-27 15:30:53 +02:00
820fca753b
loplugin:simplifybool
...
Change-Id: Ie7b1a6c7e60d888e2f070b817d3c34814e5835ae
2015-04-24 12:36:19 +02:00
2240118177
Improved loplugin:literaltoboolconversion looking into cond. exprs.
...
...automatic rewriter fixes
Change-Id: I6b04ca80f08f8a71ff94e309fd52f44d736751ee
2015-04-23 18:39:07 +02:00
ac1130130b
Use comphelper::SequenceAsHashMap::getUnpackedValueOrDefault<bool>
...
...instead of ...<sal_Bool>; plus ensuing loplugin:implicitboolconversion
Change-Id: I5400e9d3175b9fe9b6088d37fe6bf3275314d7d0
2015-04-23 17:03:58 +02:00
7ab8b08b6c
loplugin:staticmethods
...
Change-Id: Iab2f10b000ef41fb090e0034785d4ed0bda4cf43
2015-04-23 13:08:48 +02:00
ed54799117
convert EBBF_ constants to scoped enum
...
Change-Id: I6f281001a96ebfbca20f3e8dd3423945e119eef0
2015-04-22 10:28:39 +02:00
0578aa4de2
convert BROWSER_ constants to scoped enum
...
and fix a couple of places where it was mixing these flags up with the
WinBits flags and calling the wrong constructor.
Change-Id: I65c66bdd5a263e2f1db179c853f3f00e9ac7659e
2015-04-22 10:28:39 +02:00
da36fc8c95
No more need for PartialWeakComponentImplHelper here
...
...since 70626249cd247d9acdad417b8eaf252bae22c059 "API CHANGE a11y unpublishing
and add/removeListener rename."
Change-Id: I89d81326d97712abcac94c3436a13905954c55cf
2015-04-21 22:48:02 +02:00
7eabf180a9
Get rid of unnecessary comphelper/implbase_var.hxx parts
...
Change-Id: I85da73dadfdb62c09b5ef5f59a0cf05a0235eaf5
2015-04-21 15:15:06 +02:00
f12488405c
dbaccess: convert new to ::Create.
...
Also convert svtools' WizardShell::createPage.
Change-Id: I09bd40ef4748aa2de7b49eeefc95be06b545ea05
2015-04-20 15:13:23 +01:00
7bff8c4b69
don't pretend to have a bitmap url if we are not using bitmaps
...
Fix hack for #i78615#
Change-Id: I7571f3039e0af91560e24c6d00a7ae456f8ba300
2015-04-18 00:33:07 +02:00
5ea025e637
chart2: convert new to ::Create.
...
Change-Id: I14887bab5ced6e5915a8ecbc277017cec37a82ca
2015-04-17 22:01:46 +01:00
85b01322b6
Fix SfxTabPage creation to use VclPtr.
...
Change-Id: Ia0e8b666daec7b5eaba119c758b9ca1ec8276128
2015-04-17 19:58:30 +01:00
ba397fc65f
Revert "WaE: unused variables"
...
See 3ac1584549364c573d4d4e3baed9ad39ad6ce8e4.
This reverts commit 7bcf9131032cbcdb162f33d03230e43d4f1db2aa.
This reverts commit 063aec33f029f1fbdd1b1ee274e94a00f256465e.
2015-04-17 17:30:28 +03:00
063aec33f0
WaE: unused variables and fallout
...
Change-Id: If6d68b54aa4fc5744a30521e5fa7caf9d876d975
2015-04-17 15:13:51 +03:00
0a497cb52a
Use VclPtr for OGenericUnoDialog::createDialog.
...
Change-Id: I0c2040889931a4700735339c5252f8d5fee234ff
2015-04-17 12:14:28 +01:00
fe73ed7c79
convert SFX_ITEM constants to scoped enum
...
Change-Id: Ief8c30c356ba947727c5ab70092042816a0db99e
Reviewed-on: https://gerrit.libreoffice.org/15302
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
Tested-by: Noel Grandin <noelgrandin@gmail.com >
2015-04-15 11:35:35 +00:00
71b809959b
remove unnecessary use of void in function declarations
...
ie.
void f(void);
becomes
void f();
I used the following command to make the changes:
git grep -lP '\(\s*void\s*\)' -- *.cxx \
| xargs perl -pi -w -e 's/(\w+)\s*\(\s*void\s*\)/$1\(\)/g;'
and ran it for both .cxx and .hxx files.
Change-Id: I314a1b56e9c14d10726e32841736b0ad5eef8ddd
2015-04-15 11:47:12 +02:00
373a9b9bb6
loplugin:redundantcast: redundant const_cast followed by implicit upcast
...
Change-Id: I58297ba336d96358eb0683684bbd763870ef56cb
2015-04-13 12:36:36 +02:00
26ec80f47d
loplugin:staticmethods
...
Change-Id: I33a8ca28b0c3bf1c31758d93238e74927bebde9c
2015-04-13 09:37:12 +02:00
cf13f78703
Lost more cleanup and fixing post re-basing.
...
Change-Id: Ia5317b93484d31af978a5276bc6697848130225d
2015-04-10 18:36:40 +01:00
7a1fad0d4f
convert ScopedVclPtr to ScopedVclPtrInstance
...
Change-Id: I22a9d9c313a81ccee885b9c8785d4b008a6f2058
2015-04-10 16:13:34 +02:00
3bf4ada33f
dialogs lifetimes should be wrapped in ScopedVclPtr
...
Change-Id: Ica8467af599fb3f9313bfa916fec8b7792a6000f
2015-04-10 15:51:48 +02:00
8a65284fe3
Automated conversion of VclPtr construction to use Instance template.
...
Change-Id: I8be9141b9653e73ebd23a5a3d810f240c376f97e
2015-04-10 13:40:25 +01:00