summaryrefslogtreecommitdiff
path: root/sc/source/ui/navipi/content.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/navipi/content.cxx')
-rw-r--r--sc/source/ui/navipi/content.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/ui/navipi/content.cxx b/sc/source/ui/navipi/content.cxx
index ec66b99e073b..a1dc66de7c38 100644
--- a/sc/source/ui/navipi/content.cxx
+++ b/sc/source/ui/navipi/content.cxx
@@ -1476,7 +1476,6 @@ bool ScContentTree::LoadFile( const OUString& rUrl )
if ( nPos != -1 )
aDocName = aDocName.copy(0, nPos); // only the name without #...
- bool bReturn = false;
OUString aURL = aDocName;
OUString aFilter, aOptions;
ScDocumentLoader aLoader( aURL, aFilter, aOptions );
@@ -1496,7 +1495,7 @@ bool ScContentTree::LoadFile( const OUString& rUrl )
// document is closed again by ScDocumentLoader in dtor
- return bReturn;
+ return false;
}
void ScContentTree::InitWindowBits( bool bButtons )