diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-06-14 16:10:20 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-06-14 16:10:27 +0100 |
commit | 38ee77e52ce122997812c3c931caf5ed0dc17e54 (patch) | |
tree | 546071e0676d6270b2ccecd3cfa68ac8b2668b2d /extensions | |
parent | ad5f30742464d9b1e462ba86e93154a68593553d (diff) |
we can't use untranslatable strings here
and drop the now unused helpid
Change-Id: I38fb93e50e7715e05f21e08c2e8714a1a52305b8
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/inc/bibliography.hrc | 1 | ||||
-rw-r--r-- | extensions/source/bibliography/bib.hrc | 2 | ||||
-rw-r--r-- | extensions/source/bibliography/bib.src | 5 | ||||
-rw-r--r-- | extensions/source/bibliography/datman.cxx | 10 |
4 files changed, 11 insertions, 7 deletions
diff --git a/extensions/inc/bibliography.hrc b/extensions/inc/bibliography.hrc index ec420e9ce620..480fbdcd3d59 100644 --- a/extensions/inc/bibliography.hrc +++ b/extensions/inc/bibliography.hrc @@ -61,7 +61,6 @@ #define HID_BIB_CONTROL_PARENT "EXTENSIONS_HID_BIB_CONTROL_PARENT" #define UID_BIB_FRAME_WINDOW "EXTENSIONS_UID_BIB_FRAME_WINDOW" #define HID_BIB_DB_GRIDCTRL "EXTENSIONS_HID_BIB_DB_GRIDCTRL" -#define HID_DLG_MAPPING "EXTENSIONS_HID_DLG_MAPPING" #endif // EXTENSIONS_BIBLIOGRAPHY_HRC diff --git a/extensions/source/bibliography/bib.hrc b/extensions/source/bibliography/bib.hrc index 68f98289f1a5..fbcf561e341c 100644 --- a/extensions/source/bibliography/bib.hrc +++ b/extensions/source/bibliography/bib.hrc @@ -41,7 +41,7 @@ // Strings (500) #define RID_BIB_STRING (RID_BIB_START + 200) - // FREE (RID_BIB_STRING + 1) +#define RID_BIB_STR_NONE (RID_BIB_STRING + 1) #define RID_BIB_STR_FIELDSELECTION (RID_BIB_STRING + 2) #define RID_BIB_STR_TABWIN_PREFIX (RID_BIB_STRING + 3) #define RID_BIB_STR_FRAME_TITLE (RID_BIB_STRING + 4) diff --git a/extensions/source/bibliography/bib.src b/extensions/source/bibliography/bib.src index cf11f64e12a3..d234a187bfdc 100644 --- a/extensions/source/bibliography/bib.src +++ b/extensions/source/bibliography/bib.src @@ -36,4 +36,9 @@ String RID_MAP_QUESTION Text [ en-US ] = "Do you want to edit the column arrangement?"; }; +String RID_BIB_STR_NONE +{ + Text [ en-US ] = "<none>"; +}; + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/extensions/source/bibliography/datman.cxx b/extensions/source/bibliography/datman.cxx index 72da2052de69..7b2524768437 100644 --- a/extensions/source/bibliography/datman.cxx +++ b/extensions/source/bibliography/datman.cxx @@ -254,11 +254,11 @@ static sal_uInt16 lcl_FindLogicalName(BibConfig* pConfig , return USHRT_MAX; } -MappingDialog_Impl::MappingDialog_Impl(Window* pParent, BibDataManager* pMan) : - ModalDialog(pParent, "MappingDialog", "modules/sbibliography/ui/mappingdialog.ui" ), - pDatMan(pMan), - sNone("<none>"), - bModified(false) +MappingDialog_Impl::MappingDialog_Impl(Window* pParent, BibDataManager* pMan) + : ModalDialog(pParent, "MappingDialog", "modules/sbibliography/ui/mappingdialog.ui") + , pDatMan(pMan) + , sNone(BIB_RESSTR(RID_BIB_STR_NONE)) + , bModified(false) { get(pOKBT, "ok"); get(pIdentifierLB, "identifierCombobox"); |