"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "vcl/source/gdi/print3.cxx" between
libreoffice-7.1.5.1.tar.xz and libreoffice-7.1.5.2.tar.xz

About: LibreOffice source code (core). "Fresh" packages (pre-release version).

print3.cxx  (libreoffice-7.1.5.1.tar.xz):print3.cxx  (libreoffice-7.1.5.2.tar.xz)
skipping to change at line 782 skipping to change at line 782
const VclPtr<Printer>& PrinterController::getPrinter() const const VclPtr<Printer>& PrinterController::getPrinter() const
{ {
return mpImplData->mxPrinter; return mpImplData->mxPrinter;
} }
weld::Window* PrinterController::getWindow() const weld::Window* PrinterController::getWindow() const
{ {
return mpImplData->mpWindow; return mpImplData->mpWindow;
} }
void PrinterController::dialogsParentClosing()
{
mpImplData->mpWindow = nullptr;
if (mpImplData->mxProgress)
{
// close the dialog without doing anything, just get rid of it
mpImplData->mxProgress->response(RET_OK);
mpImplData->mxProgress.reset();
}
}
void PrinterController::setPrinter( const VclPtr<Printer>& i_rPrinter ) void PrinterController::setPrinter( const VclPtr<Printer>& i_rPrinter )
{ {
VclPtr<Printer> xPrinter = mpImplData->mxPrinter; VclPtr<Printer> xPrinter = mpImplData->mxPrinter;
Size aPaperSize; // Save current paper size Size aPaperSize; // Save current paper size
Orientation eOrientation = Orientation::Portrait; // Save current paper orie ntation Orientation eOrientation = Orientation::Portrait; // Save current paper orie ntation
bool bSavedSizeOrientation = false; bool bSavedSizeOrientation = false;
// #tdf 126744 Transfer paper size and orientation settings to newly selecte d printer // #tdf 126744 Transfer paper size and orientation settings to newly selecte d printer
if ( xPrinter ) if ( xPrinter )
 End of changes. 1 change blocks. 
0 lines changed or deleted 11 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)