summaryrefslogtreecommitdiffstats
path: root/sfx2
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
commite1b5567864cabc199a594b2376fb40b2288c36a1 (patch)
tree7588abb1fbe2280d56cb878934497f74fe7319ae /sfx2
parentvcl120: rebase to DEV300m102 (diff)
downloadcore-e1b5567864cabc199a594b2376fb40b2288c36a1.tar.gz
core-e1b5567864cabc199a594b2376fb40b2288c36a1.zip
vcl120: #i115695# fix a stupid error
Diffstat (limited to 'sfx2')
-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 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;
}
}