diff options
author | Cédric Bosdonnat <cedric.bosdonnat@free.fr> | 2012-07-11 16:15:00 +0200 |
---|---|---|
committer | Cédric Bosdonnat <cedric.bosdonnat@free.fr> | 2012-07-11 17:04:16 +0200 |
commit | 0b076591e7b44b2dd86e8e42fb1efbb267379468 (patch) | |
tree | 619488456b560f55ee24dcd715e1ca338e7f472d /fpicker | |
parent | ce9e4684a339af54f4dd3ba74de122f0f8493c23 (diff) |
fpicker: fixed delete button (dis)enabling
Change-Id: I94fff429507da5f9d3fa4b6fcdb33c600a7a5b5b
Diffstat (limited to 'fpicker')
-rw-r--r-- | fpicker/source/office/PlacesListBox.hxx | 7 | ||||
-rw-r--r-- | fpicker/source/office/iodlg.cxx | 2 |
2 files changed, 5 insertions, 4 deletions
diff --git a/fpicker/source/office/PlacesListBox.hxx b/fpicker/source/office/PlacesListBox.hxx index 49dc83e07788..26daca473fea 100644 --- a/fpicker/source/office/PlacesListBox.hxx +++ b/fpicker/source/office/PlacesListBox.hxx @@ -48,14 +48,17 @@ class Place public: - Place( rtl::OUString sName, rtl::OUString sUrl, bool bEditable = false) : + Place( rtl::OUString sName, rtl::OUString sUrl, bool bEditable = false ) : msName( sName ), maUrl( sUrl ), mbEditable( bEditable ) {}; ~Place( ) {}; - Place( const Place& rCopy ) : msName( rCopy.msName ), maUrl( rCopy.maUrl ) { }; + Place( const Place& rCopy ) : + msName( rCopy.msName ), + maUrl( rCopy.maUrl ), + mbEditable( rCopy.mbEditable ) { }; void SetName(const rtl::OUString& aName ) { msName = aName; } void SetUrl(const rtl::OUString& aUrl ) { maUrl.SetURL( aUrl ); } diff --git a/fpicker/source/office/iodlg.cxx b/fpicker/source/office/iodlg.cxx index cc57c5bc7565..b68edbe0b422 100644 --- a/fpicker/source/office/iodlg.cxx +++ b/fpicker/source/office/iodlg.cxx @@ -1982,8 +1982,6 @@ void SvtFileDialog::onAsyncOperationFinished() _pImp->_pEdFileName->GrabFocus(); // (if m_bInExecuteAsync is true, then the operation was finished within the minium wait time, // and to the user, the operation appears to be synchronous) - - _pImp->_pBtnRemovePlace->Disable(); } //----------------------------------------------------------------------------- |