diff options
author | Philipp Lohmann [pl] <Philipp.Lohmann@Oracle.COM> | 2011-03-11 16:56:10 +0100 |
---|---|---|
committer | Philipp Lohmann [pl] <Philipp.Lohmann@Oracle.COM> | 2011-03-11 16:56:10 +0100 |
commit | d432394d36ba75e94697e0cc756c961254179019 (patch) | |
tree | 5c7766592abf47d5ce867b47b5d5aa4a15dea122 | |
parent | bd1d7b0b8d778e4633ba2c9ddf00d1f1e897570e (diff) |
vcl120: #i115695# fix a stupid error
-rwxr-xr-x | sfx2/source/view/viewprn.cxx | 4 |
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; } } |