diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-09-13 13:34:22 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-09-13 13:34:22 +0200 |
commit | 956cf66cda7b89838f0979cc12025d88757576f4 (patch) | |
tree | 1028b5203c4d97392a7a31cb84fb252b5b3673d8 | |
parent | a0184a7ee6df0484ef62c4d4b6d5acce6a129848 (diff) |
-Werror,-Wunused-value
Change-Id: I1c898a6b3547be0aae5e82cd095ecdcb92bba7ce
-rw-r--r-- | binfilter/bf_sc/source/ui/docshell/sc_docsh.cxx | 4 | ||||
-rw-r--r-- | binfilter/bf_sw/source/core/unocore/sw_unotbl.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/binfilter/bf_sc/source/ui/docshell/sc_docsh.cxx b/binfilter/bf_sc/source/ui/docshell/sc_docsh.cxx index 0441b17a4..d9cd6e6f2 100644 --- a/binfilter/bf_sc/source/ui/docshell/sc_docsh.cxx +++ b/binfilter/bf_sc/source/ui/docshell/sc_docsh.cxx @@ -412,7 +412,7 @@ static const sal_Char pFilterRtf[] = "Rich Text Format (StarCalc)"; /*N*/ { /*N*/ RTL_LOGFILE_CONTEXT_AUTHOR ( aLog, "sc", "nn93723", "ScDocShell::Load" ); /*N*/ -/*N*/ ScRefreshTimerProtector( aDocument.GetRefreshTimerControlAddress() ); +/*N*/ ScRefreshTimerProtector aProt( aDocument.GetRefreshTimerControlAddress() ); /*N*/ /*N*/ DBG_ASSERT( pStor, "Load without storage?" ); /*N*/ BOOL bXML = ( pStor->GetVersion() >= SOFFICE_FILEFORMAT_60 ); @@ -486,7 +486,7 @@ static const sal_Char pFilterRtf[] = "Rich Text Format (StarCalc)"; /*N*/ BOOL bRet = FALSE; // FALSE heisst Benutzerabbruch !! /*N*/ // bei Fehler: Fehler am Stream setzen!! /*N*/ -/*N*/ ScRefreshTimerProtector( aDocument.GetRefreshTimerControlAddress() ); +/*N*/ ScRefreshTimerProtector aProt( aDocument.GetRefreshTimerControlAddress() ); /*N*/ /*N*/ // ob nach dem Import optimale Spaltenbreiten gesetzt werden sollen /*N*/ BOOL bSetColWidths = FALSE; diff --git a/binfilter/bf_sw/source/core/unocore/sw_unotbl.cxx b/binfilter/bf_sw/source/core/unocore/sw_unotbl.cxx index 95cf3c8c2..7bd0149d4 100644 --- a/binfilter/bf_sw/source/core/unocore/sw_unotbl.cxx +++ b/binfilter/bf_sw/source/core/unocore/sw_unotbl.cxx @@ -2813,7 +2813,7 @@ void SwXTextTable::setPropertyValue(const OUString& rPropertyName, break; case FN_UNO_TABLE_COLUMN_SEPARATORS: { - UnoActionContext(pFmt->GetDoc()); + UnoActionContext aContext(pFmt->GetDoc()); lcl_SetTblSeparators(aValue, sal_False); } break; |