summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--binfilter/bf_sc/source/ui/docshell/sc_docsh.cxx4
-rw-r--r--binfilter/bf_sw/source/core/unocore/sw_unotbl.cxx2
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;