summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bridges/source/cpp_uno/gcc3_linux_s390/uno2cpp.cxx1
-rw-r--r--dtrans/source/cnttype/wbench/testcnttype.cxx2
-rw-r--r--sw/source/ui/utlui/uitool.cxx3
3 files changed, 1 insertions, 5 deletions
diff --git a/bridges/source/cpp_uno/gcc3_linux_s390/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_linux_s390/uno2cpp.cxx
index ddaf1f368413..2680ff460e71 100644
--- a/bridges/source/cpp_uno/gcc3_linux_s390/uno2cpp.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_s390/uno2cpp.cxx
@@ -516,7 +516,6 @@ void unoInterfaceProxyDispatch(
// is my surrogate
bridges::cpp_uno::shared::UnoInterfaceProxy * pThis
= static_cast< bridges::cpp_uno::shared::UnoInterfaceProxy *> (pUnoI);
- typelib_InterfaceTypeDescription * pTypeDescr = pThis->pTypeDescr;
switch (pMemberDescr->eTypeClass)
{
diff --git a/dtrans/source/cnttype/wbench/testcnttype.cxx b/dtrans/source/cnttype/wbench/testcnttype.cxx
index d6b1fe10b1f8..db98529f5aed 100644
--- a/dtrans/source/cnttype/wbench/testcnttype.cxx
+++ b/dtrans/source/cnttype/wbench/testcnttype.cxx
@@ -171,8 +171,6 @@ sal_Bool processCntTypesAndWriteResultIntoFile( char* fname, vector< string >& v
fseek( fstream, 0L, SEEK_SET );
vector< string >::iterator iter_end = vecData.end( );
- const char* pStr = NULL;
-
for ( vector< string >::iterator iter = vecData.begin( ); iter != iter_end; ++iter )
{
try
diff --git a/sw/source/ui/utlui/uitool.cxx b/sw/source/ui/utlui/uitool.cxx
index bef821dff6df..9c47e8502903 100644
--- a/sw/source/ui/utlui/uitool.cxx
+++ b/sw/source/ui/utlui/uitool.cxx
@@ -677,8 +677,7 @@ SwTwips GetTableWidth( SwFrmFmt* pFmt, SwTabCols& rCols, sal_uInt16 *pPercent,
{
if(pSh)
{
- const SwFrmFmt *pFlyFmt;
- if ( 0 == (pFlyFmt = pSh->GetFlyFrmFmt()) )
+ if ( 0 == pSh->GetFlyFrmFmt() )
{
nWidth = pSh->GetAnyCurRect(RECT_PAGE_PRT).Width();
}