summaryrefslogtreecommitdiff
path: root/vbahelper
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-06-10 18:54:22 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-06-10 18:54:22 +0200
commitb05ab09bccacc8e23685c455e24ab64cbf6e7ae3 (patch)
tree7659f51a7b99e323547cd30a8f192810b71a4676 /vbahelper
parent65731b68bdc67d5be1b459eea7919ec6ca26c4bc (diff)
Clean up uses of Any::getValue() in vbahelper
Change-Id: Ie86b1fa0fab5f640ebad9a7fa87266a9787b3118
Diffstat (limited to 'vbahelper')
-rw-r--r--vbahelper/source/vbahelper/vbahelper.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/vbahelper/source/vbahelper/vbahelper.cxx b/vbahelper/source/vbahelper/vbahelper.cxx
index 884a16740e3d..e0456ea6402f 100644
--- a/vbahelper/source/vbahelper/vbahelper.cxx
+++ b/vbahelper/source/vbahelper/vbahelper.cxx
@@ -362,10 +362,7 @@ void PrintOutHelper( SfxViewShell* pViewShell, const uno::Any& From, const uno::
sRange += OUString::number( nTo );
}
- if ( PrToFileName.getValue() )
- {
- PrToFileName >>= sFileName;
- }
+ PrToFileName >>= sFileName;
SfxViewFrame* pViewFrame = nullptr;
if ( pViewShell )
pViewFrame = pViewShell->GetViewFrame();