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 | e1b5567864cabc199a594b2376fb40b2288c36a1 (patch) | |
tree | 7588abb1fbe2280d56cb878934497f74fe7319ae /sfx2 | |
parent | 0a5c08ba021abe43f24ff89e3007048802834022 (diff) |
vcl120: #i115695# fix a stupid error
Diffstat (limited to 'sfx2')
-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 4c04ef0774e8..b91e8b4848ba 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; } } |