Kaydet (Commit) 495224ac authored tarafından Katarina Behrens's avatar Katarina Behrens Kaydeden (comit) Thorsten Behrens

screenshots: rPath argument is now unused

Change-Id: Icd3c66b83419f25b198937b05ede9b22f1344726
üst 14bb8b72
...@@ -107,7 +107,7 @@ private: ...@@ -107,7 +107,7 @@ private:
/// central methods: dialog creation and dumping to target directory (path) /// central methods: dialog creation and dumping to target directory (path)
VclAbstractDialog* createDialogByID(sal_uInt32 nID); VclAbstractDialog* createDialogByID(sal_uInt32 nID);
void dumpDialogToPath(VclAbstractDialog& rDlg, const OUString& rPath); void dumpDialogToPath(VclAbstractDialog& rDlg);
void saveScreenshot( VclAbstractDialog& rDlg); void saveScreenshot( VclAbstractDialog& rDlg);
public: public:
...@@ -644,7 +644,7 @@ void SdDialogsTest::saveScreenshot(VclAbstractDialog& rDlg) ...@@ -644,7 +644,7 @@ void SdDialogsTest::saveScreenshot(VclAbstractDialog& rDlg)
} }
} }
void SdDialogsTest::dumpDialogToPath(VclAbstractDialog& rDlg, const OUString& rPath) void SdDialogsTest::dumpDialogToPath(VclAbstractDialog& rDlg)
{ {
// for dumping, a lossless format is needed. It may be seen if the created data // for dumping, a lossless format is needed. It may be seen if the created data
...@@ -689,7 +689,7 @@ void SdDialogsTest::openAnyDialog() ...@@ -689,7 +689,7 @@ void SdDialogsTest::openAnyDialog()
if (pDlg) if (pDlg)
{ {
dumpDialogToPath(*pDlg, aTempTargetPath + "/" + OUString::number(a)); dumpDialogToPath(*pDlg);
delete pDlg; delete pDlg;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment