diff options
-rw-r--r-- | vbahelper/source/vbahelper/vbahelper.cxx | 5 |
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(); |