summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-10-07 16:12:26 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-10-07 16:35:35 +0200
commit10f5f6d480156bc528e774e8a934ffae88cc4da1 (patch)
treed617bfd92dc23a0f6a9491883c0d0a720e3db667 /sfx2
parent7f68a5b0f8ddcd7dd0afebb334f16f2d5b487bae (diff)
clang-analyzer-deadcode.DeadStores
Change-Id: Iaa340068ed1361e6bc0160ae9c44873c06085abf
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/doc/objstor.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/doc/objstor.cxx b/sfx2/source/doc/objstor.cxx
index 7727ffc409cc..507099443a94 100644
--- a/sfx2/source/doc/objstor.cxx
+++ b/sfx2/source/doc/objstor.cxx
@@ -3328,7 +3328,7 @@ bool StoragesOfUnknownMediaTypeAreCopied_Impl( const uno::Reference< embed::XSto
}
uno::Reference< beans::XPropertySet > xProps( xSubStorage, uno::UNO_QUERY_THROW );
- bGotMediaType = ( xProps->getPropertyValue( aMediaTypePropName ) >>= aMediaType );
+ xProps->getPropertyValue( aMediaTypePropName ) >>= aMediaType;
}
// TODO/LATER: there should be a way to detect whether an object with such a MediaType can exist