diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-11-14 21:02:07 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-11-14 21:02:40 +0100 |
commit | ab5d1fbfb4956ec431dbceb6b4cc65f7b12e5c5f (patch) | |
tree | 9a8a9a87526b4da881a364dd557ea9002e6a6b5b /sw | |
parent | added import test for CONFIDENCE.NORM and CONFIDENCE.T, fdo#71350 (diff) | |
download | core-ab5d1fbfb4956ec431dbceb6b4cc65f7b12e5c5f.tar.gz core-ab5d1fbfb4956ec431dbceb6b4cc65f7b12e5c5f.zip |
SAL_WARN_UNUSED com::sun::star::uno::Any
Change-Id: I9058044d13f696e07667dce706f6c311af6dbea0
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/filter/ww8/ww8par.cxx | 1 | ||||
-rw-r--r-- | sw/source/ui/lingu/hhcwrp.cxx | 4 | ||||
-rw-r--r-- | sw/source/ui/uiview/view.cxx | 1 | ||||
-rw-r--r-- | sw/source/ui/uno/unotxdoc.cxx | 1 |
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; |