Commits

Anonymous committed 351e5f8

vcl120: #i115695# fix a stupid error

Comments (0)

Files changed (1)

sfx2/source/view/viewprn.cxx

     {
         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;
         }
     }