Kaydet (Commit) 8d7eba47 authored tarafından Caolán McNamara's avatar Caolán McNamara

these are global strings now

Change-Id: I0ca622afcf5dd4a5cc62d9bfd31974d800c659d1
üst 933bcfd2
...@@ -276,7 +276,6 @@ namespace pcr ...@@ -276,7 +276,6 @@ namespace pcr
{ {
if ( m_sDetailLabel.isEmpty() ) if ( m_sDetailLabel.isEmpty() )
{ {
::svt::OLocalResourceAccess aStringAccess( PcrRes( RID_DLG_FORMLINKS ), RSC_MODALDIALOG );
m_sDetailLabel = PcrRes(STR_DETAIL_FORM).toString(); m_sDetailLabel = PcrRes(STR_DETAIL_FORM).toString();
} }
sDetailType = m_sDetailLabel; sDetailType = m_sDetailLabel;
...@@ -289,7 +288,6 @@ namespace pcr ...@@ -289,7 +288,6 @@ namespace pcr
{ {
if ( m_sMasterLabel.isEmpty() ) if ( m_sMasterLabel.isEmpty() )
{ {
::svt::OLocalResourceAccess aStringAccess( PcrRes( RID_DLG_FORMLINKS ), RSC_MODALDIALOG );
m_sMasterLabel = PcrRes(STR_MASTER_FORM).toString(); m_sMasterLabel = PcrRes(STR_MASTER_FORM).toString();
} }
sMasterType = m_sMasterLabel; sMasterType = m_sMasterLabel;
...@@ -431,7 +429,6 @@ namespace pcr ...@@ -431,7 +429,6 @@ namespace pcr
{ {
OUString sErrorMessage; OUString sErrorMessage;
{ {
::svt::OLocalResourceAccess aStringAccess( PcrRes( RID_DLG_FORMLINKS ), RSC_MODALDIALOG );
sErrorMessage = PcrRes(STR_ERROR_RETRIEVING_COLUMNS).toString(); sErrorMessage = PcrRes(STR_ERROR_RETRIEVING_COLUMNS).toString();
sErrorMessage = sErrorMessage.replaceFirst("#", sCommand); sErrorMessage = sErrorMessage.replaceFirst("#", sCommand);
} }
......
...@@ -277,7 +277,6 @@ ...@@ -277,7 +277,6 @@
// - dialogs // - dialogs
#define RID_DLG_TABORDER ( RID_PROPCONTROLLER_START + 1 ) #define RID_DLG_TABORDER ( RID_PROPCONTROLLER_START + 1 )
#define RID_DLG_FORMLINKS ( RID_PROPCONTROLLER_START + 2 )
#define RID_DLG_SELECTION ( RID_PROPCONTROLLER_START + 3 ) #define RID_DLG_SELECTION ( RID_PROPCONTROLLER_START + 3 )
// - ImageLists // - ImageLists
......
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