diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-05-08 09:36:09 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-05-08 09:49:02 +0200 |
commit | c24212ec89a45c531e7f1ae6d45ccc34d26b8e98 (patch) | |
tree | 67ab6e1367310a0ba476fd8cd7a4cc2a0d474558 /cui | |
parent | c5e08b42ace5f4481c3db87b4fb6ae2dbf9d9a51 (diff) |
Silence sal_Bool -> sal_IntPtr Link return value mismatches for now
Some uses of untyped Link<> (returning sal_IntPtr) are hard to update to typed
versions, but upcoming changes to loplugin:implicitboolconversion would flag
these uses of sal_False/True, so just explicitly cast them to sal_IntPtr for
now.
Change-Id: I654e555e85faba0b30178c978e7d50fc7240b004
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/customize/eventdlg.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/customize/eventdlg.cxx b/cui/source/customize/eventdlg.cxx index 20e00dedd7a1..970bd055bbd5 100644 --- a/cui/source/customize/eventdlg.cxx +++ b/cui/source/customize/eventdlg.cxx @@ -210,7 +210,7 @@ IMPL_LINK( SvxEventConfigPage, SelectHdl_Impl, ListBox *, pBox ) } mpImpl->pEventLB->SetUpdateMode( true ); - return sal_True; + return sal_IntPtr(true); } bool SvxEventConfigPage::FillItemSet( SfxItemSet* rSet ) |