diff options
author | Armin Le Grand <Armin.Le.Grand@cib.de> | 2016-06-15 17:57:39 +0200 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2016-08-18 02:39:07 +0200 |
commit | 13a9727a6399df8df0b2719adb094c81e147a3e8 (patch) | |
tree | a6da2221808f08b901c0e1f2a042bcb09e3e97df /vcl | |
parent | 3fb0839da320bb2256b7a2dcf46363fc25bbfbc9 (diff) |
screenshots: added more virtualization/abstraction
TabPabe Identification to UI-File names. Isolated some data
initialization constructs. Added more dialogs to dump. Should dump on
all systems now
Change-Id: I7ee07309e0bf88064f789c13bcbff93c17370f77
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/abstdlg.cxx | 9 | ||||
-rw-r--r-- | vcl/source/window/dialog.cxx | 9 |
2 files changed, 10 insertions, 8 deletions
diff --git a/vcl/source/window/abstdlg.cxx b/vcl/source/window/abstdlg.cxx index ebed762f3542..260055ff8566 100644 --- a/vcl/source/window/abstdlg.cxx +++ b/vcl/source/window/abstdlg.cxx @@ -57,15 +57,16 @@ VclAbstractDialog::~VclAbstractDialog() { } -std::vector<OUString> VclAbstractDialog::getAllPageUIXMLDescriptions() const +std::vector<OString> VclAbstractDialog::getAllPageUIXMLDescriptions() const { // default has no pages - return std::vector<OUString>(); + return std::vector<OString>(); } -void VclAbstractDialog::selectPageByUIXMLDescription(const OUString& /*rUIXMLDescription*/) +bool VclAbstractDialog::selectPageByUIXMLDescription(const OString& /*rUIXMLDescription*/) { - // default cannot select a page + // default cannot select a page (which is okay, return true) + return true; } Bitmap VclAbstractDialog::createScreenshot() const diff --git a/vcl/source/window/dialog.cxx b/vcl/source/window/dialog.cxx index 837791ef012e..910d6ee2aba5 100644 --- a/vcl/source/window/dialog.cxx +++ b/vcl/source/window/dialog.cxx @@ -843,15 +843,16 @@ void Dialog::PostPaint(vcl::RenderContext& rRenderContext) mbPaintComplete = true; } -std::vector<OUString> Dialog::getAllPageUIXMLDescriptions() const +std::vector<OString> Dialog::getAllPageUIXMLDescriptions() const { // default has no pages - return std::vector<OUString>(); + return std::vector<OString>(); } -void Dialog::selectPageByUIXMLDescription(const OUString& /*rUIXMLDescription*/) +bool Dialog::selectPageByUIXMLDescription(const OString& /*rUIXMLDescription*/) { - // default cannot select anything + // default cannot select anything (which is okay, return true) + return true; } Bitmap Dialog::createScreenshot() |