diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2011-05-17 11:27:07 +0900 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2011-05-18 14:51:25 -0400 |
commit | 966470ee35806de2e92e218da584d56f05c8e4f3 (patch) | |
tree | 7e574aed1e9535be6c96dacb33ae811761c45d6a /sc/source/ui/view/viewfun2.cxx | |
parent | 99e036df6506990b0a417f41f3c4d85a28f48b96 (diff) |
fdo#34072
replace content in unprotected cells, even if the sheet is protected
Diffstat (limited to 'sc/source/ui/view/viewfun2.cxx')
-rw-r--r-- | sc/source/ui/view/viewfun2.cxx | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/sc/source/ui/view/viewfun2.cxx b/sc/source/ui/view/viewfun2.cxx index 17bf069f274d..d2dfad0ab766 100644 --- a/sc/source/ui/view/viewfun2.cxx +++ b/sc/source/ui/view/viewfun2.cxx @@ -1632,22 +1632,6 @@ void ScViewFunc::SearchAndReplace( const SvxSearchItem* pSearchItem, } } - if ( nCommand == SVX_SEARCHCMD_REPLACE - || nCommand == SVX_SEARCHCMD_REPLACE_ALL ) - { - for ( SCTAB j = nStartTab; j <= nEndTab; j++ ) - { - if ( (bAllTables || rMark.GetTableSelect( j )) && - pDoc->IsTabProtected( j ) ) - { - if ( pOldSelectedTables ) - delete [] pOldSelectedTables; - ErrorMessage(STR_PROTECTIONERR); - return; - } - } - } - if ( nCommand == SVX_SEARCHCMD_FIND || nCommand == SVX_SEARCHCMD_FIND_ALL) bAddUndo = false; |