Clean up uses of Any::getValue() in vbahelper

Change-Id: Ie86b1fa0fab5f640ebad9a7fa87266a9787b3118
This commit is contained in:
Stephan Bergmann
2016-06-10 18:54:22 +02:00
parent 65731b68bd
commit b05ab09bcc

View File

@@ -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();