summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--toolkit/source/awt/vclxcontainer.cxx2
-rw-r--r--toolkit/source/awt/vclxtoolkit.cxx4
-rw-r--r--toolkit/source/awt/vclxwindow.cxx6
-rw-r--r--toolkit/source/awt/vclxwindows.cxx2
-rw-r--r--toolkit/source/controls/unocontrol.cxx2
-rw-r--r--toolkit/source/helper/vclunohelper.cxx2
-rw-r--r--tools/source/fsys/urlobj.cxx4
-rw-r--r--tools/source/generic/poly.cxx4
-rw-r--r--tools/source/inet/inetstrm.cxx4
-rw-r--r--ucbhelper/source/provider/contentidentifier.cxx2
-rw-r--r--unodevtools/source/skeletonmaker/cppcompskeleton.cxx4
-rw-r--r--unodevtools/source/skeletonmaker/cpptypemaker.cxx2
-rw-r--r--unodevtools/source/skeletonmaker/javacompskeleton.cxx4
-rw-r--r--unodevtools/source/skeletonmaker/javatypemaker.cxx2
-rw-r--r--unotools/source/ucbhelper/ucbhelper.cxx2
-rw-r--r--unotools/source/ucbhelper/xtempfile.cxx2
16 files changed, 24 insertions, 24 deletions
diff --git a/toolkit/source/awt/vclxcontainer.cxx b/toolkit/source/awt/vclxcontainer.cxx
index 448a09fd8882..ca66dbc6c042 100644
--- a/toolkit/source/awt/vclxcontainer.cxx
+++ b/toolkit/source/awt/vclxcontainer.cxx
@@ -96,7 +96,7 @@ void VCLXContainer::removeVclContainerListener( const ::com::sun::star::uno::Ref
for ( sal_uInt16 n = 0; n < nChildren; n++ )
{
vcl::Window* pChild = pWindow->GetChild( n );
- ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer > xWP = pChild->GetComponentInterface( true );
+ ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer > xWP = pChild->GetComponentInterface();
::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow > xW( xWP, ::com::sun::star::uno::UNO_QUERY );
pChildRefs[n] = xW;
}
diff --git a/toolkit/source/awt/vclxtoolkit.cxx b/toolkit/source/awt/vclxtoolkit.cxx
index 52a6451033d7..9d5ff0183e51 100644
--- a/toolkit/source/awt/vclxtoolkit.cxx
+++ b/toolkit/source/awt/vclxtoolkit.cxx
@@ -1275,7 +1275,7 @@ css::uno::Reference< css::awt::XWindowPeer > VCLXToolkit::ImplCreateWindow(
if ( !pNewComp )
{
// Default-Interface
- xRef = pNewWindow->GetComponentInterface( true );
+ xRef = pNewWindow->GetComponentInterface();
}
else
{
@@ -1855,7 +1855,7 @@ void VCLXToolkit::callFocusListeners(::VclSimpleEvent const * pEvent,
break;
}
if (pFocus != 0)
- xNext = pFocus->GetComponentInterface(true);
+ xNext = pFocus->GetComponentInterface();
css::awt::FocusEvent aAwtEvent(
static_cast< css::awt::XWindow * >(pWindow->GetWindowPeer()),
static_cast<sal_Int16>(pWindow->GetGetFocusFlags()),
diff --git a/toolkit/source/awt/vclxwindow.cxx b/toolkit/source/awt/vclxwindow.cxx
index c9d4bc65cc14..01c9d65e190f 100644
--- a/toolkit/source/awt/vclxwindow.cxx
+++ b/toolkit/source/awt/vclxwindow.cxx
@@ -617,7 +617,7 @@ void VCLXWindow::ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent )
if ( pNextC )
pNext = pNextC;
- pNext->GetComponentInterface( true );
+ pNext->GetComponentInterface();
aEvent.NextFocus = static_cast<cppu::OWeakObject*>(pNext->GetWindowPeer());
}
mpImpl->getFocusListeners().focusLost( aEvent );
@@ -1059,7 +1059,7 @@ void VCLXWindow::addWindowListener( const ::com::sun::star::uno::Reference< ::co
// #100119# Get all resize events, even if height or width 0, or invisible
if ( GetWindow() )
- GetWindow()->EnableAllResize( true );
+ GetWindow()->EnableAllResize();
}
void VCLXWindow::removeWindowListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowListener >& rxListener ) throw(::com::sun::star::uno::RuntimeException, std::exception)
@@ -2338,7 +2338,7 @@ void VCLXWindow::draw( sal_Int32 nX, sal_Int32 nY ) throw(::com::sun::star::uno:
pWindow->EnableNativeWidget(false);
pWindow->PaintToDevice( pDev, aP, aSz );
if( bOldNW )
- pWindow->EnableNativeWidget(true);
+ pWindow->EnableNativeWidget();
}
}
}
diff --git a/toolkit/source/awt/vclxwindows.cxx b/toolkit/source/awt/vclxwindows.cxx
index af22717c3a63..f54c0467c3df 100644
--- a/toolkit/source/awt/vclxwindows.cxx
+++ b/toolkit/source/awt/vclxwindows.cxx
@@ -2602,7 +2602,7 @@ sal_uInt16 VCLXMultiPage::insertTab( TabPage* pPage, OUString& sTitle )
{
TabControl *pTabControl = getTabControl();
sal_uInt16 id = sal::static_int_cast< sal_uInt16 >( mTabId++ );
- pTabControl->InsertPage( id, sTitle, TAB_APPEND );
+ pTabControl->InsertPage( id, sTitle );
pTabControl->SetTabPage( id, pPage );
return id;
}
diff --git a/toolkit/source/controls/unocontrol.cxx b/toolkit/source/controls/unocontrol.cxx
index 56e1fc006dcd..0cf63e514010 100644
--- a/toolkit/source/controls/unocontrol.cxx
+++ b/toolkit/source/controls/unocontrol.cxx
@@ -189,7 +189,7 @@ Reference< XWindowPeer > UnoControl::ImplGetCompatiblePeer( bool bAcceptExist
}
try
{
- xMe->createPeer( NULL, pParentWindow->GetComponentInterface( true ) );
+ xMe->createPeer( NULL, pParentWindow->GetComponentInterface() );
}
catch( const Exception& )
{
diff --git a/toolkit/source/helper/vclunohelper.cxx b/toolkit/source/helper/vclunohelper.cxx
index 273a6cf577b1..8cfb8b3cbc19 100644
--- a/toolkit/source/helper/vclunohelper.cxx
+++ b/toolkit/source/helper/vclunohelper.cxx
@@ -189,7 +189,7 @@ Polygon VCLUnoHelper::CreatePolygon( const ::com::sun::star::uno::Sequence< sal_
::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlContainer> VCLUnoHelper::CreateControlContainer( vcl::Window* pWindow )
{
- UnoControlContainer* pContainer = new UnoControlContainer( pWindow->GetComponentInterface( true ) );
+ UnoControlContainer* pContainer = new UnoControlContainer( pWindow->GetComponentInterface() );
::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlContainer > x = pContainer;
UnoControlModel* pContainerModel = new UnoControlContainerModel( ::comphelper::getProcessComponentContext() );
diff --git a/tools/source/fsys/urlobj.cxx b/tools/source/fsys/urlobj.cxx
index 2fdb0d018bb7..78aa4fc8cd9a 100644
--- a/tools/source/fsys/urlobj.cxx
+++ b/tools/source/fsys/urlobj.cxx
@@ -4961,7 +4961,7 @@ OUString INetURLObject::GetFull() const
OUString INetURLObject::GetPath() const
{
INetURLObject aTemp(*this);
- aTemp.removeSegment(LAST_SEGMENT, true);
+ aTemp.removeSegment(LAST_SEGMENT);
aTemp.removeFinalSlash();
return aTemp.PathToFileName();
}
@@ -4981,7 +4981,7 @@ void INetURLObject::SetName(OUString const & rTheName,
rtl_TextEncoding eCharset)
{
INetURLObject aTemp(*this);
- if (aTemp.removeSegment(LAST_SEGMENT, true)
+ if (aTemp.removeSegment(LAST_SEGMENT)
&& aTemp.insertName(rTheName, false, LAST_SEGMENT, true, eMechanism,
eCharset))
*this = aTemp;
diff --git a/tools/source/generic/poly.cxx b/tools/source/generic/poly.cxx
index e01f72a5cbda..7d14d409ec4b 100644
--- a/tools/source/generic/poly.cxx
+++ b/tools/source/generic/poly.cxx
@@ -222,7 +222,7 @@ void ImplPolygon::ImplSplit( sal_uInt16 nPos, sal_uInt16 nSpace, ImplPolygon* pI
{
// Append at the back
nPos = mnPoints;
- ImplSetSize( nNewSize, true );
+ ImplSetSize( nNewSize );
if( pInitPoly )
{
@@ -1907,7 +1907,7 @@ Polygon::Polygon(const basegfx::B2DPolygon& rPolygon)
if(nArrayInsert != nMaxTargetCount)
{
- mpImplPolygon->ImplSetSize(static_cast< sal_uInt16 >(nArrayInsert), true);
+ mpImplPolygon->ImplSetSize(static_cast< sal_uInt16 >(nArrayInsert));
}
}
}
diff --git a/tools/source/inet/inetstrm.cxx b/tools/source/inet/inetstrm.cxx
index 4342c673ae16..9836f39f1b57 100644
--- a/tools/source/inet/inetstrm.cxx
+++ b/tools/source/inet/inetstrm.cxx
@@ -1353,7 +1353,7 @@ int INetMIMEMessageStream::PutMsgLine(const sal_Char* pData, sal_uIntPtr nSize)
// Encapsulated message.
INetMIMEMessage* pNewMessage = new INetMIMEMessage;
pNewMessage->SetDocumentLB( new SvAsyncLockBytes(new SvMemoryStream(), false));
- pMsg->AttachChild( *pNewMessage, true );
+ pMsg->AttachChild( *pNewMessage );
// Encapsulated message body. Create message parser stream.
pChildStrm = new INetMIMEMessageStream;
@@ -1467,7 +1467,7 @@ int INetMIMEMessageStream::PutMsgLine(const sal_Char* pData, sal_uIntPtr nSize)
new SvAsyncLockBytes(
new SvMemoryStream(), false));
- pMsg->AttachChild( *pNewMessage, true );
+ pMsg->AttachChild( *pNewMessage );
// Encapsulated message body. Create message parser stream.
pChildStrm = new INetMIMEMessageStream;
diff --git a/ucbhelper/source/provider/contentidentifier.cxx b/ucbhelper/source/provider/contentidentifier.cxx
index b8f8cbc9b255..29c45d075635 100644
--- a/ucbhelper/source/provider/contentidentifier.cxx
+++ b/ucbhelper/source/provider/contentidentifier.cxx
@@ -66,7 +66,7 @@ ContentIdentifier_Impl::ContentIdentifier_Impl(const OUString& rURL )
// The content provider scheme is the part before the first ':'
// within the content id.
- sal_Int32 nPos = rURL.indexOf( ':', 0 );
+ sal_Int32 nPos = rURL.indexOf( ':' );
if ( nPos != -1 )
{
OUString aScheme( rURL.copy( 0, nPos ) );
diff --git a/unodevtools/source/skeletonmaker/cppcompskeleton.cxx b/unodevtools/source/skeletonmaker/cppcompskeleton.cxx
index 1a6346144a14..f9137b0a4a6d 100644
--- a/unodevtools/source/skeletonmaker/cppcompskeleton.cxx
+++ b/unodevtools/source/skeletonmaker/cppcompskeleton.cxx
@@ -607,7 +607,7 @@ void generateMemberDeclaration(std::ostream& o,
i != members.end(); ++i)
{
o << " ";
- printType(o, options, manager, i->type, 1, false);
+ printType(o, options, manager, i->type, 1);
o << " m_" << i->name << ";\n";
}
}
@@ -934,7 +934,7 @@ void generateQueryInterface(std::ostream& o,
o << "::cppu::OPropertySetHelper::queryInterface(type));\n";
} else {
o << "::cppu::PropertySetMixin<\n ";
- printType(o, options, manager, propertyhelper, 0, false);
+ printType(o, options, manager, propertyhelper, 0);
o << " >::queryInterface(\n type));\n";
}
}
diff --git a/unodevtools/source/skeletonmaker/cpptypemaker.cxx b/unodevtools/source/skeletonmaker/cpptypemaker.cxx
index 283e477f24ed..02c356697764 100644
--- a/unodevtools/source/skeletonmaker/cpptypemaker.cxx
+++ b/unodevtools/source/skeletonmaker/cpptypemaker.cxx
@@ -103,7 +103,7 @@ void printType(
if (i != arguments.begin())
o << ", ";
- printType(o, options, manager, *i, 1, false);
+ printType(o, options, manager, *i, 1);
}
o << " >";
}
diff --git a/unodevtools/source/skeletonmaker/javacompskeleton.cxx b/unodevtools/source/skeletonmaker/javacompskeleton.cxx
index 567916322b36..f51de585365b 100644
--- a/unodevtools/source/skeletonmaker/javacompskeleton.cxx
+++ b/unodevtools/source/skeletonmaker/javacompskeleton.cxx
@@ -765,7 +765,7 @@ void generateClassDefinition(std::ostream& o,
o << " // properties\n";
while (iter != properties.end()) {
o << " protected ";
- printType(o, options, manager, iter->type, false, false);
+ printType(o, options, manager, iter->type, false);
o << " m_" << iter->name << ";\n";
++iter;
}
@@ -775,7 +775,7 @@ void generateClassDefinition(std::ostream& o,
o << " // attributes\n";
while (iter != attributes.end()) {
o << " private ";
- printType(o, options, manager, iter->type, false, false);
+ printType(o, options, manager, iter->type, false);
o << " m_" << iter->name << " = ";
printType(o, options, manager, iter->type, false, true);
o <<";\n";
diff --git a/unodevtools/source/skeletonmaker/javatypemaker.cxx b/unodevtools/source/skeletonmaker/javatypemaker.cxx
index a8e2ebfa0fe9..6a5aaab79a5e 100644
--- a/unodevtools/source/skeletonmaker/javatypemaker.cxx
+++ b/unodevtools/source/skeletonmaker/javatypemaker.cxx
@@ -89,7 +89,7 @@ void printType(
if (i != arguments.begin()) {
o << ", ";
}
- printType(o, options, manager, *i, true, false);
+ printType(o, options, manager, *i, true);
}
o << '>';
}
diff --git a/unotools/source/ucbhelper/ucbhelper.cxx b/unotools/source/ucbhelper/ucbhelper.cxx
index 1cb9ad65b58c..98c30d0f5fa6 100644
--- a/unotools/source/ucbhelper/ucbhelper.cxx
+++ b/unotools/source/ucbhelper/ucbhelper.cxx
@@ -88,7 +88,7 @@ std::vector<OUString> getContents(OUString const & url) {
css::uno::Sequence<OUString> args(1);
args[0] = "Title";
css::uno::Reference<css::sdbc::XResultSet> res(
- c.createCursor(args, ucbhelper::INCLUDE_FOLDERS_AND_DOCUMENTS),
+ c.createCursor(args),
css::uno::UNO_SET_THROW);
css::uno::Reference<com::sun::star::ucb::XContentAccess> acc(
res, css::uno::UNO_QUERY_THROW);
diff --git a/unotools/source/ucbhelper/xtempfile.cxx b/unotools/source/ucbhelper/xtempfile.cxx
index a56347fed794..0ec6f47ae0fd 100644
--- a/unotools/source/ucbhelper/xtempfile.cxx
+++ b/unotools/source/ucbhelper/xtempfile.cxx
@@ -39,7 +39,7 @@ OTempFileService::OTempFileService(css::uno::Reference< css::uno::XComponentCont
{
mpTempFile = new ::utl::TempFile;
- mpTempFile->EnableKillingFile ( true );
+ mpTempFile->EnableKillingFile();
}
OTempFileService::~OTempFileService ()