Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
8cfa3f4b
Kaydet (Commit)
8cfa3f4b
authored
Kas 10, 2016
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
'make screenshot' use-after-free fixes
Change-Id: I4302d0d767a1bf50fd34a78e9aa0ad6d6b0c7a22
üst
d543b4df
Show whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
40 additions
and
41 deletions
+40
-41
basctl-dialogs-test.cxx
basctl/qa/unit/basctl-dialogs-test.cxx
+2
-2
chart2-dialogs-test.cxx
chart2/qa/unit/chart2-dialogs-test.cxx
+2
-2
cui-dialogs-test.cxx
cui/qa/unit/cui-dialogs-test.cxx
+2
-2
dbaccess-dialogs-test.cxx
dbaccess/qa/unit/dbaccess-dialogs-test.cxx
+2
-2
desktop-dialogs-test.cxx
desktop/qa/unit/desktop-dialogs-test.cxx
+2
-2
filter-dialogs-test.cxx
filter/qa/unit/filter-dialogs-test.cxx
+2
-2
screenshot_test.hxx
include/test/screenshot_test.hxx
+2
-2
reportdesign-dialogs-test.cxx
reportdesign/qa/unit/reportdesign-dialogs-test.cxx
+2
-2
screenshots.cxx
sc/qa/unit/screenshots/screenshots.cxx
+3
-3
dialogs-test.cxx
sd/qa/unit/dialogs-test.cxx
+3
-3
sfx2-dialogs-test.cxx
sfx2/qa/unit/sfx2-dialogs-test.cxx
+2
-2
starmath-dialogs-test.cxx
starmath/qa/unit/starmath-dialogs-test.cxx
+2
-2
svtools-dialogs-test.cxx
svtools/qa/unit/svtools-dialogs-test.cxx
+2
-2
svx-dialogs-test.cxx
svx/qa/unit/svx-dialogs-test.cxx
+2
-2
sw-dialogs-test.cxx
sw/qa/unit/sw-dialogs-test.cxx
+2
-2
screenshot_test.cxx
test/source/screenshot_test.cxx
+2
-3
uui-dialogs-test.cxx
uui/qa/unit/uui-dialogs-test.cxx
+2
-2
vcl-dialogs-test.cxx
vcl/qa/unit/vcl-dialogs-test.cxx
+2
-2
xmlsecurity-dialogs-test.cxx
xmlsecurity/qa/unit/xmlsecurity-dialogs-test.cxx
+2
-2
No files found.
basctl/qa/unit/basctl-dialogs-test.cxx
Dosyayı görüntüle @
8cfa3f4b
...
@@ -26,7 +26,7 @@ private:
...
@@ -26,7 +26,7 @@ private:
/// dialog creation for known dialogs by ID. Has to be implemented for
/// dialog creation for known dialogs by ID. Has to be implemented for
/// each registered known dialog
/// each registered known dialog
virtual
Vcl
AbstractDialog
*
createDialogByID
(
sal_uInt32
nID
)
override
;
virtual
Vcl
Ptr
<
VclAbstractDialog
>
createDialogByID
(
sal_uInt32
nID
)
override
;
public
:
public
:
BasctlDialogsTest
();
BasctlDialogsTest
();
...
@@ -53,7 +53,7 @@ void BasctlDialogsTest::registerKnownDialogsByID(mapType& /*rKnownDialogs*/)
...
@@ -53,7 +53,7 @@ void BasctlDialogsTest::registerKnownDialogsByID(mapType& /*rKnownDialogs*/)
// fill map of known dilogs
// fill map of known dilogs
}
}
Vcl
AbstractDialog
*
BasctlDialogsTest
::
createDialogByID
(
sal_uInt32
/*nID*/
)
Vcl
Ptr
<
VclAbstractDialog
>
BasctlDialogsTest
::
createDialogByID
(
sal_uInt32
/*nID*/
)
{
{
return
nullptr
;
return
nullptr
;
}
}
...
...
chart2/qa/unit/chart2-dialogs-test.cxx
Dosyayı görüntüle @
8cfa3f4b
...
@@ -26,7 +26,7 @@ private:
...
@@ -26,7 +26,7 @@ private:
/// dialog creation for known dialogs by ID. Has to be implemented for
/// dialog creation for known dialogs by ID. Has to be implemented for
/// each registered known dialog
/// each registered known dialog
virtual
Vcl
AbstractDialog
*
createDialogByID
(
sal_uInt32
nID
)
override
;
virtual
Vcl
Ptr
<
VclAbstractDialog
>
createDialogByID
(
sal_uInt32
nID
)
override
;
public
:
public
:
Chart2DialogsTest
();
Chart2DialogsTest
();
...
@@ -53,7 +53,7 @@ void Chart2DialogsTest::registerKnownDialogsByID(mapType& /*rKnownDialogs*/)
...
@@ -53,7 +53,7 @@ void Chart2DialogsTest::registerKnownDialogsByID(mapType& /*rKnownDialogs*/)
// fill map of known dilogs
// fill map of known dilogs
}
}
Vcl
AbstractDialog
*
Chart2DialogsTest
::
createDialogByID
(
sal_uInt32
/*nID*/
)
Vcl
Ptr
<
VclAbstractDialog
>
Chart2DialogsTest
::
createDialogByID
(
sal_uInt32
/*nID*/
)
{
{
return
nullptr
;
return
nullptr
;
}
}
...
...
cui/qa/unit/cui-dialogs-test.cxx
Dosyayı görüntüle @
8cfa3f4b
...
@@ -26,7 +26,7 @@ private:
...
@@ -26,7 +26,7 @@ private:
/// dialog creation for known dialogs by ID. Has to be implemented for
/// dialog creation for known dialogs by ID. Has to be implemented for
/// each registered known dialog
/// each registered known dialog
virtual
Vcl
AbstractDialog
*
createDialogByID
(
sal_uInt32
nID
)
override
;
virtual
Vcl
Ptr
<
VclAbstractDialog
>
createDialogByID
(
sal_uInt32
nID
)
override
;
public
:
public
:
CuiDialogsTest
();
CuiDialogsTest
();
...
@@ -53,7 +53,7 @@ void CuiDialogsTest::registerKnownDialogsByID(mapType& /*rKnownDialogs*/)
...
@@ -53,7 +53,7 @@ void CuiDialogsTest::registerKnownDialogsByID(mapType& /*rKnownDialogs*/)
// fill map of known dilogs
// fill map of known dilogs
}
}
Vcl
AbstractDialog
*
CuiDialogsTest
::
createDialogByID
(
sal_uInt32
/*nID*/
)
Vcl
Ptr
<
VclAbstractDialog
>
CuiDialogsTest
::
createDialogByID
(
sal_uInt32
/*nID*/
)
{
{
return
nullptr
;
return
nullptr
;
}
}
...
...
dbaccess/qa/unit/dbaccess-dialogs-test.cxx
Dosyayı görüntüle @
8cfa3f4b
...
@@ -26,7 +26,7 @@ private:
...
@@ -26,7 +26,7 @@ private:
/// dialog creation for known dialogs by ID. Has to be implemented for
/// dialog creation for known dialogs by ID. Has to be implemented for
/// each registered known dialog
/// each registered known dialog
virtual
Vcl
AbstractDialog
*
createDialogByID
(
sal_uInt32
nID
)
override
;
virtual
Vcl
Ptr
<
VclAbstractDialog
>
createDialogByID
(
sal_uInt32
nID
)
override
;
public
:
public
:
DbaccessDialogsTest
();
DbaccessDialogsTest
();
...
@@ -53,7 +53,7 @@ void DbaccessDialogsTest::registerKnownDialogsByID(mapType& /*rKnownDialogs*/)
...
@@ -53,7 +53,7 @@ void DbaccessDialogsTest::registerKnownDialogsByID(mapType& /*rKnownDialogs*/)
// fill map of known dilogs
// fill map of known dilogs
}
}
Vcl
AbstractDialog
*
DbaccessDialogsTest
::
createDialogByID
(
sal_uInt32
/*nID*/
)
Vcl
Ptr
<
VclAbstractDialog
>
DbaccessDialogsTest
::
createDialogByID
(
sal_uInt32
/*nID*/
)
{
{
return
nullptr
;
return
nullptr
;
}
}
...
...
desktop/qa/unit/desktop-dialogs-test.cxx
Dosyayı görüntüle @
8cfa3f4b
...
@@ -26,7 +26,7 @@ private:
...
@@ -26,7 +26,7 @@ private:
/// dialog creation for known dialogs by ID. Has to be implemented for
/// dialog creation for known dialogs by ID. Has to be implemented for
/// each registered known dialog
/// each registered known dialog
virtual
Vcl
AbstractDialog
*
createDialogByID
(
sal_uInt32
nID
)
override
;
virtual
Vcl
Ptr
<
VclAbstractDialog
>
createDialogByID
(
sal_uInt32
nID
)
override
;
public
:
public
:
DesktopDialogsTest
();
DesktopDialogsTest
();
...
@@ -53,7 +53,7 @@ void DesktopDialogsTest::registerKnownDialogsByID(mapType& /*rKnownDialogs*/)
...
@@ -53,7 +53,7 @@ void DesktopDialogsTest::registerKnownDialogsByID(mapType& /*rKnownDialogs*/)
// fill map of known dilogs
// fill map of known dilogs
}
}
Vcl
AbstractDialog
*
DesktopDialogsTest
::
createDialogByID
(
sal_uInt32
/*nID*/
)
Vcl
Ptr
<
VclAbstractDialog
>
DesktopDialogsTest
::
createDialogByID
(
sal_uInt32
/*nID*/
)
{
{
return
nullptr
;
return
nullptr
;
}
}
...
...
filter/qa/unit/filter-dialogs-test.cxx
Dosyayı görüntüle @
8cfa3f4b
...
@@ -26,7 +26,7 @@ private:
...
@@ -26,7 +26,7 @@ private:
/// dialog creation for known dialogs by ID. Has to be implemented for
/// dialog creation for known dialogs by ID. Has to be implemented for
/// each registered known dialog
/// each registered known dialog
virtual
Vcl
AbstractDialog
*
createDialogByID
(
sal_uInt32
nID
)
override
;
virtual
Vcl
Ptr
<
VclAbstractDialog
>
createDialogByID
(
sal_uInt32
nID
)
override
;
public
:
public
:
FilterDialogsTest
();
FilterDialogsTest
();
...
@@ -53,7 +53,7 @@ void FilterDialogsTest::registerKnownDialogsByID(mapType& /*rKnownDialogs*/)
...
@@ -53,7 +53,7 @@ void FilterDialogsTest::registerKnownDialogsByID(mapType& /*rKnownDialogs*/)
// fill map of known dilogs
// fill map of known dilogs
}
}
Vcl
AbstractDialog
*
FilterDialogsTest
::
createDialogByID
(
sal_uInt32
/*nID*/
)
Vcl
Ptr
<
VclAbstractDialog
>
FilterDialogsTest
::
createDialogByID
(
sal_uInt32
/*nID*/
)
{
{
return
nullptr
;
return
nullptr
;
}
}
...
...
include/test/screenshot_test.hxx
Dosyayı görüntüle @
8cfa3f4b
...
@@ -42,7 +42,7 @@ private:
...
@@ -42,7 +42,7 @@ private:
/// dialog creation for known dialogs by ID. Has to be implemented for
/// dialog creation for known dialogs by ID. Has to be implemented for
/// each registered known dialog
/// each registered known dialog
virtual
Vcl
AbstractDialog
*
createDialogByID
(
sal_uInt32
nID
)
=
0
;
virtual
Vcl
Ptr
<
VclAbstractDialog
>
createDialogByID
(
sal_uInt32
nID
)
=
0
;
public
:
public
:
ScreenshotTest
();
ScreenshotTest
();
...
@@ -53,7 +53,7 @@ public:
...
@@ -53,7 +53,7 @@ public:
/// Dialog creation for known dialogs by Name (path and UIXMLDescription, *.ui file).
/// Dialog creation for known dialogs by Name (path and UIXMLDescription, *.ui file).
/// This uses maKnownDialogs to check if known, and if so, calls createDialogByID
/// This uses maKnownDialogs to check if known, and if so, calls createDialogByID
/// with the ID from the map
/// with the ID from the map
Vcl
AbstractDialog
*
createDialogByName
(
const
OString
&
rName
);
Vcl
Ptr
<
VclAbstractDialog
>
createDialogByName
(
const
OString
&
rName
);
/// version for AbstractDialogs, the ones created in AbstractDialogFactories
/// version for AbstractDialogs, the ones created in AbstractDialogFactories
void
dumpDialogToPath
(
VclAbstractDialog
&
rDialog
);
void
dumpDialogToPath
(
VclAbstractDialog
&
rDialog
);
...
...
reportdesign/qa/unit/reportdesign-dialogs-test.cxx
Dosyayı görüntüle @
8cfa3f4b
...
@@ -26,7 +26,7 @@ private:
...
@@ -26,7 +26,7 @@ private:
/// dialog creation for known dialogs by ID. Has to be implemented for
/// dialog creation for known dialogs by ID. Has to be implemented for
/// each registered known dialog
/// each registered known dialog
virtual
Vcl
AbstractDialog
*
createDialogByID
(
sal_uInt32
nID
)
override
;
virtual
Vcl
Ptr
<
VclAbstractDialog
>
createDialogByID
(
sal_uInt32
nID
)
override
;
public
:
public
:
ReportdesignDialogsTest
();
ReportdesignDialogsTest
();
...
@@ -53,7 +53,7 @@ void ReportdesignDialogsTest::registerKnownDialogsByID(mapType& /*rKnownDialogs*
...
@@ -53,7 +53,7 @@ void ReportdesignDialogsTest::registerKnownDialogsByID(mapType& /*rKnownDialogs*
// fill map of known dilogs
// fill map of known dilogs
}
}
Vcl
AbstractDialog
*
ReportdesignDialogsTest
::
createDialogByID
(
sal_uInt32
/*nID*/
)
Vcl
Ptr
<
VclAbstractDialog
>
ReportdesignDialogsTest
::
createDialogByID
(
sal_uInt32
/*nID*/
)
{
{
return
nullptr
;
return
nullptr
;
}
}
...
...
sc/qa/unit/screenshots/screenshots.cxx
Dosyayı görüntüle @
8cfa3f4b
...
@@ -64,7 +64,7 @@ private:
...
@@ -64,7 +64,7 @@ private:
/// dialog creation for known dialogs by ID. Has to be implemented for
/// dialog creation for known dialogs by ID. Has to be implemented for
/// each registered known dialog
/// each registered known dialog
virtual
Vcl
AbstractDialog
*
createDialogByID
(
sal_uInt32
nID
)
override
;
virtual
Vcl
Ptr
<
VclAbstractDialog
>
createDialogByID
(
sal_uInt32
nID
)
override
;
public
:
public
:
ScScreenshotTest
();
ScScreenshotTest
();
...
@@ -142,9 +142,9 @@ void ScScreenshotTest::registerKnownDialogsByID(mapType& rKnownDialogs)
...
@@ -142,9 +142,9 @@ void ScScreenshotTest::registerKnownDialogsByID(mapType& rKnownDialogs)
rKnownDialogs
[
"modules/scalc/ui/formatcellsdialog.ui"
]
=
14
;
rKnownDialogs
[
"modules/scalc/ui/formatcellsdialog.ui"
]
=
14
;
}
}
Vcl
AbstractDialog
*
ScScreenshotTest
::
createDialogByID
(
sal_uInt32
nID
)
Vcl
Ptr
<
VclAbstractDialog
>
ScScreenshotTest
::
createDialogByID
(
sal_uInt32
nID
)
{
{
Vcl
AbstractDialog
*
pReturnDialog
=
nullptr
;
Vcl
Ptr
<
VclAbstractDialog
>
pReturnDialog
;
////FIXME: translatable string here
////FIXME: translatable string here
const
OUString
aDefaultSheetName
(
"Sheet1"
);
const
OUString
aDefaultSheetName
(
"Sheet1"
);
...
...
sd/qa/unit/dialogs-test.cxx
Dosyayı görüntüle @
8cfa3f4b
...
@@ -93,7 +93,7 @@ private:
...
@@ -93,7 +93,7 @@ private:
/// dialog creation for known dialogs by ID. Has to be implemented for
/// dialog creation for known dialogs by ID. Has to be implemented for
/// each registered known dialog
/// each registered known dialog
virtual
Vcl
AbstractDialog
*
createDialogByID
(
sal_uInt32
nID
)
override
;
virtual
Vcl
Ptr
<
VclAbstractDialog
>
createDialogByID
(
sal_uInt32
nID
)
override
;
public
:
public
:
SdDialogsTest
();
SdDialogsTest
();
...
@@ -255,9 +255,9 @@ void SdDialogsTest::registerKnownDialogsByID(mapType& rKnownDialogs)
...
@@ -255,9 +255,9 @@ void SdDialogsTest::registerKnownDialogsByID(mapType& rKnownDialogs)
rKnownDialogs
[
"modules/simpress/ui/headerfooterdialog.ui"
]
=
22
;
rKnownDialogs
[
"modules/simpress/ui/headerfooterdialog.ui"
]
=
22
;
}
}
Vcl
AbstractDialog
*
SdDialogsTest
::
createDialogByID
(
sal_uInt32
nID
)
Vcl
Ptr
<
VclAbstractDialog
>
SdDialogsTest
::
createDialogByID
(
sal_uInt32
nID
)
{
{
Vcl
AbstractDialog
*
pRetval
=
nullptr
;
Vcl
Ptr
<
VclAbstractDialog
>
pRetval
;
if
(
getSdAbstractDialogFactory
())
if
(
getSdAbstractDialogFactory
())
{
{
...
...
sfx2/qa/unit/sfx2-dialogs-test.cxx
Dosyayı görüntüle @
8cfa3f4b
...
@@ -26,7 +26,7 @@ private:
...
@@ -26,7 +26,7 @@ private:
/// dialog creation for known dialogs by ID. Has to be implemented for
/// dialog creation for known dialogs by ID. Has to be implemented for
/// each registered known dialog
/// each registered known dialog
virtual
Vcl
AbstractDialog
*
createDialogByID
(
sal_uInt32
nID
)
override
;
virtual
Vcl
Ptr
<
VclAbstractDialog
>
createDialogByID
(
sal_uInt32
nID
)
override
;
public
:
public
:
Sfx2DialogsTest
();
Sfx2DialogsTest
();
...
@@ -53,7 +53,7 @@ void Sfx2DialogsTest::registerKnownDialogsByID(mapType& /*rKnownDialogs*/)
...
@@ -53,7 +53,7 @@ void Sfx2DialogsTest::registerKnownDialogsByID(mapType& /*rKnownDialogs*/)
// fill map of known dilogs
// fill map of known dilogs
}
}
Vcl
AbstractDialog
*
Sfx2DialogsTest
::
createDialogByID
(
sal_uInt32
/*nID*/
)
Vcl
Ptr
<
VclAbstractDialog
>
Sfx2DialogsTest
::
createDialogByID
(
sal_uInt32
/*nID*/
)
{
{
return
nullptr
;
return
nullptr
;
}
}
...
...
starmath/qa/unit/starmath-dialogs-test.cxx
Dosyayı görüntüle @
8cfa3f4b
...
@@ -26,7 +26,7 @@ private:
...
@@ -26,7 +26,7 @@ private:
/// dialog creation for known dialogs by ID. Has to be implemented for
/// dialog creation for known dialogs by ID. Has to be implemented for
/// each registered known dialog
/// each registered known dialog
virtual
Vcl
AbstractDialog
*
createDialogByID
(
sal_uInt32
nID
)
override
;
virtual
Vcl
Ptr
<
VclAbstractDialog
>
createDialogByID
(
sal_uInt32
nID
)
override
;
public
:
public
:
StarmathDialogsTest
();
StarmathDialogsTest
();
...
@@ -53,7 +53,7 @@ void StarmathDialogsTest::registerKnownDialogsByID(mapType& /*rKnownDialogs*/)
...
@@ -53,7 +53,7 @@ void StarmathDialogsTest::registerKnownDialogsByID(mapType& /*rKnownDialogs*/)
// fill map of known dilogs
// fill map of known dilogs
}
}
Vcl
AbstractDialog
*
StarmathDialogsTest
::
createDialogByID
(
sal_uInt32
/*nID*/
)
Vcl
Ptr
<
VclAbstractDialog
>
StarmathDialogsTest
::
createDialogByID
(
sal_uInt32
/*nID*/
)
{
{
return
nullptr
;
return
nullptr
;
}
}
...
...
svtools/qa/unit/svtools-dialogs-test.cxx
Dosyayı görüntüle @
8cfa3f4b
...
@@ -26,7 +26,7 @@ private:
...
@@ -26,7 +26,7 @@ private:
/// dialog creation for known dialogs by ID. Has to be implemented for
/// dialog creation for known dialogs by ID. Has to be implemented for
/// each registered known dialog
/// each registered known dialog
virtual
Vcl
AbstractDialog
*
createDialogByID
(
sal_uInt32
nID
)
override
;
virtual
Vcl
Ptr
<
VclAbstractDialog
>
createDialogByID
(
sal_uInt32
nID
)
override
;
public
:
public
:
SvtoolsDialogsTest
();
SvtoolsDialogsTest
();
...
@@ -53,7 +53,7 @@ void SvtoolsDialogsTest::registerKnownDialogsByID(mapType& /*rKnownDialogs*/)
...
@@ -53,7 +53,7 @@ void SvtoolsDialogsTest::registerKnownDialogsByID(mapType& /*rKnownDialogs*/)
// fill map of known dilogs
// fill map of known dilogs
}
}
Vcl
AbstractDialog
*
SvtoolsDialogsTest
::
createDialogByID
(
sal_uInt32
/*nID*/
)
Vcl
Ptr
<
VclAbstractDialog
>
SvtoolsDialogsTest
::
createDialogByID
(
sal_uInt32
/*nID*/
)
{
{
return
nullptr
;
return
nullptr
;
}
}
...
...
svx/qa/unit/svx-dialogs-test.cxx
Dosyayı görüntüle @
8cfa3f4b
...
@@ -26,7 +26,7 @@ private:
...
@@ -26,7 +26,7 @@ private:
/// dialog creation for known dialogs by ID. Has to be implemented for
/// dialog creation for known dialogs by ID. Has to be implemented for
/// each registered known dialog
/// each registered known dialog
virtual
Vcl
AbstractDialog
*
createDialogByID
(
sal_uInt32
nID
)
override
;
virtual
Vcl
Ptr
<
VclAbstractDialog
>
createDialogByID
(
sal_uInt32
nID
)
override
;
public
:
public
:
SvxDialogsTest
();
SvxDialogsTest
();
...
@@ -53,7 +53,7 @@ void SvxDialogsTest::registerKnownDialogsByID(mapType& /*rKnownDialogs*/)
...
@@ -53,7 +53,7 @@ void SvxDialogsTest::registerKnownDialogsByID(mapType& /*rKnownDialogs*/)
// fill map of known dilogs
// fill map of known dilogs
}
}
Vcl
AbstractDialog
*
SvxDialogsTest
::
createDialogByID
(
sal_uInt32
/*nID*/
)
Vcl
Ptr
<
VclAbstractDialog
>
SvxDialogsTest
::
createDialogByID
(
sal_uInt32
/*nID*/
)
{
{
return
nullptr
;
return
nullptr
;
}
}
...
...
sw/qa/unit/sw-dialogs-test.cxx
Dosyayı görüntüle @
8cfa3f4b
...
@@ -26,7 +26,7 @@ private:
...
@@ -26,7 +26,7 @@ private:
/// dialog creation for known dialogs by ID. Has to be implemented for
/// dialog creation for known dialogs by ID. Has to be implemented for
/// each registered known dialog
/// each registered known dialog
virtual
Vcl
AbstractDialog
*
createDialogByID
(
sal_uInt32
nID
)
override
;
virtual
Vcl
Ptr
<
VclAbstractDialog
>
createDialogByID
(
sal_uInt32
nID
)
override
;
public
:
public
:
SwDialogsTest
();
SwDialogsTest
();
...
@@ -53,7 +53,7 @@ void SwDialogsTest::registerKnownDialogsByID(mapType& /*rKnownDialogs*/)
...
@@ -53,7 +53,7 @@ void SwDialogsTest::registerKnownDialogsByID(mapType& /*rKnownDialogs*/)
// fill map of known dilogs
// fill map of known dilogs
}
}
Vcl
AbstractDialog
*
SwDialogsTest
::
createDialogByID
(
sal_uInt32
/*nID*/
)
Vcl
Ptr
<
VclAbstractDialog
>
SwDialogsTest
::
createDialogByID
(
sal_uInt32
/*nID*/
)
{
{
return
nullptr
;
return
nullptr
;
}
}
...
...
test/source/screenshot_test.cxx
Dosyayı görüntüle @
8cfa3f4b
...
@@ -107,9 +107,8 @@ void ScreenshotTest::saveScreenshot(Dialog& rDialog)
...
@@ -107,9 +107,8 @@ void ScreenshotTest::saveScreenshot(Dialog& rDialog)
}
}
}
}
Vcl
AbstractDialog
*
ScreenshotTest
::
createDialogByName
(
const
OString
&
rName
)
Vcl
Ptr
<
VclAbstractDialog
>
ScreenshotTest
::
createDialogByName
(
const
OString
&
rName
)
{
{
VclAbstractDialog
*
pRetval
=
nullptr
;
const
mapType
::
const_iterator
aHit
=
maKnownDialogs
.
find
(
rName
);
const
mapType
::
const_iterator
aHit
=
maKnownDialogs
.
find
(
rName
);
if
(
aHit
!=
maKnownDialogs
.
end
())
if
(
aHit
!=
maKnownDialogs
.
end
())
...
@@ -117,7 +116,7 @@ VclAbstractDialog* ScreenshotTest::createDialogByName(const OString& rName)
...
@@ -117,7 +116,7 @@ VclAbstractDialog* ScreenshotTest::createDialogByName(const OString& rName)
return
createDialogByID
((
*
aHit
).
second
);
return
createDialogByID
((
*
aHit
).
second
);
}
}
return
pRetval
;
return
VclPtr
<
VclAbstractDialog
>
()
;
}
}
void
ScreenshotTest
::
dumpDialogToPath
(
VclAbstractDialog
&
rDialog
)
void
ScreenshotTest
::
dumpDialogToPath
(
VclAbstractDialog
&
rDialog
)
...
...
uui/qa/unit/uui-dialogs-test.cxx
Dosyayı görüntüle @
8cfa3f4b
...
@@ -26,7 +26,7 @@ private:
...
@@ -26,7 +26,7 @@ private:
/// dialog creation for known dialogs by ID. Has to be implemented for
/// dialog creation for known dialogs by ID. Has to be implemented for
/// each registered known dialog
/// each registered known dialog
virtual
Vcl
AbstractDialog
*
createDialogByID
(
sal_uInt32
nID
)
override
;
virtual
Vcl
Ptr
<
VclAbstractDialog
>
createDialogByID
(
sal_uInt32
nID
)
override
;
public
:
public
:
UuiDialogsTest
();
UuiDialogsTest
();
...
@@ -53,7 +53,7 @@ void UuiDialogsTest::registerKnownDialogsByID(mapType& /*rKnownDialogs*/)
...
@@ -53,7 +53,7 @@ void UuiDialogsTest::registerKnownDialogsByID(mapType& /*rKnownDialogs*/)
// fill map of known dilogs
// fill map of known dilogs
}
}
Vcl
AbstractDialog
*
UuiDialogsTest
::
createDialogByID
(
sal_uInt32
/*nID*/
)
Vcl
Ptr
<
VclAbstractDialog
>
UuiDialogsTest
::
createDialogByID
(
sal_uInt32
/*nID*/
)
{
{
return
nullptr
;
return
nullptr
;
}
}
...
...
vcl/qa/unit/vcl-dialogs-test.cxx
Dosyayı görüntüle @
8cfa3f4b
...
@@ -26,7 +26,7 @@ private:
...
@@ -26,7 +26,7 @@ private:
/// dialog creation for known dialogs by ID. Has to be implemented for
/// dialog creation for known dialogs by ID. Has to be implemented for
/// each registered known dialog
/// each registered known dialog
virtual
Vcl
AbstractDialog
*
createDialogByID
(
sal_uInt32
nID
)
override
;
virtual
Vcl
Ptr
<
VclAbstractDialog
>
createDialogByID
(
sal_uInt32
nID
)
override
;
public
:
public
:
VclDialogsTest
();
VclDialogsTest
();
...
@@ -53,7 +53,7 @@ void VclDialogsTest::registerKnownDialogsByID(mapType& /*rKnownDialogs*/)
...
@@ -53,7 +53,7 @@ void VclDialogsTest::registerKnownDialogsByID(mapType& /*rKnownDialogs*/)
// fill map of known dilogs
// fill map of known dilogs
}
}
Vcl
AbstractDialog
*
VclDialogsTest
::
createDialogByID
(
sal_uInt32
/*nID*/
)
Vcl
Ptr
<
VclAbstractDialog
>
VclDialogsTest
::
createDialogByID
(
sal_uInt32
/*nID*/
)
{
{
return
nullptr
;
return
nullptr
;
}
}
...
...
xmlsecurity/qa/unit/xmlsecurity-dialogs-test.cxx
Dosyayı görüntüle @
8cfa3f4b
...
@@ -26,7 +26,7 @@ private:
...
@@ -26,7 +26,7 @@ private:
/// dialog creation for known dialogs by ID. Has to be implemented for
/// dialog creation for known dialogs by ID. Has to be implemented for
/// each registered known dialog
/// each registered known dialog
virtual
Vcl
AbstractDialog
*
createDialogByID
(
sal_uInt32
nID
)
override
;
virtual
Vcl
Ptr
<
VclAbstractDialog
>
createDialogByID
(
sal_uInt32
nID
)
override
;
public
:
public
:
XmlsecurityDialogsTest
();
XmlsecurityDialogsTest
();
...
@@ -53,7 +53,7 @@ void XmlsecurityDialogsTest::registerKnownDialogsByID(mapType& /*rKnownDialogs*/
...
@@ -53,7 +53,7 @@ void XmlsecurityDialogsTest::registerKnownDialogsByID(mapType& /*rKnownDialogs*/
// fill map of known dilogs
// fill map of known dilogs
}
}
Vcl
AbstractDialog
*
XmlsecurityDialogsTest
::
createDialogByID
(
sal_uInt32
/*nID*/
)
Vcl
Ptr
<
VclAbstractDialog
>
XmlsecurityDialogsTest
::
createDialogByID
(
sal_uInt32
/*nID*/
)
{
{
return
nullptr
;
return
nullptr
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment