diff --git a/dbaccess/source/ui/querydesign/QTableWindow.cxx b/dbaccess/source/ui/querydesign/QTableWindow.cxx index 5a21f7a062bc..024f94d5ee33 100644 --- a/dbaccess/source/ui/querydesign/QTableWindow.cxx +++ b/dbaccess/source/ui/querydesign/QTableWindow.cxx @@ -2,9 +2,9 @@ * * $RCSfile: QTableWindow.cxx,v $ * - * $Revision: 1.9 $ + * $Revision: 1.10 $ * - * last change: $Author: oj $ $Date: 2002-05-02 07:54:11 $ + * last change: $Author: vg $ $Date: 2002-05-08 09:09:05 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -234,7 +234,8 @@ sal_Bool OQueryTableWindow::Init() //------------------------------------------------------------------------------ sal_Bool OQueryTableWindow::FillListBox() { - ImageList aImageList(ModuleRes(isHiContrast(m_pListBox) ? IMG_JOINS_H : IMG_JOINS)); + ModuleRes TmpRes(isHiContrast(m_pListBox) ? IMG_JOINS_H : IMG_JOINS); + ImageList aImageList(TmpRes); Image aPrimKeyImage = aImageList.GetImage(IMG_PRIMARY_KEY); diff --git a/dbaccess/source/ui/querydesign/TableWindow.cxx b/dbaccess/source/ui/querydesign/TableWindow.cxx index 56a510e3a388..4ffe161c8427 100644 --- a/dbaccess/source/ui/querydesign/TableWindow.cxx +++ b/dbaccess/source/ui/querydesign/TableWindow.cxx @@ -2,9 +2,9 @@ * * $RCSfile: TableWindow.cxx,v $ * - * $Revision: 1.14 $ + * $Revision: 1.15 $ * - * last change: $Author: oj $ $Date: 2002-05-02 07:54:11 $ + * last change: $Author: vg $ $Date: 2002-05-08 09:09:31 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -249,7 +249,8 @@ OTableWindowListBox* OTableWindow::CreateListBox() BOOL OTableWindow::FillListBox() { // mark all primary keys with special image - ImageList aImageList(ModuleRes(isHiContrast(m_pListBox) ? IMG_JOINS_H : IMG_JOINS)); + ModuleRes TmpRes(isHiContrast(m_pListBox) ? IMG_JOINS_H : IMG_JOINS); + ImageList aImageList(TmpRes); Image aPrimKeyImage = aImageList.GetImage(IMG_PRIMARY_KEY); if (GetData()->IsShowAll()) @@ -778,4 +779,4 @@ String OTableWindow::getTitle() const { return m_aTitle.GetText(); } -// ----------------------------------------------------------------------------- \ No newline at end of file +// -----------------------------------------------------------------------------