1. mst
  2. ooo340

Commits

Philipp Lohmann [pl]  committed 351e5f8

vcl120: #i115695# fix a stupid error

  • Participants
  • Parent commits 005f7b0
  • Branches default

Comments (0)

Files changed (1)

File sfx2/source/view/viewprn.cxx

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