summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Lohmann [pl] <Philipp.Lohmann@Oracle.COM>2011-03-11 16:56:10 +0100
committerPhilipp Lohmann [pl] <Philipp.Lohmann@Oracle.COM>2011-03-11 16:56:10 +0100
commitd432394d36ba75e94697e0cc756c961254179019 (patch)
tree5c7766592abf47d5ce867b47b5d5aa4a15dea122
parentbd1d7b0b8d778e4633ba2c9ddf00d1f1e897570e (diff)
vcl120: #i115695# fix a stupid error
-rwxr-xr-xsfx2/source/view/viewprn.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/sfx2/source/view/viewprn.cxx b/sfx2/source/view/viewprn.cxx
index b38279737a..ec3aab66c0 100755
--- a/sfx2/source/view/viewprn.cxx
+++ b/sfx2/source/view/viewprn.cxx
@@ -625,7 +625,9 @@ void SfxViewShell::ExecPrint( const uno::Sequence < beans::PropertyValue >& rPro
{
if( pVal[i].Name.equalsAscii( "PrinterName" ) )
{
- aPrt.reset( new Printer( pVal[i].Name ) );
+ rtl::OUString aPrinterName;
+ pVal[i].Value >>= aPrinterName;
+ aPrt.reset( new Printer( aPrinterName ) );
break;
}
}