summaryrefslogtreecommitdiff
path: root/svtools/source
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source')
-rw-r--r--svtools/source/brwbox/brwbox1.cxx6
-rw-r--r--svtools/source/brwbox/brwbox2.cxx18
-rw-r--r--svtools/source/brwbox/datwin.cxx8
-rw-r--r--svtools/source/brwbox/editbrowsebox.cxx4
-rw-r--r--svtools/source/contnr/fileview.cxx6
-rw-r--r--svtools/source/contnr/imivctl1.cxx4
-rw-r--r--svtools/source/contnr/svimpbox.cxx40
-rw-r--r--svtools/source/contnr/treelistbox.cxx6
-rw-r--r--svtools/source/control/breadcrumb.cxx2
-rw-r--r--svtools/source/control/calendar.cxx4
-rw-r--r--svtools/source/control/ctrlbox.cxx10
-rw-r--r--svtools/source/control/roadmap.cxx2
-rw-r--r--svtools/source/control/ruler.cxx2
-rw-r--r--svtools/source/control/stdmenu.cxx4
-rw-r--r--svtools/source/control/tabbar.cxx4
-rw-r--r--svtools/source/control/toolbarmenu.cxx2
-rw-r--r--svtools/source/control/valueset.cxx2
-rw-r--r--svtools/source/dialogs/PlaceEditDialog.cxx2
-rw-r--r--svtools/source/dialogs/ServerDetailsControls.cxx2
-rw-r--r--svtools/source/dialogs/addresstemplate.cxx4
-rw-r--r--svtools/source/dialogs/restartdialog.cxx2
-rw-r--r--svtools/source/dialogs/roadmapwizard.cxx2
-rw-r--r--svtools/source/edit/editsyntaxhighlighter.cxx14
-rw-r--r--svtools/source/edit/svmedit2.cxx2
-rw-r--r--svtools/source/filter/exportdialog.cxx2
-rw-r--r--svtools/source/graphic/grfmgr.cxx2
-rw-r--r--svtools/source/graphic/grfmgr2.cxx2
-rw-r--r--svtools/source/misc/embedtransfer.cxx2
-rw-r--r--svtools/source/misc/langtab.cxx4
-rw-r--r--svtools/source/misc/templatefoldercache.cxx2
-rw-r--r--svtools/source/svhtml/parhtml.cxx4
-rw-r--r--svtools/source/svrtf/parrtf.cxx2
-rw-r--r--svtools/source/toolpanel/drawerlayouter.cxx2
-rw-r--r--svtools/source/toolpanel/tablayouter.cxx2
-rw-r--r--svtools/source/uno/popupwindowcontroller.cxx2
-rw-r--r--svtools/source/uno/svtxgridcontrol.cxx2
-rw-r--r--svtools/source/uno/treecontrolpeer.cxx8
-rw-r--r--svtools/source/uno/wizard/wizardpagecontroller.cxx2
38 files changed, 95 insertions, 95 deletions
diff --git a/svtools/source/brwbox/brwbox1.cxx b/svtools/source/brwbox/brwbox1.cxx
index cb582cc49085..037aa341b356 100644
--- a/svtools/source/brwbox/brwbox1.cxx
+++ b/svtools/source/brwbox/brwbox1.cxx
@@ -1469,7 +1469,7 @@ void BrowseBox::RowRemoved( long nRow, long nNumRows, bool bDoPaint )
bool BrowseBox::GoToRow( long nRow)
{
- return GoToRow(nRow, false, false);
+ return GoToRow(nRow, false);
}
@@ -1563,7 +1563,7 @@ bool BrowseBox::GoToRow( long nRow, bool bRowColMove, bool bKeepSelection )
bool BrowseBox::GoToColumnId( sal_uInt16 nColId)
{
- return GoToColumnId(nColId, true, false);
+ return GoToColumnId(nColId, true);
}
@@ -1710,7 +1710,7 @@ void BrowseBox::SelectAll()
// select all rows
if ( pColSel )
pColSel->SelectAll(false);
- uRow.pSel->SelectAll(true);
+ uRow.pSel->SelectAll();
// don't highlight handle column
BrowserColumn *pFirstCol = (*pCols)[ 0 ];
diff --git a/svtools/source/brwbox/brwbox2.cxx b/svtools/source/brwbox/brwbox2.cxx
index 8e481a12231d..ed237b46ca6d 100644
--- a/svtools/source/brwbox/brwbox2.cxx
+++ b/svtools/source/brwbox/brwbox2.cxx
@@ -465,12 +465,12 @@ void BrowseBox::ExpandRowSelection( const BrowserMouseEvent& rEvt )
// down and up
while ( rEvt.GetRow() < aSelRange.Max() )
{ // ZTC/Mac bug - don't put these statements together!
- SelectRow( aSelRange.Max(), bSelectThis, true );
+ SelectRow( aSelRange.Max(), bSelectThis );
--aSelRange.Max();
}
while ( rEvt.GetRow() > aSelRange.Max() )
{ // ZTC/Mac bug - don't put these statements together!
- SelectRow( aSelRange.Max(), bSelectThis, true );
+ SelectRow( aSelRange.Max(), bSelectThis );
++aSelRange.Max();
}
}
@@ -484,7 +484,7 @@ void BrowseBox::ExpandRowSelection( const BrowserMouseEvent& rEvt )
--aSelRange.Max();
if ( !IsRowSelected( aSelRange.Max() ) )
{
- SelectRow( aSelRange.Max(), bSelectThis, true );
+ SelectRow( aSelRange.Max(), bSelectThis );
bSelect = true;
}
}
@@ -493,7 +493,7 @@ void BrowseBox::ExpandRowSelection( const BrowserMouseEvent& rEvt )
++aSelRange.Max();
if ( !IsRowSelected( aSelRange.Max() ) )
{
- SelectRow( aSelRange.Max(), bSelectThis, true );
+ SelectRow( aSelRange.Max(), bSelectThis );
bSelect = true;
}
}
@@ -1837,10 +1837,10 @@ void BrowseBox::Dispatch( sal_uInt16 nId )
long nRow = GetCurRow();
bool bLocalSelect = ( !IsRowSelected( nRow ) ||
GetSelectRowCount() == 1 || IsRowSelected( nRow - 1 ) );
- SelectRow( nRow, bLocalSelect, true );
+ SelectRow( nRow, bLocalSelect );
bDone = GoToRow( GetCurRow() + 1, false );
if ( bDone )
- SelectRow( GetCurRow(), true, true );
+ SelectRow( GetCurRow(), true );
}
else
bDone = ScrollRows( 1 ) != 0;
@@ -1854,10 +1854,10 @@ void BrowseBox::Dispatch( sal_uInt16 nId )
long nRow = GetCurRow();
bool bLocalSelect = ( !IsRowSelected( nRow ) ||
GetSelectRowCount() == 1 || IsRowSelected( nRow + 1 ) );
- SelectRow( nCurRow, bLocalSelect, true );
+ SelectRow( nCurRow, bLocalSelect );
bDone = GoToRow( nRow - 1, false );
if ( bDone )
- SelectRow( GetCurRow(), true, true );
+ SelectRow( GetCurRow(), true );
}
break;
case BROWSER_CURSORPAGEDOWN:
@@ -1927,7 +1927,7 @@ void BrowseBox::Dispatch( sal_uInt16 nId )
break;
case BROWSER_ENHANCESELECTION:
if ( GetRowCount() )
- SelectRow( GetCurRow(), !IsRowSelected( GetCurRow() ), true );
+ SelectRow( GetCurRow(), !IsRowSelected( GetCurRow() ) );
bDone = true;
break;
case BROWSER_SELECT:
diff --git a/svtools/source/brwbox/datwin.cxx b/svtools/source/brwbox/datwin.cxx
index f4376eb71e5e..daa21121282e 100644
--- a/svtools/source/brwbox/datwin.cxx
+++ b/svtools/source/brwbox/datwin.cxx
@@ -288,9 +288,9 @@ void BrowserDataWin::DataChanged( const DataChangedEvent& rDCEvt )
{
if( !bOwnDataChangedHdl )
{
- InitSettings_Impl(this, true, true, true);
+ InitSettings_Impl(this, true, true);
Invalidate();
- InitSettings_Impl(GetParent(), true, true, true);
+ InitSettings_Impl(GetParent(), true, true);
GetParent()->Invalidate();
GetParent()->Resize();
}
@@ -545,7 +545,7 @@ void BrowserDataWin::StartRowDividerDrag( const Point& _rStartPos )
GetParent()->ImplStartTracking();
Rectangle aDragSplitRect( 0, m_nDragRowDividerLimit, GetOutputSizePixel().Width(), nDragRowDividerCurrentPos );
- ShowTracking( aDragSplitRect, SHOWTRACK_SMALL );
+ ShowTracking( aDragSplitRect );
StartTracking();
}
@@ -591,7 +591,7 @@ void BrowserDataWin::Tracking( const TrackingEvent& rTEvt )
nDragRowDividerCurrentPos = m_nDragRowDividerLimit + GetParent()->QueryMinimumRowHeight();
Rectangle aDragSplitRect( 0, m_nDragRowDividerLimit, GetOutputSizePixel().Width(), nDragRowDividerCurrentPos );
- ShowTracking( aDragSplitRect, SHOWTRACK_SMALL );
+ ShowTracking( aDragSplitRect );
}
}
diff --git a/svtools/source/brwbox/editbrowsebox.cxx b/svtools/source/brwbox/editbrowsebox.cxx
index 372e7a5bc224..c9c5a29d3e3c 100644
--- a/svtools/source/brwbox/editbrowsebox.cxx
+++ b/svtools/source/brwbox/editbrowsebox.cxx
@@ -228,7 +228,7 @@ namespace svt
void EditBrowseBox::LoseFocus()
{
BrowseBox::LoseFocus();
- DetermineFocus( GetFocusFlags::NONE );
+ DetermineFocus();
}
@@ -737,7 +737,7 @@ namespace svt
break;
case MouseNotifyEvent::LOSEFOCUS:
- DetermineFocus( GetFocusFlags::NONE );
+ DetermineFocus();
break;
default:
diff --git a/svtools/source/contnr/fileview.cxx b/svtools/source/contnr/fileview.cxx
index 38fa3c4626ba..0ee78b2df4f9 100644
--- a/svtools/source/contnr/fileview.cxx
+++ b/svtools/source/contnr/fileview.cxx
@@ -1937,10 +1937,10 @@ void SvtFileView_Impl::CreateDisplayText_Impl()
::svtools::VolumeInfo aVolInfo( (*aIt)->mbIsVolume, (*aIt)->mbIsRemote,
(*aIt)->mbIsRemoveable, (*aIt)->mbIsFloppy,
(*aIt)->mbIsCompactDisc );
- (*aIt)->maImage = SvFileInformationManager::GetFolderImage( aVolInfo, false );
+ (*aIt)->maImage = SvFileInformationManager::GetFolderImage( aVolInfo );
}
else
- (*aIt)->maImage = SvFileInformationManager::GetFileImage( INetURLObject( (*aIt)->maTargetURL ), false );
+ (*aIt)->maImage = SvFileInformationManager::GetFileImage( INetURLObject( (*aIt)->maTargetURL ) );
}
}
@@ -2145,7 +2145,7 @@ OUString SvtFileView_Impl::FolderInserted( const OUString& rURL, const OUString&
::svtools::VolumeInfo aVolInfo;
pData->maType = SvFileInformationManager::GetFolderDescription( aVolInfo );
- pData->maImage = SvFileInformationManager::GetFolderImage( aVolInfo, false );
+ pData->maImage = SvFileInformationManager::GetFolderImage( aVolInfo );
OUString aValue;
OUString aTab( "\t" );
diff --git a/svtools/source/contnr/imivctl1.cxx b/svtools/source/contnr/imivctl1.cxx
index 3aa1c23aed9d..4b3bb7391927 100644
--- a/svtools/source/contnr/imivctl1.cxx
+++ b/svtools/source/contnr/imivctl1.cxx
@@ -1002,7 +1002,7 @@ bool SvxIconChoiceCtrl_Impl::KeyInput( const KeyEvent& rKEvt )
SvxIconChoiceCtrlEntry* pNewCursor = GetEntry( nPos );
SvxIconChoiceCtrlEntry* pOldCursor = pCursor;
if ( pNewCursor != pOldCursor )
- SetCursor_Impl( pOldCursor, pNewCursor, false, false, false );
+ SetCursor_Impl( pOldCursor, pNewCursor, false, false );
return true;
}
@@ -2038,7 +2038,7 @@ void SvxIconChoiceCtrl_Impl::FindBoundingRect( SvxIconChoiceCtrlEntry* pEntry )
return;
}
Size aSize( CalcBoundingSize( pEntry ) );
- Point aPos(pGridMap->GetGridRect(pGridMap->GetUnoccupiedGrid(true)).TopLeft());
+ Point aPos(pGridMap->GetGridRect(pGridMap->GetUnoccupiedGrid()).TopLeft());
SetBoundingRect_Impl( pEntry, aPos, aSize );
}
diff --git a/svtools/source/contnr/svimpbox.cxx b/svtools/source/contnr/svimpbox.cxx
index 128e1727a4b9..211fec12088f 100644
--- a/svtools/source/contnr/svimpbox.cxx
+++ b/svtools/source/contnr/svimpbox.cxx
@@ -646,7 +646,7 @@ void SvImpLBox::SetCursor( SvTreeListEntry* pEntry, bool bForceNoSelect )
pViewDataNewCur->SetFocus( true );
if(!bForceNoSelect && bSimpleTravel && !(nFlags & F_DESEL_ALL) && GetUpdateMode())
{
- pView->Select( pCursor, true );
+ pView->Select( pCursor );
CallEventListeners( VCLEVENT_LISTBOX_TREEFOCUS, pCursor );
}
// multiple selection: select in cursor move if we're not in
@@ -656,7 +656,7 @@ void SvImpLBox::SetCursor( SvTreeListEntry* pEntry, bool bForceNoSelect )
!(nFlags & F_DESEL_ALL) && !aSelEng.IsAddMode() &&
!bForceNoSelect )
{
- pView->Select( pCursor, true );
+ pView->Select( pCursor );
CallEventListeners( VCLEVENT_LISTBOX_TREEFOCUS, pCursor );
}
else
@@ -714,7 +714,7 @@ void SvImpLBox::UpdateAll(
FillView();
ShowVerSBar();
if( bSimpleTravel && pCursor && pView->HasFocus() )
- pView->Select( pCursor, true );
+ pView->Select( pCursor );
ShowCursor( true );
if( bInvalidateCompleteView )
pView->Invalidate();
@@ -1567,7 +1567,7 @@ void SvImpLBox::EntryCollapsed( SvTreeListEntry* pEntry )
ShowVerSBar();
ShowCursor( true );
if( GetUpdateMode() && pCursor )
- pView->Select( pCursor, true );
+ pView->Select( pCursor );
}
void SvImpLBox::CollapsingEntry( SvTreeListEntry* pEntry )
@@ -1727,7 +1727,7 @@ void SvImpLBox::EntryRemoved()
SetCursor( pStartEntry, true );
if( pCursor && (bSimpleTravel || !pView->GetSelectionCount() ))
- pView->Select( pCursor, true );
+ pView->Select( pCursor );
if( GetUpdateMode())
{
@@ -1755,7 +1755,7 @@ void SvImpLBox::EntryRemoved()
MakeVisible( pCursor );
}
else
- pView->Select( pCursor, true );
+ pView->Select( pCursor );
}
ShowCursor( true );
}
@@ -2083,7 +2083,7 @@ void SvImpLBox::MouseButtonDown( const MouseEvent& rMEvt )
pView->Expand( pEntry );
if( pEntry == pCursor ) // only if Entryitem was clicked
// (Nodebutton is not an Entryitem!)
- pView->Select( pCursor, true );
+ pView->Select( pCursor );
return;
}
}
@@ -2384,7 +2384,7 @@ bool SvImpLBox::KeyInput( const KeyEvent& rKEvt)
else if ( !pView->IsSelected( pCursor ) )
{
SelAllDestrAnch( false );
- pView->Select( pCursor, true );
+ pView->Select( pCursor );
}
else
bKeyUsed = false;
@@ -2714,11 +2714,11 @@ void SvImpLBox::SetAnchorSelection(SvTreeListEntry* pOldCursor,SvTreeListEntry*
pEntry = pOldCursor;
while( pEntry && pEntry != pNewCursor )
{
- pView->Select( pEntry, true );
+ pView->Select( pEntry );
pEntry = pView->NextVisible(pEntry);
}
if( pEntry )
- pView->Select( pEntry, true );
+ pView->Select( pEntry );
return;
}
@@ -2736,11 +2736,11 @@ void SvImpLBox::SetAnchorSelection(SvTreeListEntry* pOldCursor,SvTreeListEntry*
pEntry = pNewCursor;
while( pEntry && pEntry != pAnchor )
{
- pView->Select( pEntry, true );
+ pView->Select( pEntry );
pEntry = pView->NextVisible(pEntry);
}
if( pEntry )
- pView->Select( pEntry, true );
+ pView->Select( pEntry );
return;
}
@@ -2765,11 +2765,11 @@ void SvImpLBox::SetAnchorSelection(SvTreeListEntry* pOldCursor,SvTreeListEntry*
pEntry = pNewCursor;
while( pEntry && pEntry != pOldCursor )
{
- pView->Select( pEntry, true );
+ pView->Select( pEntry );
pEntry = pView->NextVisible(pEntry);
}
if( pEntry )
- pView->Select( pEntry, true );
+ pView->Select( pEntry );
return;
}
@@ -2786,11 +2786,11 @@ void SvImpLBox::SetAnchorSelection(SvTreeListEntry* pOldCursor,SvTreeListEntry*
pEntry = pAnchor;
while( pEntry && pEntry != pNewCursor )
{
- pView->Select( pEntry, true );
+ pView->Select( pEntry );
pEntry = pView->NextVisible(pEntry);
}
if( pEntry )
- pView->Select( pEntry, true );
+ pView->Select( pEntry );
return;
}
@@ -2816,7 +2816,7 @@ void SvImpLBox::SelAllDestrAnch(
{
if( pCursor && !pView->IsSelected( pCursor ))
{
- pView->Select( pCursor, true );
+ pView->Select( pCursor );
}
return;
}
@@ -2896,7 +2896,7 @@ void SvImpLBox::SetDragDropMode( DragDropMode eDDMode )
}
else
{
- aSelEng.ExpandSelectionOnMouseMove( true );
+ aSelEng.ExpandSelectionOnMouseMove();
aSelEng.EnableDrag( false );
}
}
@@ -3122,12 +3122,12 @@ void SvImpLBox::SetCurEntry( SvTreeListEntry* pEntry )
if ( ( aSelEng.GetSelectionMode() != SINGLE_SELECTION )
&& ( aSelEng.GetSelectionMode() != NO_SELECTION )
)
- SelAllDestrAnch( false, true, false );
+ SelAllDestrAnch( false, true );
if ( pEntry )
MakeVisible( pEntry );
SetCursor( pEntry );
if ( pEntry && ( aSelEng.GetSelectionMode() != NO_SELECTION ) )
- pView->Select( pEntry, true );
+ pView->Select( pEntry );
}
IMPL_LINK_NOARG_TYPED(SvImpLBox, EditTimerCall, Idle *, void)
diff --git a/svtools/source/contnr/treelistbox.cxx b/svtools/source/contnr/treelistbox.cxx
index c30e62d8e4ee..6d64a0a8c89c 100644
--- a/svtools/source/contnr/treelistbox.cxx
+++ b/svtools/source/contnr/treelistbox.cxx
@@ -1207,7 +1207,7 @@ sal_Int8 SvTreeListBox::AcceptDrop( const AcceptDropEvent& rEvt )
sal_Int8 SvTreeListBox::ExecuteDrop( const ExecuteDropEvent& rEvt, SvTreeListBox* pSourceView )
{
DBG_ASSERT( pSourceView, "SvTreeListBox::ExecuteDrop(): no source view" );
- pSourceView->EnableSelectionAsDropTarget( true, true );
+ pSourceView->EnableSelectionAsDropTarget( true );
ImplShowTargetEmphasis( pTargetEntry, false );
pDDTarget = this;
@@ -1307,7 +1307,7 @@ void SvTreeListBox::StartDrag( sal_Int8, const Point& rPosPixel )
// Important: If the selection of the SourceListBox is changed in the
// DropHandler, the entries have to be allowed as drop targets again:
// (GetSourceListBox()->EnableSelectionAsDropTarget( true, true );)
- EnableSelectionAsDropTarget( false, true /* with children */ );
+ EnableSelectionAsDropTarget( false );
pContainer->StartDrag( this, nDragOptions, GetDragFinishedHdl() );
}
@@ -1318,7 +1318,7 @@ nAction
#endif
)
{
- EnableSelectionAsDropTarget( true, true );
+ EnableSelectionAsDropTarget( true );
#ifndef UNX
if( (nAction == DND_ACTION_MOVE) && ( (pDDTarget &&
diff --git a/svtools/source/control/breadcrumb.cxx b/svtools/source/control/breadcrumb.cxx
index 5ae725d41ab7..36d05b0af6eb 100644
--- a/svtools/source/control/breadcrumb.cxx
+++ b/svtools/source/control/breadcrumb.cxx
@@ -34,7 +34,7 @@ void Breadcrumb::dispose()
void Breadcrumb::EnableFields( bool bEnable )
{
- VclHBox::Enable( bEnable, true );
+ VclHBox::Enable( bEnable );
if( bEnable )
{
INetURLObject aURL( m_aCurrentURL );
diff --git a/svtools/source/control/calendar.cxx b/svtools/source/control/calendar.cxx
index 8832480dfdca..030ccb63abc8 100644
--- a/svtools/source/control/calendar.cxx
+++ b/svtools/source/control/calendar.cxx
@@ -1562,7 +1562,7 @@ void Calendar::KeyInput( const KeyEvent& rKEvt )
if ( mnWinStyle & WB_RANGESELECT )
{
SetNoSelection();
- SelectDate( aNewDate, true );
+ SelectDate( aNewDate );
}
mbDirect = true;
SetCurDate( aNewDate );
@@ -2220,7 +2220,7 @@ void ImplCFieldFloatWin::ArrangeButtons()
}
long nLineWidth = aOutSize.Width()-(CALFIELD_BORDERLINE_X*2);
mpFixedLine->setPosSizePixel( (aOutSize.Width()-nLineWidth)/2, aOutSize.Height()+((CALFIELD_BORDER_YTOP-2)/2),
- nLineWidth, 2, PosSizeFlags::PosSize );
+ nLineWidth, 2 );
aOutSize.Height() += nBtnHeight + (CALFIELD_BORDER_Y*2) + CALFIELD_BORDER_YTOP;
SetOutputSizePixel( aOutSize );
}
diff --git a/svtools/source/control/ctrlbox.cxx b/svtools/source/control/ctrlbox.cxx
index 8cbd6fbcde74..c315ff7dc7ac 100644
--- a/svtools/source/control/ctrlbox.cxx
+++ b/svtools/source/control/ctrlbox.cxx
@@ -205,7 +205,7 @@ void ColorListBox::CopyEntries( const ColorListBox& rBox )
for ( size_t n = 0; n < nCount; n++ )
{
ImplColorListData* pData = (*rBox.pColorList)[ n ];
- sal_Int32 nPos = InsertEntry( rBox.GetEntry( n ), LISTBOX_APPEND );
+ sal_Int32 nPos = InsertEntry( rBox.GetEntry( n ) );
if ( nPos != LISTBOX_ERROR )
{
if ( static_cast<size_t>(nPos) < pColorList->size() )
@@ -281,13 +281,13 @@ void ColorListBox::UserDraw( const UserDrawEvent& rUDEvt )
}
}
- ListBox::DrawEntry( rUDEvt, false, true, false );
+ ListBox::DrawEntry( rUDEvt, false, true );
}
else
ListBox::DrawEntry( rUDEvt, false, true, true );
}
else
- ListBox::DrawEntry( rUDEvt, true, true, false );
+ ListBox::DrawEntry( rUDEvt, true, true );
}
BorderWidthImpl::BorderWidthImpl( BorderWidthImplFlags nFlags, double nRate1, double nRate2, double nRateGap ):
@@ -854,7 +854,7 @@ void LineListBox::UpdateEntries( long nOldWidth )
// Add the new entries based on the defined width
if (!m_sNone.isEmpty())
- ListBox::InsertEntry( m_sNone, LISTBOX_APPEND );
+ ListBox::InsertEntry( m_sNone );
sal_uInt16 n = 0;
sal_uInt16 nCount = pLineList->size( );
@@ -871,7 +871,7 @@ void LineListBox::UpdateEntries( long nOldWidth )
GetColorLine2( GetEntryCount( ) ),
GetColorDist( GetEntryCount( ) ),
pData->GetStyle(), aBmp );
- ListBox::InsertEntry(OUString(" "), Image(aBmp), LISTBOX_APPEND);
+ ListBox::InsertEntry(OUString(" "), Image(aBmp));
if ( n == nTypePos )
SelectEntryPos( GetEntryCount() - 1 );
}
diff --git a/svtools/source/control/roadmap.cxx b/svtools/source/control/roadmap.cxx
index 1b33a13c0021..9a974854a589 100644
--- a/svtools/source/control/roadmap.cxx
+++ b/svtools/source/control/roadmap.cxx
@@ -590,7 +590,7 @@ void ORoadmap::DrawHeadline(vcl::RenderContext& rRenderContext)
// draw it
rRenderContext.DrawText(Rectangle(aTextPos, aOutputSize), GetText(),
DrawTextFlags::Left | DrawTextFlags::Top | DrawTextFlags::MultiLine | DrawTextFlags::WordBreak);
- rRenderContext.DrawTextLine(aTextPos, aOutputSize.Width(), STRIKEOUT_NONE, UNDERLINE_SINGLE, UNDERLINE_NONE, false);
+ rRenderContext.DrawTextLine(aTextPos, aOutputSize.Width(), STRIKEOUT_NONE, UNDERLINE_SINGLE, UNDERLINE_NONE);
const StyleSettings& rStyleSettings = rRenderContext.GetSettings().GetStyleSettings();
rRenderContext.SetLineColor(rStyleSettings.GetFieldTextColor());
rRenderContext.SetTextColor(rStyleSettings.GetFieldTextColor());
diff --git a/svtools/source/control/ruler.cxx b/svtools/source/control/ruler.cxx
index 0d6c6ab05f88..2d017bd20b63 100644
--- a/svtools/source/control/ruler.cxx
+++ b/svtools/source/control/ruler.cxx
@@ -1204,7 +1204,7 @@ void Ruler::ImplFormat(vcl::RenderContext& rRenderContext)
aVirDevSize.Width() = mnVirHeight;
}
if (aVirDevSize != maVirDev->GetOutputSizePixel())
- maVirDev->SetOutputSizePixel(aVirDevSize, true);
+ maVirDev->SetOutputSizePixel(aVirDevSize);
else
maVirDev->Erase();
diff --git a/svtools/source/control/stdmenu.cxx b/svtools/source/control/stdmenu.cxx
index 6a5e0dcf18f4..760e7848f1a7 100644
--- a/svtools/source/control/stdmenu.cxx
+++ b/svtools/source/control/stdmenu.cxx
@@ -96,7 +96,7 @@ void FontNameMenu::SetCurName(const OUString& rName)
OUString aText = GetItemText( nItemId );
if ( aText == maCurName )
{
- CheckItem( nItemId, true );
+ CheckItem( nItemId );
return;
}
}
@@ -219,7 +219,7 @@ void FontSizeMenu::SetCurHeight( long nHeight )
if ( mpHeightAry[i] == nHeight )
{
- CheckItem( nItemId, true );
+ CheckItem( nItemId );
return;
}
diff --git a/svtools/source/control/tabbar.cxx b/svtools/source/control/tabbar.cxx
index f361133d54d0..2e00b94413c8 100644
--- a/svtools/source/control/tabbar.cxx
+++ b/svtools/source/control/tabbar.cxx
@@ -385,7 +385,7 @@ void ImplTabSizer::Paint( vcl::RenderContext& rRenderContext, const Rectangle& )
{
DecorationView aDecoView(&rRenderContext);
Rectangle aOutputRect(Point(0, 0), GetOutputSizePixel());
- aDecoView.DrawHandle(aOutputRect, true);
+ aDecoView.DrawHandle(aOutputRect);
}
// Is not named Impl. as it may be both instantiated and derived from
@@ -1249,7 +1249,7 @@ void TabBar::Paint(vcl::RenderContext& rRenderContext, const Rectangle& rect)
bool bCustomBgColor = !pItem->IsDefaultTabBgColor() && !rStyleSettings.GetHighContrastMode();
bool bSpecialTab = (pItem->mnBits & TPB_SPECIAL);
bool bEnabled = pItem->mbEnable;
- OUString aText = pItem->mbShort ? rRenderContext.GetEllipsisString(pItem->maText, mnCurMaxWidth, DrawTextFlags::EndEllipsis) : pItem->maText;
+ OUString aText = pItem->mbShort ? rRenderContext.GetEllipsisString(pItem->maText, mnCurMaxWidth) : pItem->maText;
aDrawer.setRect(aRect);
aDrawer.setSelected(bSelected);
diff --git a/svtools/source/control/toolbarmenu.cxx b/svtools/source/control/toolbarmenu.cxx
index 1b8d5fbe864d..9384e8f02516 100644
--- a/svtools/source/control/toolbarmenu.cxx
+++ b/svtools/source/control/toolbarmenu.cxx
@@ -138,7 +138,7 @@ const Reference< XAccessibleContext >& ToolbarMenuEntry::GetAccessible( bool bCr
{
if( mpControl )
{
- mxAccContext = Reference< XAccessibleContext >( mpControl->GetAccessible( true ), UNO_QUERY );
+ mxAccContext = Reference< XAccessibleContext >( mpControl->GetAccessible(), UNO_QUERY );
}
else
{
diff --git a/svtools/source/control/valueset.cxx b/svtools/source/control/valueset.cxx
index 9a1a9effd499..c43a7c5bd398 100644
--- a/svtools/source/control/valueset.cxx
+++ b/svtools/source/control/valueset.cxx
@@ -498,7 +498,7 @@ void ValueSet::Format(vcl::RenderContext& rRenderContext)
// Init VirDev
maVirDev->SetSettings(rRenderContext.GetSettings());
maVirDev->SetBackground(rRenderContext.GetBackground());
- maVirDev->SetOutputSizePixel(aWinSize, true);
+ maVirDev->SetOutputSizePixel(aWinSize);
// nothing is changed in case of too small items
if ((mnItemWidth <= 0) ||
diff --git a/svtools/source/dialogs/PlaceEditDialog.cxx b/svtools/source/dialogs/PlaceEditDialog.cxx
index 125a8173add1..a6d54154ddc1 100644
--- a/svtools/source/dialogs/PlaceEditDialog.cxx
+++ b/svtools/source/dialogs/PlaceEditDialog.cxx
@@ -311,7 +311,7 @@ IMPL_LINK_NOARG( PlaceEditDialog, SelectTypeHdl )
m_xCurrentDetails = m_aDetailsContainers[nPos];
m_nCurrentType = nPos;
- m_xCurrentDetails->show(true);
+ m_xCurrentDetails->show();
SetSizePixel(GetOptimalSize());
diff --git a/svtools/source/dialogs/ServerDetailsControls.cxx b/svtools/source/dialogs/ServerDetailsControls.cxx
index 71eab33bdf21..e90cba270b82 100644
--- a/svtools/source/dialogs/ServerDetailsControls.cxx
+++ b/svtools/source/dialogs/ServerDetailsControls.cxx
@@ -163,7 +163,7 @@ bool DavDetailsContainer::verifyScheme( const OUString& rScheme )
else if ( rScheme == "https://" )
{
bValid = true;
- m_pCBDavs->Check( true );
+ m_pCBDavs->Check();
}
return bValid;
}
diff --git a/svtools/source/dialogs/addresstemplate.cxx b/svtools/source/dialogs/addresstemplate.cxx
index d6337762a731..368ba4025577 100644
--- a/svtools/source/dialogs/addresstemplate.cxx
+++ b/svtools/source/dialogs/addresstemplate.cxx
@@ -662,11 +662,11 @@ void AssignmentPersistentData::ImplCommit()
StyleSettings aSystemStyle = GetSettings().GetStyleSettings();
const ::Color& rNewColor = aSystemStyle.GetDialogColor();
- m_pDatasource->SetReadOnly( true );
+ m_pDatasource->SetReadOnly();
m_pDatasource->SetBackground( Wallpaper( rNewColor ) );
m_pDatasource->SetControlBackground( rNewColor );
- m_pTable->SetReadOnly( true );
+ m_pTable->SetReadOnly();
m_pTable->SetBackground( Wallpaper( rNewColor ) );
m_pTable->SetControlBackground( rNewColor );
diff --git a/svtools/source/dialogs/restartdialog.cxx b/svtools/source/dialogs/restartdialog.cxx
index 828188f7e034..1fa2de2c6c73 100644
--- a/svtools/source/dialogs/restartdialog.cxx
+++ b/svtools/source/dialogs/restartdialog.cxx
@@ -73,7 +73,7 @@ IMPL_LINK_NOARG(RestartDialog, hdlYes) {
}
IMPL_LINK_NOARG(RestartDialog, hdlNo) {
- EndDialog(RET_CANCEL);
+ EndDialog();
return 0;
}
diff --git a/svtools/source/dialogs/roadmapwizard.cxx b/svtools/source/dialogs/roadmapwizard.cxx
index 1fae0a962dac..a5a8c5e71bdb 100644
--- a/svtools/source/dialogs/roadmapwizard.cxx
+++ b/svtools/source/dialogs/roadmapwizard.cxx
@@ -176,7 +176,7 @@ namespace svt
if ( m_pImpl->aPaths.size() == 1 )
// the very first path -> activate it
- activatePath( _nPathId, false );
+ activatePath( _nPathId );
else
implUpdateRoadmap( );
}
diff --git a/svtools/source/edit/editsyntaxhighlighter.cxx b/svtools/source/edit/editsyntaxhighlighter.cxx
index a28d573953cd..746bbbb24dae 100644
--- a/svtools/source/edit/editsyntaxhighlighter.cxx
+++ b/svtools/source/edit/editsyntaxhighlighter.cxx
@@ -90,10 +90,10 @@ void MultiLineEditSyntaxHighlight::DoBracketHilight(sal_uInt16 nKey)
{
if (!nCount)
{
- GetTextEngine()->SetAttrib( TextAttribFontWeight( WEIGHT_ULTRABOLD ), nPara, i, i+1, true );
- GetTextEngine()->SetAttrib( TextAttribFontColor( Color(0,0,0) ), nPara, i, i+1, true );
- GetTextEngine()->SetAttrib( TextAttribFontWeight( WEIGHT_ULTRABOLD ), nStartPara, nStartPos, nStartPos, true );
- GetTextEngine()->SetAttrib( TextAttribFontColor( Color(0,0,0) ), nStartPara, nStartPos, nStartPos, true );
+ GetTextEngine()->SetAttrib( TextAttribFontWeight( WEIGHT_ULTRABOLD ), nPara, i, i+1 );
+ GetTextEngine()->SetAttrib( TextAttribFontColor( Color(0,0,0) ), nPara, i, i+1 );
+ GetTextEngine()->SetAttrib( TextAttribFontWeight( WEIGHT_ULTRABOLD ), nStartPara, nStartPos, nStartPos );
+ GetTextEngine()->SetAttrib( TextAttribFontColor( Color(0,0,0) ), nStartPara, nStartPos, nStartPos );
return;
}
else
@@ -163,16 +163,16 @@ void MultiLineEditSyntaxHighlight::UpdateData()
for (sal_uLong nLine=0; nLine < GetTextEngine()->GetParagraphCount(); nLine++)
{
OUString aLine( GetTextEngine()->GetText( nLine ) );
- GetTextEngine()->RemoveAttribs( nLine, true );
+ GetTextEngine()->RemoveAttribs( nLine );
std::vector<HighlightPortion> aPortions;
aHighlighter.getHighlightPortions( aLine, aPortions );
for (std::vector<HighlightPortion>::iterator i(aPortions.begin());
i != aPortions.end(); ++i)
{
- GetTextEngine()->SetAttrib( TextAttribFontColor( GetColorValue(i->tokenType) ), nLine, i->nBegin, i->nEnd, true );
+ GetTextEngine()->SetAttrib( TextAttribFontColor( GetColorValue(i->tokenType) ), nLine, i->nBegin, i->nEnd );
}
}
- GetTextView()->ShowCursor( false, true );
+ GetTextView()->ShowCursor( false );
GetTextEngine()->SetModified(bTempModified);
}
diff --git a/svtools/source/edit/svmedit2.cxx b/svtools/source/edit/svmedit2.cxx
index 4024cccdc9d5..9301c0d96cd9 100644
--- a/svtools/source/edit/svmedit2.cxx
+++ b/svtools/source/edit/svmedit2.cxx
@@ -28,7 +28,7 @@ ExtMultiLineEdit::ExtMultiLineEdit( vcl::Window* pParent, WinBits nWinStyle ) :
void ExtMultiLineEdit::InsertText( const OUString& rNew, bool )
{
- GetTextView()->InsertText( rNew, false );
+ GetTextView()->InsertText( rNew );
}
void ExtMultiLineEdit::SetAutoScroll( bool bAutoScroll )
diff --git a/svtools/source/filter/exportdialog.cxx b/svtools/source/filter/exportdialog.cxx
index 62eb286601ee..1c6a6a0695bc 100644
--- a/svtools/source/filter/exportdialog.cxx
+++ b/svtools/source/filter/exportdialog.cxx
@@ -877,7 +877,7 @@ static OUString ImpValueOfInKB( const sal_Int64& rVal )
fVal /= ( 1 << 10 );
fVal += 0.05;
OUStringBuffer aVal( OUString::number( fVal ) );
- sal_Int32 nX( OUString( aVal.getStr() ).indexOf( '.', 0 ) );
+ sal_Int32 nX( OUString( aVal.getStr() ).indexOf( '.' ) );
if ( nX > 0 )
aVal.setLength( nX + 2 );
return aVal.makeStringAndClear();
diff --git a/svtools/source/graphic/grfmgr.cxx b/svtools/source/graphic/grfmgr.cxx
index 0881c8f8cbfc..a36a3f80ddee 100644
--- a/svtools/source/graphic/grfmgr.cxx
+++ b/svtools/source/graphic/grfmgr.cxx
@@ -643,7 +643,7 @@ bool GraphicObject::StartAnimation( OutputDevice* pOut, const Point& rPt, const
bRet = true;
}
else
- bRet = Draw( pOut, rPt, rSz, &aAttr, GraphicManagerDrawFlags::STANDARD );
+ bRet = Draw( pOut, rPt, rSz, &aAttr );
}
return bRet;
diff --git a/svtools/source/graphic/grfmgr2.cxx b/svtools/source/graphic/grfmgr2.cxx
index e469805d803e..986f89414c05 100644
--- a/svtools/source/graphic/grfmgr2.cxx
+++ b/svtools/source/graphic/grfmgr2.cxx
@@ -1002,7 +1002,7 @@ bool GraphicManager::ImplCreateOutput( OutputDevice* pOutputDevice,
// OutDev adjustment if necessary
if( pOutputDevice->GetOutDevType() != OUTDEV_PRINTER && pOutputDevice->GetBitCount() <= 8 && aOutBmpEx.GetBitCount() >= 8 )
- aOutBmpEx.Dither( BmpDitherFlags::Matrix );
+ aOutBmpEx.Dither();
}
}
diff --git a/svtools/source/misc/embedtransfer.cxx b/svtools/source/misc/embedtransfer.cxx
index 2bff133bfcbf..31227b414458 100644
--- a/svtools/source/misc/embedtransfer.cxx
+++ b/svtools/source/misc/embedtransfer.cxx
@@ -105,7 +105,7 @@ bool SvEmbedTransferHelper::GetData( const css::datatransfer::DataFlavor& rFlavo
// TODO/LATER: Propbably the graphic should be copied here as well
// currently it is handled by the applications
utl::TempFile aTmp;
- aTmp.EnableKillingFile( true );
+ aTmp.EnableKillingFile();
uno::Reference < embed::XEmbedPersist > xPers( m_xObj, uno::UNO_QUERY );
if ( xPers.is() )
{
diff --git a/svtools/source/misc/langtab.cxx b/svtools/source/misc/langtab.cxx
index 7f9fdee29ead..fc8c7b8bcfdd 100644
--- a/svtools/source/misc/langtab.cxx
+++ b/svtools/source/misc/langtab.cxx
@@ -137,7 +137,7 @@ SvtLanguageTableImpl::~SvtLanguageTableImpl()
bool SvtLanguageTableImpl::HasType( const LanguageType eType ) const
{
- LanguageType eLang = MsLangId::getReplacementForObsoleteLanguage( eType, false);
+ LanguageType eLang = MsLangId::getReplacementForObsoleteLanguage( eType );
sal_uInt32 nPos = FindIndex( eLang );
return RESARRAY_INDEX_NOTFOUND != nPos && nPos < Count();
@@ -174,7 +174,7 @@ const OUString SvtLanguageTableImpl::GetString( const LanguageType eType, bool b
OUString SvtLanguageTable::GetLanguageString( const LanguageType eType )
{
- return theLanguageTable::get().GetString( eType, false );
+ return theLanguageTable::get().GetString( eType );
}
OUString SvtLanguageTable::GetLanguageString( const LanguageType eType, bool bUserInterfaceSelection )
diff --git a/svtools/source/misc/templatefoldercache.cxx b/svtools/source/misc/templatefoldercache.cxx
index 7aa342403081..4d7d9bec26d1 100644
--- a/svtools/source/misc/templatefoldercache.cxx
+++ b/svtools/source/misc/templatefoldercache.cxx
@@ -596,7 +596,7 @@ namespace svt
Reference< XDynamicResultSet > xDynResultSet;
::ucbhelper::Content aTemplateRoot( _rxRoot->getURL(), Reference< XCommandEnvironment >(), comphelper::getProcessComponentContext() );
- xDynResultSet = aTemplateRoot.createDynamicCursor( aContentProperties, ::ucbhelper::INCLUDE_FOLDERS_AND_DOCUMENTS );
+ xDynResultSet = aTemplateRoot.createDynamicCursor( aContentProperties );
if ( xDynResultSet.is() )
xResultSet = xDynResultSet->getStaticResultSet();
}
diff --git a/svtools/source/svhtml/parhtml.cxx b/svtools/source/svhtml/parhtml.cxx
index b9e228a849ea..3c53308f5e85 100644
--- a/svtools/source/svhtml/parhtml.cxx
+++ b/svtools/source/svhtml/parhtml.cxx
@@ -271,13 +271,13 @@ HTMLInputType HTMLOption::GetInputType() const
HTMLTableFrame HTMLOption::GetTableFrame() const
{
DBG_ASSERT( nToken==HTML_O_FRAME, "GetTableFrame: Option not FRAME" );
- return (HTMLTableFrame)GetEnum( aTableFrameOptEnums, HTML_TF_VOID );
+ return (HTMLTableFrame)GetEnum( aTableFrameOptEnums );
}
HTMLTableRules HTMLOption::GetTableRules() const
{
DBG_ASSERT( nToken==HTML_O_RULES, "GetTableRules: Option not RULES" );
- return (HTMLTableRules)GetEnum( aTableRulesOptEnums, HTML_TR_NONE );
+ return (HTMLTableRules)GetEnum( aTableRulesOptEnums );
}
HTMLParser::HTMLParser( SvStream& rIn, bool bReadNewDoc ) :
diff --git a/svtools/source/svrtf/parrtf.cxx b/svtools/source/svrtf/parrtf.cxx
index 602024e34c03..4254a71c246d 100644
--- a/svtools/source/svrtf/parrtf.cxx
+++ b/svtools/source/svrtf/parrtf.cxx
@@ -586,7 +586,7 @@ void SvRTFParser::Continue( int nToken )
// a unknown group ?
{
if( RTF_IGNOREFLAG != GetNextToken() )
- nToken = SkipToken( -1 );
+ nToken = SkipToken();
else if( RTF_UNKNOWNCONTROL != GetNextToken() )
nToken = SkipToken( -2 );
else
diff --git a/svtools/source/toolpanel/drawerlayouter.cxx b/svtools/source/toolpanel/drawerlayouter.cxx
index 84edff1f157e..a2042d81489a 100644
--- a/svtools/source/toolpanel/drawerlayouter.cxx
+++ b/svtools/source/toolpanel/drawerlayouter.cxx
@@ -137,7 +137,7 @@ namespace svt
Reference< XAccessible > xItemAccessible = pDrawer->GetAccessible( false );
if ( !xItemAccessible.is() )
{
- xItemAccessible = pDrawer->GetAccessible( true );
+ xItemAccessible = pDrawer->GetAccessible();
ENSURE_OR_RETURN( xItemAccessible.is(), "illegal accessible provided by the drawer implementation!", NULL );
OSL_VERIFY( ::comphelper::OAccessibleImplementationAccess::setAccessibleParent( xItemAccessible->getAccessibleContext(),
i_rParentAccessible ) );
diff --git a/svtools/source/toolpanel/tablayouter.cxx b/svtools/source/toolpanel/tablayouter.cxx
index 5c83f285bc99..154e7783c444 100644
--- a/svtools/source/toolpanel/tablayouter.cxx
+++ b/svtools/source/toolpanel/tablayouter.cxx
@@ -197,7 +197,7 @@ namespace svt
if ( lcl_checkDisposed( *m_pData ) )
return NULL;
- return m_pData->pTabBar->GetAccessible( true );
+ return m_pData->pTabBar->GetAccessible();
}
diff --git a/svtools/source/uno/popupwindowcontroller.cxx b/svtools/source/uno/popupwindowcontroller.cxx
index 1446885b51be..e6d2ac08f257 100644
--- a/svtools/source/uno/popupwindowcontroller.cxx
+++ b/svtools/source/uno/popupwindowcontroller.cxx
@@ -212,7 +212,7 @@ Reference< awt::XWindow > SAL_CALL PopupWindowController::createPopupWindow() th
vcl::Window* pWin = createPopupWindow( pItemWindow ? pItemWindow : pToolBox );
if( pWin )
{
- pWin->EnableDocking(true);
+ pWin->EnableDocking();
mxImpl->SetPopupWindow(pWin,pToolBox);
vcl::Window::GetDockingManager()->StartPopupMode( pToolBox, pWin,
FloatWinPopupFlags::GrabFocus |
diff --git a/svtools/source/uno/svtxgridcontrol.cxx b/svtools/source/uno/svtxgridcontrol.cxx
index e81c40860fc9..de5ac2750d3c 100644
--- a/svtools/source/uno/svtxgridcontrol.cxx
+++ b/svtools/source/uno/svtxgridcontrol.cxx
@@ -861,7 +861,7 @@ void SVTXGridControl::setEnable( sal_Bool bEnable ) throw(::com::sun::star::uno:
vcl::Window * pWindow = GetWindow();
if ( pWindow )
{
- pWindow->Enable( bEnable, true );
+ pWindow->Enable( bEnable );
pWindow->EnableInput( bEnable );
pWindow->Invalidate();
}
diff --git a/svtools/source/uno/treecontrolpeer.cxx b/svtools/source/uno/treecontrolpeer.cxx
index 4d02dd5508df..848222d4a60b 100644
--- a/svtools/source/uno/treecontrolpeer.cxx
+++ b/svtools/source/uno/treecontrolpeer.cxx
@@ -440,7 +440,7 @@ void TreeControlPeer::addNode( UnoTreeListBoxImpl& rTree, const Reference< XTree
{
if( xNode.is() )
{
- UnoTreeListEntry* pEntry = createEntry( xNode, pParentEntry, TREELIST_APPEND );
+ UnoTreeListEntry* pEntry = createEntry( xNode, pParentEntry );
const sal_Int32 nChildCount = xNode->getChildCount();
for( sal_Int32 nChild = 0; nChild < nChildCount; nChild++ )
addNode( rTree, xNode->getChildAt( nChild ), pEntry );
@@ -896,7 +896,7 @@ awt::Rectangle SAL_CALL TreeControlPeer::getNodeRect( const Reference< XTreeNode
SolarMutexGuard aGuard;
UnoTreeListBoxImpl& rTree = getTreeListBoxOrThrow();
- UnoTreeListEntry* pEntry = getEntry( i_Node, true );
+ UnoTreeListEntry* pEntry = getEntry( i_Node );
::Rectangle aEntryRect( rTree.GetFocusRect( pEntry, rTree.GetEntryPosition( pEntry ).Y() ) );
return VCLUnoHelper::ConvertToAWTRect( aEntryRect );
@@ -921,7 +921,7 @@ sal_Bool SAL_CALL TreeControlPeer::stopEditing() throw (RuntimeException, std::e
UnoTreeListBoxImpl& rTree = getTreeListBoxOrThrow();
if( rTree.IsEditingActive() )
{
- rTree.EndEditing(false);
+ rTree.EndEditing();
return sal_True;
}
else
@@ -937,7 +937,7 @@ void SAL_CALL TreeControlPeer::cancelEditing( ) throw (RuntimeException, std::e
SolarMutexGuard aGuard;
UnoTreeListBoxImpl& rTree = getTreeListBoxOrThrow();
- rTree.EndEditing(false);
+ rTree.EndEditing();
}
diff --git a/svtools/source/uno/wizard/wizardpagecontroller.cxx b/svtools/source/uno/wizard/wizardpagecontroller.cxx
index a28cfd219d33..f8f94b58ba6d 100644
--- a/svtools/source/uno/wizard/wizardpagecontroller.cxx
+++ b/svtools/source/uno/wizard/wizardpagecontroller.cxx
@@ -64,7 +64,7 @@ namespace svt { namespace uno
try
{
m_xWizardPage.set( m_xController->createPage(
- Reference< XWindow >( i_rParent.GetComponentInterface( true ), UNO_QUERY_THROW ),
+ Reference< XWindow >( i_rParent.GetComponentInterface(), UNO_QUERY_THROW ),
m_nPageId
), UNO_SET_THROW );