Kaydet (Commit) 5958c942 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

no need to warn anymore as we can save VBA now

Well we will be able when this feature hits master.

Change-Id: I5547863e9002bfe16119a26059fa5281bd9e9070
üst 7e4ee811
......@@ -61,7 +61,6 @@
#define RID_STR_OPEN ( RID_BASICIDE_START + 20 )
#define RID_STR_SAVE ( RID_BASICIDE_START + 21 )
#define RID_STR_RUNTIMEERROR ( RID_BASICIDE_START + 22 )
#define RID_STR_CANNOTSAVEVBA ( RID_BASICIDE_START + 23 )
#define RID_STR_STDDIALOGNAME ( RID_BASICIDE_START + 24 )
#define RID_STR_STDMODULENAME ( RID_BASICIDE_START + 27 )
......
......@@ -255,14 +255,8 @@ Shell::~Shell()
void Shell::onDocumentCreated( const ScriptDocument& /*_rDocument*/ )
{
if (pCurWin)
{
pCurWin->OnNewDocument();
// for VBA documents, show a warning that we can save them only in ODF
if (pCurWin->GetDocument().isInVBAMode())
GetViewFrame()->AppendInfoBar("vba_save", IDE_RESSTR(RID_STR_CANNOTSAVEVBA));
}
UpdateWindows();
}
......
......@@ -211,10 +211,6 @@ String RID_STR_CANNOTCLOSE
{
Text [ en-US ] = "The window cannot be closed while BASIC is running." ;
};
String RID_STR_CANNOTSAVEVBA
{
Text [ en-US ] = "You are editing a VBA macro. Changes can be saved only in OpenDocument Format." ;
};
String RID_STR_REPLACESTDLIB
{
Text [ en-US ] = "The default library cannot be replaced." ;
......
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