From e2805decab47bcdc4080c218933acad51d028589 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Fri, 20 Jan 2017 09:20:00 +0000 Subject: [PATCH] restore missing RID_SVXBMP_LOCK graphic wrong removed by commit fa3d5ca1f99fe253689004a45ec2888ebbe85fd3 Author: abdulmajeed ahmed Date: Thu May 30 12:33:32 2013 +0200 Convert Languages tab page to .ui Deleted the readonly images too,it was not used any where else and was just confusing. Change-Id: Ice8e59cffc3b3001216c7499da5cbefe74ce8d88 --- cui/source/options/dbregister.cxx | 2 +- cui/source/options/dbregister.src | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/cui/source/options/dbregister.cxx b/cui/source/options/dbregister.cxx index 587cec382e84..a0a4a504d389 100644 --- a/cui/source/options/dbregister.cxx +++ b/cui/source/options/dbregister.cxx @@ -392,7 +392,7 @@ void DbRegistrationOptionsPage::insertNewEntry( const OUString& _sName,const OUS SvTreeListEntry* pEntry = nullptr; if ( _bReadOnly ) { - Image aLocked( CUI_RES( RID_SVXBMP_LOCK ) ); + Image aLocked(BitmapEx(CUI_RES(RID_SVXBMP_LOCK))); pEntry = m_pPathBox->InsertEntry( aStr, aLocked, aLocked ); } else diff --git a/cui/source/options/dbregister.src b/cui/source/options/dbregister.src index 2f8d708721a5..e769b6582a69 100644 --- a/cui/source/options/dbregister.src +++ b/cui/source/options/dbregister.src @@ -23,9 +23,15 @@ String RID_SVXSTR_TYPE { Text [ en-US ] = "Registered name" ; }; + String RID_SVXSTR_PATH { Text [ en-US ] = "Database file" ; }; +Bitmap RID_SVXBMP_LOCK +{ + File = "lock.png"; +}; + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */