summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dtrans/source/win32/clipb/MtaOleClipb.cxx4
-rw-r--r--dtrans/source/win32/dtobj/FetcList.cxx3
2 files changed, 2 insertions, 5 deletions
diff --git a/dtrans/source/win32/clipb/MtaOleClipb.cxx b/dtrans/source/win32/clipb/MtaOleClipb.cxx
index 6c8ec203295f..aa7681267129 100644
--- a/dtrans/source/win32/clipb/MtaOleClipb.cxx
+++ b/dtrans/source/win32/clipb/MtaOleClipb.cxx
@@ -427,8 +427,6 @@ bool CMtaOleClipboard::registerClipViewer( LPFNC_CLIPVIEWER_CALLBACK_t pfncClipV
return false;
}
- bool bRet = false;
-
OSL_ENSURE( GetCurrentThreadId( ) != m_uOleThreadId, "registerClipViewer from within the OleThread called" );
MsgCtx aMsgCtx;
@@ -439,7 +437,7 @@ bool CMtaOleClipboard::registerClipViewer( LPFNC_CLIPVIEWER_CALLBACK_t pfncClipV
aMsgCtx.aCondition.wait( /* infinite */ );
- return bRet;
+ return false;
}
// register a clipboard viewer
diff --git a/dtrans/source/win32/dtobj/FetcList.cxx b/dtrans/source/win32/dtobj/FetcList.cxx
index c5744730323a..e26ceeac0072 100644
--- a/dtrans/source/win32/dtobj/FetcList.cxx
+++ b/dtrans/source/win32/dtobj/FetcList.cxx
@@ -214,9 +214,8 @@ void SAL_CALL CFormatRegistrar::RegisterFormats(
aFormatEtcContainer.addFormatEtc( fetc );
// and HTML Format
- OUString htmlFormat( "HTML Format" );
aFormatEtcContainer.addFormatEtc(
- CDataFormatTranslator::getFormatEtcForClipformatName( htmlFormat ) );
+ CDataFormatTranslator::getFormatEtcForClipformatName( "HTML Format" ) );
}
}
}