summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ucb/source/core/identify.cxx2
-rw-r--r--ucb/source/ucp/cmis/cmis_content.cxx2
-rw-r--r--ucb/source/ucp/ext/ucpext_content.cxx2
-rw-r--r--ucb/source/ucp/ftp/ftpcontent.cxx2
-rw-r--r--ucb/source/ucp/webdav-neon/webdavcontent.cxx7
-rw-r--r--uui/source/authfallbackdlg.cxx2
-rw-r--r--uui/source/secmacrowarnings.cxx2
-rw-r--r--uui/source/unknownauthdlg.cxx2
-rw-r--r--vcl/unx/generic/app/i18n_status.cxx2
-rw-r--r--vcl/unx/generic/window/salframe.cxx4
-rw-r--r--vcl/unx/gtk/a11y/atkfactory.cxx2
-rw-r--r--vcl/unx/gtk/a11y/atkwindow.cxx2
-rw-r--r--vcl/unx/gtk/window/gtksalframe.cxx14
-rw-r--r--writerfilter/source/rtftok/rtfdocumentimpl.cxx2
14 files changed, 23 insertions, 24 deletions
diff --git a/ucb/source/core/identify.cxx b/ucb/source/core/identify.cxx
index e36442c241b2..f03cbb252adc 100644
--- a/ucb/source/core/identify.cxx
+++ b/ucb/source/core/identify.cxx
@@ -61,7 +61,7 @@ OUString SAL_CALL ContentIdentifier::getContentProviderScheme()
{
// The content provider scheme is the part before the first ':'
// within the content id.
- sal_Int32 nPos = m_aContentId.indexOf( ':', 0 );
+ sal_Int32 nPos = m_aContentId.indexOf( ':' );
if ( nPos != -1 )
{
OUString aScheme( m_aContentId.copy( 0, nPos ) );
diff --git a/ucb/source/ucp/cmis/cmis_content.cxx b/ucb/source/ucp/cmis/cmis_content.cxx
index d23ce6e4ea4a..0527783a580c 100644
--- a/ucb/source/ucp/cmis/cmis_content.cxx
+++ b/ucb/source/ucp/cmis/cmis_content.cxx
@@ -235,7 +235,7 @@ namespace
for ( sal_Int32 i = 0; i < m_nNumValue; ++i )
{
OUStringBuffer aBuffer;
- ::sax::Converter::convertDateTime( aBuffer, seqValue[i], 0, false );
+ ::sax::Converter::convertDateTime( aBuffer, seqValue[i], 0 );
values.push_back( OUSTR_TO_STDSTR( aBuffer.makeStringAndClear( ) ) );
}
type = libcmis::PropertyType::DateTime;
diff --git a/ucb/source/ucp/ext/ucpext_content.cxx b/ucb/source/ucp/ext/ucpext_content.cxx
index 3ee8ad6a4018..0ba144f38e97 100644
--- a/ucb/source/ucp/ext/ucpext_content.cxx
+++ b/ucb/source/ucp/ext/ucpext_content.cxx
@@ -343,7 +343,7 @@ namespace ucb { namespace ucp { namespace ext
const OUString sURL = m_xIdentifier->getContentIdentifier();
// cut the root URL
- if ( !sURL.match( sRootURL, 0 ) )
+ if ( !sURL.match( sRootURL ) )
{
SAL_INFO( "ucb.ucp.ext", "illegal URL structure - no root" );
break;
diff --git a/ucb/source/ucp/ftp/ftpcontent.cxx b/ucb/source/ucp/ftp/ftpcontent.cxx
index 09a59ca431a2..442fe1ddf434 100644
--- a/ucb/source/ucp/ftp/ftpcontent.cxx
+++ b/ucb/source/ucp/ftp/ftpcontent.cxx
@@ -694,7 +694,7 @@ FTPContent::getParent( )
throw (RuntimeException, std::exception)
{
Reference<XContentIdentifier>
- xIdent(new FTPContentIdentifier(m_aFTPURL.parent(false)));
+ xIdent(new FTPContentIdentifier(m_aFTPURL.parent()));
return Reference<XInterface>( m_xProvider->queryContent(xIdent), UNO_QUERY );
}
diff --git a/ucb/source/ucp/webdav-neon/webdavcontent.cxx b/ucb/source/ucp/webdav-neon/webdavcontent.cxx
index 3fc1755a95e8..f3b748402408 100644
--- a/ucb/source/ucp/webdav-neon/webdavcontent.cxx
+++ b/ucb/source/ucp/webdav-neon/webdavcontent.cxx
@@ -1392,8 +1392,7 @@ uno::Reference< sdbc::XRow > Content::getPropertyValues(
std::vector< OUString > aHeaderNames;
ContentProperties::UCBNamesToHTTPNames(
rProperties,
- aHeaderNames,
- true /* bIncludeUnmatched */ );
+ aHeaderNames );
if ( !aHeaderNames.empty() )
{
@@ -2857,7 +2856,7 @@ void Content::lock(
;
}
- cancelCommandExecution( e, Environment, false );
+ cancelCommandExecution( e, Environment );
// Unreachable
}
}
@@ -2906,7 +2905,7 @@ void Content::unlock(
//fallthrough
;
}
- cancelCommandExecution( e, Environment, false );
+ cancelCommandExecution( e, Environment );
// Unreachable
}
}
diff --git a/uui/source/authfallbackdlg.cxx b/uui/source/authfallbackdlg.cxx
index e801c746890c..216d2c32c184 100644
--- a/uui/source/authfallbackdlg.cxx
+++ b/uui/source/authfallbackdlg.cxx
@@ -55,6 +55,6 @@ IMPL_LINK ( AuthFallbackDlg, OKHdl, Button *, )
IMPL_LINK ( AuthFallbackDlg, CancelHdl, Button *, )
{
- EndDialog( RET_CANCEL );
+ EndDialog();
return 0;
}
diff --git a/uui/source/secmacrowarnings.cxx b/uui/source/secmacrowarnings.cxx
index 8af1a4ea3ff9..cb661be0d97d 100644
--- a/uui/source/secmacrowarnings.cxx
+++ b/uui/source/secmacrowarnings.cxx
@@ -154,7 +154,7 @@ IMPL_LINK_NOARG(MacroWarning, EnableBtnHdl)
IMPL_LINK_NOARG(MacroWarning, DisableBtnHdl)
{
- EndDialog( RET_CANCEL );
+ EndDialog();
return 0;
}
diff --git a/uui/source/unknownauthdlg.cxx b/uui/source/unknownauthdlg.cxx
index 731882ccc45b..f51606e39c80 100644
--- a/uui/source/unknownauthdlg.cxx
+++ b/uui/source/unknownauthdlg.cxx
@@ -36,7 +36,7 @@ IMPL_LINK_NOARG(UnknownAuthDialog, OKHdl_Impl)
EndDialog( RET_OK );
} else
{
- EndDialog( RET_CANCEL );
+ EndDialog();
}
return 1;
diff --git a/vcl/unx/generic/app/i18n_status.cxx b/vcl/unx/generic/app/i18n_status.cxx
index bb77762ad2d1..42056ce2335b 100644
--- a/vcl/unx/generic/app/i18n_status.cxx
+++ b/vcl/unx/generic/app/i18n_status.cxx
@@ -366,7 +366,7 @@ IIIMPStatusWindow::IIIMPStatusWindow( SalFrame* pParent, bool bOn ) :
else
fprintf( stderr, "Warning: could not reposition status window since no frame\n" );
#endif
- EnableAlwaysOnTop( true );
+ EnableAlwaysOnTop();
}
void IIIMPStatusWindow::layout()
diff --git a/vcl/unx/generic/window/salframe.cxx b/vcl/unx/generic/window/salframe.cxx
index d11e52056b89..8dacdd8bf772 100644
--- a/vcl/unx/generic/window/salframe.cxx
+++ b/vcl/unx/generic/window/salframe.cxx
@@ -736,7 +736,7 @@ void X11SalFrame::Init( sal_uLong nSalFrameStyle, SalX11Screen nXScreen, SystemP
SAL_FRAME_STYLE_INTRO |
SAL_FRAME_STYLE_PARTIAL_FULLSCREEN) )
== SAL_FRAME_STYLE_DEFAULT )
- pDisplay_->getWMAdaptor()->maximizeFrame( this, true, true );
+ pDisplay_->getWMAdaptor()->maximizeFrame( this, true );
if( !netwm_icon.empty() && GetDisplay()->getWMAdaptor()->getAtom( WMAdaptor::NET_WM_ICON ))
XChangeProperty( GetXDisplay(), mhWindow,
@@ -2033,7 +2033,7 @@ void X11SalFrame::Maximize()
nShowState_ = SHOWSTATE_NORMAL;
}
- pDisplay_->getWMAdaptor()->maximizeFrame( this, true, true );
+ pDisplay_->getWMAdaptor()->maximizeFrame( this, true );
}
void X11SalFrame::Restore()
diff --git a/vcl/unx/gtk/a11y/atkfactory.cxx b/vcl/unx/gtk/a11y/atkfactory.cxx
index 63b33c904117..7512815b9859 100644
--- a/vcl/unx/gtk/a11y/atkfactory.cxx
+++ b/vcl/unx/gtk/a11y/atkfactory.cxx
@@ -135,7 +135,7 @@ wrapper_factory_create_accessible( GObject *obj )
if( pWindow )
{
- uno::Reference< accessibility::XAccessible > xAccessible = pWindow->GetAccessible(true);
+ uno::Reference< accessibility::XAccessible > xAccessible = pWindow->GetAccessible();
if( xAccessible.is() )
{
AtkObject *accessible = ooo_wrapper_registry_get( xAccessible );
diff --git a/vcl/unx/gtk/a11y/atkwindow.cxx b/vcl/unx/gtk/a11y/atkwindow.cxx
index 635645f234e3..a55312eaf043 100644
--- a/vcl/unx/gtk/a11y/atkwindow.cxx
+++ b/vcl/unx/gtk/a11y/atkwindow.cxx
@@ -188,7 +188,7 @@ ooo_window_wrapper_real_initialize(AtkObject *obj, gpointer data)
{
init_from_window( obj, pWindow );
- Reference< XAccessible > xAccessible( pWindow->GetAccessible(true) );
+ Reference< XAccessible > xAccessible( pWindow->GetAccessible() );
/* We need the wrapper object for the top-level XAccessible to be
* in the wrapper registry when atk traverses the hierarchy up on
diff --git a/vcl/unx/gtk/window/gtksalframe.cxx b/vcl/unx/gtk/window/gtksalframe.cxx
index f1abaa83cf08..6bc25f3fd06b 100644
--- a/vcl/unx/gtk/window/gtksalframe.cxx
+++ b/vcl/unx/gtk/window/gtksalframe.cxx
@@ -937,7 +937,7 @@ GtkSalFrame::~GtkSalFrame()
void GtkSalFrame::moveWindow( long nX, long nY )
{
- if( isChild( false, true ) )
+ if( isChild( false ) )
{
if( m_pParent )
gtk_fixed_move( m_pParent->getFixedContainer(),
@@ -972,7 +972,7 @@ void GtkSalFrame::window_resize(long nWidth, long nHeight)
void GtkSalFrame::resizeWindow( long nWidth, long nHeight )
{
- if( isChild( false, true ) )
+ if( isChild( false ) )
{
widget_set_size_request(nWidth, nHeight);
}
@@ -2132,7 +2132,7 @@ void GtkSalFrame::SetPosSize( long nX, long nY, long nWidth, long nHeight, sal_u
maGeometry.nWidth = nWidth;
maGeometry.nHeight = nHeight;
- if( isChild( false, true ) )
+ if( isChild( false ) )
widget_set_size_request(nWidth, nHeight);
else if( ! ( m_nState & GDK_WINDOW_STATE_MAXIMIZED ) )
window_resize(nWidth, nHeight);
@@ -2737,7 +2737,7 @@ void GtkSalFrame::ToTop( sal_uInt16 nFlags )
{
if( m_pWindow )
{
- if( isChild( false, true ) )
+ if( isChild( false ) )
gtk_widget_grab_focus( m_pWindow );
else if( IS_WIDGET_MAPPED( m_pWindow ) )
{
@@ -2789,7 +2789,7 @@ void GtkSalFrame::SetPointer( PointerStyle ePointerStyle )
// #i80791# use grabPointer the same way as CaptureMouse, respective float grab
if( getDisplay()->MouseCaptured( this ) )
- grabPointer( true, false );
+ grabPointer( true );
else if( m_nFloats > 0 )
grabPointer( true, true );
}
@@ -2904,7 +2904,7 @@ void GtkSalFrame::CaptureMouse( bool bCapture )
void GtkSalFrame::SetPointerPos( long nX, long nY )
{
GtkSalFrame* pFrame = this;
- while( pFrame && pFrame->isChild( false, true ) )
+ while( pFrame && pFrame->isChild( false ) )
pFrame = pFrame->m_pParent;
if( ! pFrame )
return;
@@ -4676,7 +4676,7 @@ static uno::Reference<accessibility::XAccessibleEditableText> lcl_GetxText(vcl::
uno::Reference<accessibility::XAccessibleEditableText> xText;
try
{
- uno::Reference< accessibility::XAccessible > xAccessible( pFocusWin->GetAccessible( true ) );
+ uno::Reference< accessibility::XAccessible > xAccessible( pFocusWin->GetAccessible() );
if (xAccessible.is())
xText = FindFocus(xAccessible->getAccessibleContext());
}
diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
index d398153a2c64..b030d3d8e2e7 100644
--- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx
+++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
@@ -4708,7 +4708,7 @@ RTFError RTFDocumentImpl::dispatchValue(RTFKeyword nKeyword, int nParam)
// It turns out \li should reset the \fi inherited from the stylesheet.
// So set the direct formatting to zero, if we don't have such direct formatting yet.
lcl_putNestedAttribute(m_aStates.top().aParagraphSprms, NS_ooxml::LN_CT_PPrBase_ind, NS_ooxml::LN_CT_Ind_firstLine, std::make_shared<RTFValue>(0),
- RTFOverwrite::NO_IGNORE, /*bAttribute=*/true);
+ RTFOverwrite::NO_IGNORE);
}
break;
case RTF_RI: