summaryrefslogtreecommitdiffstats
path: root/fpicker
diff options
context:
space:
mode:
authorCédric Bosdonnat <cedric.bosdonnat@free.fr>2012-07-11 16:15:00 +0200
committerCédric Bosdonnat <cedric.bosdonnat@free.fr>2012-07-11 17:03:12 +0200
commitd75061c7f676c011bb9710f0ad63fc69f4866c53 (patch)
treece241c24f114c111110c664513f0baa71ed74f4c /fpicker
parentRevert "WaE: logically last test always passes" (diff)
downloadcore-d75061c7f676c011bb9710f0ad63fc69f4866c53.tar.gz
core-d75061c7f676c011bb9710f0ad63fc69f4866c53.zip
fpicker: fixed delete button (dis)enabling
Change-Id: I94fff429507da5f9d3fa4b6fcdb33c600a7a5b5b
Diffstat (limited to 'fpicker')
-rw-r--r--fpicker/source/office/PlacesListBox.hxx7
-rw-r--r--fpicker/source/office/iodlg.cxx2
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 c461addefd73..b49bef260dfa 100644
--- a/fpicker/source/office/iodlg.cxx
+++ b/fpicker/source/office/iodlg.cxx
@@ -1973,8 +1973,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();
}
//-----------------------------------------------------------------------------