summaryrefslogtreecommitdiffstats
path: root/sw
diff options
context:
space:
mode:
Diffstat (limited to 'sw')
-rw-r--r--sw/source/filter/ww8/ww8par.cxx1
-rw-r--r--sw/source/ui/lingu/hhcwrp.cxx4
-rw-r--r--sw/source/ui/uiview/view.cxx1
-rw-r--r--sw/source/ui/uno/unotxdoc.cxx1
4 files changed, 1 insertions, 6 deletions
diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx
index 4eedc95aca35..50290c91d8c5 100644
--- a/sw/source/filter/ww8/ww8par.cxx
+++ b/sw/source/filter/ww8/ww8par.cxx
@@ -4582,7 +4582,6 @@ void SwWW8ImplReader::ReadDocVars()
for(size_t i=0; i<aDocVarStrings.size(); i++)
{
- uno::Any aDefaultValue;
const OUString &rName = aDocVarStrings[i];
uno::Any aValue;
aValue <<= OUString(aDocValueStrings[i]);
diff --git a/sw/source/ui/lingu/hhcwrp.cxx b/sw/source/ui/lingu/hhcwrp.cxx
index b53f2d101c3c..8db9eb815375 100644
--- a/sw/source/ui/lingu/hhcwrp.cxx
+++ b/sw/source/ui/lingu/hhcwrp.cxx
@@ -734,9 +734,7 @@ bool SwHHCWrapper::ConvContinue_impl( SwConversionArgs *pConversionArgs )
bool bProgress = !m_bIsDrawObj && !m_bIsSelection;
pConversionArgs->aConvText = OUString();
pConversionArgs->nConvTextLang = LANGUAGE_NONE;
- uno::Any aRet = bProgress ?
- m_pView->GetWrtShell().SpellContinue( &m_nPageCount, &m_nPageStart, pConversionArgs ) :
- m_pView->GetWrtShell().SpellContinue( &m_nPageCount, NULL, pConversionArgs );
+ m_pView->GetWrtShell().SpellContinue( &m_nPageCount, bProgress ? &m_nPageStart : NULL, pConversionArgs );
return !pConversionArgs->aConvText.isEmpty();
}
diff --git a/sw/source/ui/uiview/view.cxx b/sw/source/ui/uiview/view.cxx
index 7e783ba91647..c7930b8c1291 100644
--- a/sw/source/ui/uiview/view.cxx
+++ b/sw/source/ui/uiview/view.cxx
@@ -1471,7 +1471,6 @@ void SwView::WriteUserDataSequence ( uno::Sequence < beans::PropertyValue >& rSe
{
const SwRect& rRect = m_pWrtShell->GetCharRect();
const Rectangle& rVis = GetVisArea();
- Any aAny;
rSequence.realloc ( NUM_VIEW_SETTINGS );
sal_Int16 nIndex = 0;
diff --git a/sw/source/ui/uno/unotxdoc.cxx b/sw/source/ui/uno/unotxdoc.cxx
index b9dc0f0a1400..d14009bcc271 100644
--- a/sw/source/ui/uno/unotxdoc.cxx
+++ b/sw/source/ui/uno/unotxdoc.cxx
@@ -2278,7 +2278,6 @@ PropertyState SAL_CALL SwXTextDocument::getPropertyState( const OUString& rPrope
if(!pEntry)
throw UnknownPropertyException();
- Any aAny;
switch(pEntry->nWID)
{
case 0:default:break;