diff options
author | Nigel Hawkins <n.hawkins@gmx.com> | 2011-01-04 18:53:26 +0000 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2011-01-07 10:20:16 -0500 |
commit | cc3359be8037d92d19a8b4cd484f62534e31184c (patch) | |
tree | 2da70232f205475e4c006562d387efa94e10728f /sc/source/ui/docshell/docsh5.cxx | |
parent | 6f6402d6f97354cf8ecc73bd713714e3f783cb22 (diff) |
cppcheck: Remove unread variable in docsh5.cxx
Diffstat (limited to 'sc/source/ui/docshell/docsh5.cxx')
-rw-r--r-- | sc/source/ui/docshell/docsh5.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sc/source/ui/docshell/docsh5.cxx b/sc/source/ui/docshell/docsh5.cxx index 0996c317f1a5..2d6e91f3c3bf 100644 --- a/sc/source/ui/docshell/docsh5.cxx +++ b/sc/source/ui/docshell/docsh5.cxx @@ -949,7 +949,6 @@ BOOL ScDocShell::MoveTable( SCTAB nSrcTab, SCTAB nDestTab, BOOL bCopy, BOOL bRec BOOL bVbaEnabled = aDocument.IsInVBAMode(); if ( bVbaEnabled ) { - StarBASIC* pStarBASIC = GetBasic(); String aLibName( RTL_CONSTASCII_USTRINGPARAM( "Standard" ) ); Reference< XLibraryContainer > xLibContainer = GetBasicContainer(); Reference< XVBACompatibility > xVBACompat( xLibContainer, UNO_QUERY ); @@ -957,7 +956,6 @@ BOOL ScDocShell::MoveTable( SCTAB nSrcTab, SCTAB nDestTab, BOOL bCopy, BOOL bRec if ( xVBACompat.is() ) { aLibName = xVBACompat->getProjectName(); - pStarBASIC = GetBasicManager()->GetLib( aLibName ); } SCTAB nTabToUse = nDestTab; |