loplugin:staticmethods
Change-Id: I701dfbe69380b5e4024fe55d0045c909bd4b607a
This commit is contained in:
@@ -186,9 +186,9 @@ bool PlacesListBox::EventNotify( NotifyEvent& rNEvt )
|
||||
|
||||
Image PlacesListBox::getEntryIcon( const PlacePtr& pPlace )
|
||||
{
|
||||
Image theImage = mpDlg->GetButtonImage( BMP_FILEDLG_PLACE_LOCAL );
|
||||
Image theImage = SvtFileDialog::GetButtonImage( BMP_FILEDLG_PLACE_LOCAL );
|
||||
if ( !pPlace->IsLocal( ) )
|
||||
theImage = mpDlg->GetButtonImage( BMP_FILEDLG_PLACE_REMOTE );
|
||||
theImage = SvtFileDialog::GetButtonImage( BMP_FILEDLG_PLACE_REMOTE );
|
||||
return theImage;
|
||||
}
|
||||
|
||||
|
@@ -74,7 +74,7 @@ class PlacesListBox : public Control
|
||||
|
||||
private:
|
||||
|
||||
Image getEntryIcon( const PlacePtr& pPlace );
|
||||
static Image getEntryIcon( const PlacePtr& pPlace );
|
||||
|
||||
DECL_LINK( Selection, SvTreeListBox*, void );
|
||||
DECL_LINK( DoubleClick, SvTreeListBox*, bool );
|
||||
|
@@ -2732,7 +2732,7 @@ IMPL_LINK_NOARG( SvtFileDialog, Split_Hdl, Splitter*, void )
|
||||
_pSplitter->SetPosPixel( Point( placeSize.Width(), _pSplitter->GetPosPixel().Y() ) );
|
||||
}
|
||||
|
||||
Image SvtFileDialog::GetButtonImage( sal_uInt16 _nButtonId ) const
|
||||
Image SvtFileDialog::GetButtonImage( sal_uInt16 _nButtonId )
|
||||
{
|
||||
return Image(BitmapEx(SvtResId(_nButtonId)));
|
||||
}
|
||||
|
@@ -237,7 +237,7 @@ public:
|
||||
inline void EraseDefaultExt( sal_Int32 _nIndex = 0 );
|
||||
inline const OUString& GetDefaultExt() const;
|
||||
|
||||
Image GetButtonImage( sal_uInt16 _nButtonId ) const;
|
||||
static Image GetButtonImage( sal_uInt16 _nButtonId );
|
||||
|
||||
bool ContentIsFolder( const OUString& rURL ) override { return m_aContent.isFolder( rURL ) && m_aContent.isValid(); }
|
||||
bool ContentHasParentFolder( const OUString& rURL );
|
||||
|
@@ -94,7 +94,7 @@ SvtFileDialogURLSelector::SvtFileDialogURLSelector( vcl::Window* _pParent, SvtFi
|
||||
,m_pMenu ( VclPtr<PopupMenu>::Create() )
|
||||
{
|
||||
SetStyle( GetStyle() | WB_NOPOINTERFOCUS | WB_RECTSTYLE | WB_SMALLSTYLE );
|
||||
SetModeImage( _pDlg->GetButtonImage( _nButtonId ) );
|
||||
SetModeImage( SvtFileDialog::GetButtonImage( _nButtonId ) );
|
||||
SetDelayMenu(true);
|
||||
SetDropDown(PushButtonDropdownStyle::Toolbox);
|
||||
}
|
||||
|
Reference in New Issue
Block a user