diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-04-27 09:12:17 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-04-27 14:17:45 +0200 |
commit | 847462f75dc7bb59795aad7664d0b065a3fce866 (patch) | |
tree | 93f949c8524a00830a5ecff12216ee52e596dab7 /sw/source/uibase/dbui/dbtree.cxx | |
parent | f368499b9bcc05eb70aae9914c1760d00b86a2f9 (diff) |
remove sw bitmaps from .src files
Change-Id: I9ccd69662f9d3a77d1921b3433b0e2f541960a90
Reviewed-on: https://gerrit.libreoffice.org/37020
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source/uibase/dbui/dbtree.cxx')
-rw-r--r-- | sw/source/uibase/dbui/dbtree.cxx | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/sw/source/uibase/dbui/dbtree.cxx b/sw/source/uibase/dbui/dbtree.cxx index 2d7a4760121d..3e2c0994de8e 100644 --- a/sw/source/uibase/dbui/dbtree.cxx +++ b/sw/source/uibase/dbui/dbtree.cxx @@ -42,6 +42,8 @@ #include <helpid.h> #include <utlui.hrc> +#include "bitmaps.hlst" +#include "bitmaps.hlst" #include <unomid.h> @@ -173,8 +175,8 @@ void SwDBTreeList::InitTreeList() SetStyle(GetStyle()|WB_HASLINES|WB_CLIPCHILDREN|WB_HASBUTTONS|WB_HASBUTTONSATROOT|WB_HSCROLL); // don't set font, so that the Control's font is being applied! SetSpaceBetweenEntries(0); - SetNodeBitmaps(Image(BitmapEx(SW_RES(RID_BMP_COLLAPSE))), - Image(BitmapEx(SW_RES(RID_BMP_EXPAND)))); + SetNodeBitmaps(Image(BitmapEx(RID_BMP_COLLAPSE)), + Image(BitmapEx(RID_BMP_EXPAND))); SetDragDropMode(DragDropMode::APP_COPY); @@ -184,7 +186,7 @@ void SwDBTreeList::InitTreeList() const OUString* pDBNames = aDBNames.getConstArray(); long nCount = aDBNames.getLength(); - Image aImg(BitmapEx(SW_RES(RID_BMP_DB))); + Image aImg(BitmapEx(RID_BMP_DB)); for(long i = 0; i < nCount; i++) { OUString sDBName(pDBNames[i]); @@ -200,7 +202,7 @@ void SwDBTreeList::InitTreeList() void SwDBTreeList::AddDataSource(const OUString& rSource) { - Image aImg(BitmapEx(SW_RES(RID_BMP_DB))); + Image aImg(BitmapEx(RID_BMP_DB)); SvTreeListEntry* pEntry = InsertEntry(rSource, aImg, aImg, nullptr, true); SvTreeListBox::Select(pEntry); } @@ -329,7 +331,7 @@ void SwDBTreeList::RequestingChildren(SvTreeListEntry* pParent) OUString sTableName; long nCount = aTableNames.getLength(); const OUString* pTableNames = aTableNames.getConstArray(); - Image aImg(BitmapEx(SW_RES(RID_BMP_DBTABLE))); + Image aImg(BitmapEx(RID_BMP_DBTABLE)); for (long i = 0; i < nCount; i++) { sTableName = pTableNames[i]; @@ -347,7 +349,7 @@ void SwDBTreeList::RequestingChildren(SvTreeListEntry* pParent) OUString sQueryName; long nCount = aQueryNames.getLength(); const OUString* pQueryNames = aQueryNames.getConstArray(); - Image aImg(BitmapEx(SW_RES(RID_BMP_DBQUERY))); + Image aImg(BitmapEx(RID_BMP_DBQUERY)); for (long i = 0; i < nCount; i++) { sQueryName = pQueryNames[i]; |