diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-10-26 20:58:15 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-10-26 23:57:47 +0100 |
commit | f72004dc283dce45649e5807a6345a5d08b79a21 (patch) | |
tree | 834a027cf930062100c2b2b60aabbfad9992b31a /cui/source/dialogs | |
parent | 9874f2fb3c7ed8f77e9c05530681144a351d8ed3 (diff) |
chop last string out into generic .src
Change-Id: I958f6e80813a4e056b09225b16cea9ea2a3450ac
Diffstat (limited to 'cui/source/dialogs')
-rw-r--r-- | cui/source/dialogs/cuires.src | 5 | ||||
-rw-r--r-- | cui/source/dialogs/insdlg.cxx | 4 | ||||
-rw-r--r-- | cui/source/dialogs/svuidlg.hrc | 2 | ||||
-rw-r--r-- | cui/source/dialogs/svuidlg.src | 5 |
4 files changed, 7 insertions, 9 deletions
diff --git a/cui/source/dialogs/cuires.src b/cui/source/dialogs/cuires.src index 6b7e8fc1aab5..91c0f5e34e98 100644 --- a/cui/source/dialogs/cuires.src +++ b/cui/source/dialogs/cuires.src @@ -14,4 +14,9 @@ String RID_SVXSTR_ERR_TEXTNOTFOUND Text [ en-US ] = "No alternatives found." ; }; +String RID_SVXSTR_SELECT_FILE_IFRAME +{ + Text [ en-US ] = "Select File for Floating Frame" ; +}; + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/cui/source/dialogs/insdlg.cxx b/cui/source/dialogs/insdlg.cxx index 83cd8d0c0678..9b0529ec8e40 100644 --- a/cui/source/dialogs/insdlg.cxx +++ b/cui/source/dialogs/insdlg.cxx @@ -53,7 +53,7 @@ #include <svl/ownlist.hxx> #include <comphelper/seqstream.hxx> -#include "svuidlg.hrc" +#include "cuires.hrc" #include <osl/file.hxx> @@ -768,7 +768,7 @@ IMPL_STATIC_LINK( SfxInsertFloatingFrameDialog, OpenHdl, PushButton*, EMPTYARG ) ui::dialogs::TemplateDescription::FILEOPEN_SIMPLE, 0, String() ); // set the title - aFileDlg.SetTitle( OUString( String( CUI_RES( MD_INSERT_OBJECT_IFRAME ) ) ) ); + aFileDlg.SetTitle(CUI_RESSTR(RID_SVXSTR_SELECT_FILE_IFRAME)); // show the dialog if ( aFileDlg.Execute() == ERRCODE_NONE ) diff --git a/cui/source/dialogs/svuidlg.hrc b/cui/source/dialogs/svuidlg.hrc index d473d6f9e4f1..da1dd14e4ed3 100644 --- a/cui/source/dialogs/svuidlg.hrc +++ b/cui/source/dialogs/svuidlg.hrc @@ -82,5 +82,3 @@ #define GB_CLASS 14 #define ED_APPLET_OPTIONS 20 #define GB_APPLET_OPTIONS 21 - -#define MD_INSERT_OBJECT_IFRAME 32011 diff --git a/cui/source/dialogs/svuidlg.src b/cui/source/dialogs/svuidlg.src index d8cd5ea013bb..310653ee4ea6 100644 --- a/cui/source/dialogs/svuidlg.src +++ b/cui/source/dialogs/svuidlg.src @@ -392,8 +392,3 @@ Control TB_LINKS TabStop = TRUE ; ClipChildren = TRUE ; }; - -String MD_INSERT_OBJECT_IFRAME -{ - Text [ en-US ] = "Select File for Floating Frame" ; -}; |