summaryrefslogtreecommitdiff
path: root/unotools/source/ucbhelper/ucblockbytes.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'unotools/source/ucbhelper/ucblockbytes.cxx')
-rw-r--r--unotools/source/ucbhelper/ucblockbytes.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/unotools/source/ucbhelper/ucblockbytes.cxx b/unotools/source/ucbhelper/ucblockbytes.cxx
index 3f7731d99602..868100fe3cc3 100644
--- a/unotools/source/ucbhelper/ucblockbytes.cxx
+++ b/unotools/source/ucbhelper/ucblockbytes.cxx
@@ -705,7 +705,6 @@ static bool UCBOpenContentSync(
xListener);
}
- Any aResult;
bool bException(false);
bool bAborted(false);
bool bResultAchieved(false);
@@ -810,7 +809,6 @@ static bool UCBOpenContentSync(
case Moderator::ResultType::RESULT:
{
bResultAchieved = true;
- aResult = res.result;
break;
}
case Moderator::ResultType::COMMANDABORTED:
@@ -909,13 +907,12 @@ static bool UCBOpenContentSync_(
if ( xProps.is() )
xProps->addPropertiesChangeListener( Sequence< OUString >(), xListener );
- Any aResult;
bool bException = false;
bool bAborted = false;
try
{
- aResult = aContent.executeCommand( rArg.Name, rArg.Argument );
+ aContent.executeCommand( rArg.Name, rArg.Argument );
}
catch (const CommandAbortedException&)
{