diff options
Diffstat (limited to 'basctl/source/basicide/moduldl2.cxx')
-rw-r--r-- | basctl/source/basicide/moduldl2.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/basctl/source/basicide/moduldl2.cxx b/basctl/source/basicide/moduldl2.cxx index 897771d895ea..778c38e5e96c 100644 --- a/basctl/source/basicide/moduldl2.cxx +++ b/basctl/source/basicide/moduldl2.cxx @@ -20,7 +20,7 @@ #include <moduldlg.hxx> #include <basidesh.hxx> -#include <basidesh.hrc> +#include <strings.hrc> #include <bitmaps.hlst> #include <iderdll.hxx> #include <iderdll2.hxx> @@ -883,7 +883,7 @@ void LibPage::InsertLib() ( xDlgLibContainer.is() && xDlgLibContainer->hasByName( aLibName ) && xDlgLibContainer->isLibraryReadOnly( aLibName ) && !xDlgLibContainer->isLibraryLink( aLibName ) ) ) { OUString aErrStr( IDEResId(RID_STR_REPLACELIB) ); - aErrStr = aErrStr.replaceAll("XX", aLibName) + "\n" + OUString(IDEResId(RID_STR_LIBISREADONLY)); + aErrStr = aErrStr.replaceAll("XX", aLibName) + "\n" + IDEResId(RID_STR_LIBISREADONLY); ScopedVclPtrInstance<MessageDialog>(this, aErrStr)->Execute(); continue; } @@ -898,7 +898,7 @@ void LibPage::InsertLib() aErrStr = IDEResId(RID_STR_REFNOTPOSSIBLE); else aErrStr = IDEResId(RID_STR_IMPORTNOTPOSSIBLE); - aErrStr = aErrStr.replaceAll("XX", aLibName) + "\n" + OUString(IDEResId(RID_STR_SBXNAMEALLREADYUSED)); + aErrStr = aErrStr.replaceAll("XX", aLibName) + "\n" +IDEResId(RID_STR_SBXNAMEALLREADYUSED); ScopedVclPtrInstance<MessageDialog>(this, aErrStr)->Execute(); continue; } |