summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lotuswordpro/source/filter/xfilter/xfstylecont.cxx3
-rw-r--r--svtools/source/contnr/fileview.cxx5
-rw-r--r--sw/source/core/txtnode/txtedt.cxx3
3 files changed, 3 insertions, 8 deletions
diff --git a/lotuswordpro/source/filter/xfilter/xfstylecont.cxx b/lotuswordpro/source/filter/xfilter/xfstylecont.cxx
index 7c9a19e72a8e..51def4b9a6c9 100644
--- a/lotuswordpro/source/filter/xfilter/xfstylecont.cxx
+++ b/lotuswordpro/source/filter/xfilter/xfstylecont.cxx
@@ -71,9 +71,8 @@ XFStyleContainer::XFStyleContainer(const OUString& strStyleNamePrefix)
}
XFStyleContainer::XFStyleContainer(const XFStyleContainer& other):IXFObject(other),
- m_strStyleNamePrefix(other.m_strStyleNamePrefix)
+ m_aStyles(other.m_aStyles), m_strStyleNamePrefix(other.m_strStyleNamePrefix)
{
- this->m_aStyles = other.m_aStyles;
}
XFStyleContainer& XFStyleContainer::operator=(const XFStyleContainer& other)
diff --git a/svtools/source/contnr/fileview.cxx b/svtools/source/contnr/fileview.cxx
index 827e9865ab44..7a99e67817f0 100644
--- a/svtools/source/contnr/fileview.cxx
+++ b/svtools/source/contnr/fileview.cxx
@@ -1036,11 +1036,10 @@ void ViewTabListBox_Impl::DoQuickSearch( const sal_Unicode& rChar )
OUString aLastText = maQuickSearchText;
sal_uInt32 aLastPos = mnSearchIndex;
- sal_Bool bFound = sal_False;
maQuickSearchText += OUString(rChar).toAsciiLowerCase();
- bFound = mpParent->SearchNextEntry( mnSearchIndex, maQuickSearchText, sal_False );
+ sal_Bool bFound = mpParent->SearchNextEntry( mnSearchIndex, maQuickSearchText, sal_False );
if ( !bFound && ( aLastText.getLength() == 1 ) &&
( aLastText == OUString(rChar) ) )
@@ -1060,8 +1059,6 @@ void ViewTabListBox_Impl::DoQuickSearch( const sal_Unicode& rChar )
SetCurEntry( pEntry );
MakeVisible( pEntry );
}
- else
- bFound = sal_False;
}
maResetQuickSearch.Start();
diff --git a/sw/source/core/txtnode/txtedt.cxx b/sw/source/core/txtnode/txtedt.cxx
index 38b52f597df2..fac69fec4810 100644
--- a/sw/source/core/txtnode/txtedt.cxx
+++ b/sw/source/core/txtnode/txtedt.cxx
@@ -1281,8 +1281,7 @@ SwRect SwTxtFrm::_AutoSpell( const SwCntntNode* pActNode, const SwViewOption& rV
// within the word
LanguageType eActLang = aScanner.GetCurrentLanguage();
- sal_Bool bSpell = sal_True;
- bSpell = xSpell.is() ? xSpell->hasLanguage( eActLang ) : sal_False;
+ sal_Bool bSpell = xSpell.is() ? xSpell->hasLanguage( eActLang ) : sal_False;
if( bSpell && rWord.Len() > 0 )
{
// check for: bAlter => xHyphWord.is()