2010-10-12 15:57:08 +02:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2012-06-12 17:02:47 +01:00
|
|
|
/*
|
|
|
|
* This file is part of the LibreOffice project.
|
|
|
|
*
|
|
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
*
|
|
|
|
* This file incorporates work covered by the following license notice:
|
|
|
|
*
|
|
|
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
|
|
|
* contributor license agreements. See the NOTICE file distributed
|
|
|
|
* with this work for additional information regarding copyright
|
|
|
|
* ownership. The ASF licenses this file to you under the Apache
|
|
|
|
* License, Version 2.0 (the "License"); you may not use this file
|
|
|
|
* except in compliance with the License. You may obtain a copy of
|
|
|
|
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
|
|
|
*/
|
2000-09-29 10:02:42 +00:00
|
|
|
|
|
|
|
#include <basidesh.hrc>
|
|
|
|
|
|
|
|
#include <basidesh.hxx>
|
2009-09-11 09:40:28 +00:00
|
|
|
#include <baside2.hxx>
|
2000-09-29 10:02:42 +00:00
|
|
|
#include <baside3.hxx>
|
|
|
|
#include <basobj.hxx>
|
2007-01-02 14:49:27 +00:00
|
|
|
#include <localizationmgr.hxx>
|
2003-03-26 11:48:29 +00:00
|
|
|
#include <dlgedview.hxx>
|
2001-06-15 07:45:19 +00:00
|
|
|
#include <comphelper/processfactory.hxx>
|
2013-05-16 14:13:36 +02:00
|
|
|
#include <com/sun/star/script/XLibraryContainer.hpp>
|
Revert "fdo#46808, Convert awt::UnoControlDialogModel to new style"
This reverts commit 6c61b20a8d4a6dcac28801cde82a211fb7e30654. As discussed at
<http://lists.freedesktop.org/archives/libreoffice/2013-May/052449.html> "Re:
fdo#46808, Convert awt::UnoControlDialogModel to new style problem" why the odd
change in 2e2a4827ce6708f0e8677dba9cc92e1479a44086 "scripting: get
CreateUnoDialog() work again" appears to fix things again:
The problem is that the implementation of the css.awt.UnoControlDialogModel
involves UNO aggregation
(IMPL_CREATE_INSTANCE_WITH_GEOMETRY(UnoControlDialogModel) in
toolkit/soruce/helper/registerservices.cxx creating a
OGeometryControlModel<UnoControlDialogModel> instance that aggregates a
UnoControlDialogModel instance). That means that queryInterface can return a
reference to something that is technically a different object, and that's
what's happening here, and explains why calling setPropertyValue in two
different ways on what logically appears to be a single object can end up
calling two different implementations (of two different physical objects).
(UNO aggregation is known to be broken and should not be used. Nevertheless,
there's still code that does---code that is a horrible mess and hard to clean
up.)
That all this worked as intended in the past is just sheer luck, but any
way of substantially touching it is asking for trouble. I'm going to
revert 6c61b20a8d4a6dcac28801cde82a211fb7e30654 again.
I wasn't able to revert without also reverting
be50ad28f5bbdaeff527f646481ce263843c2401 "fdo#46808, Convert
awt::XUnoControlDialog to new style," as the two were tightly dependant. Also
reverts all the follow-up fixes cb4b6dde8fda2a5848e11063028bf44d72f85431
"-Werror,-Wuninitialized" (sans the const-ness fix in
UpdateHandler::insertControlModel), 697a007c61b9cabceb9767fad87cd5822b300452
"Fix exception specifications," 2ce6828bbbf6ba181bb2276adeec279e74151ef6 "fix
awt::UnoControlModelDialog crash," and 2e2a4827ce6708f0e8677dba9cc92e1479a44086
"scripting: get CreateUnoDialog() work again."
Conflicts:
basctl/source/dlged/dlged.cxx
filter/source/t602/t602filter.cxx
xmlscript/test/imexp.cxx
Change-Id: I5d133468062f3ca36300db52fbd699be1ac72998
2013-05-24 22:44:30 +02:00
|
|
|
#include <com/sun/star/container/XNameContainer.hpp>
|
2001-06-15 07:45:19 +00:00
|
|
|
#include <xmlscript/xmldlg_imexp.hxx>
|
2012-06-29 08:30:14 +02:00
|
|
|
#include <sfx2/dispatch.hxx>
|
|
|
|
#include <sfx2/docfac.hxx>
|
|
|
|
#include <sfx2/request.hxx>
|
2007-03-15 14:53:58 +00:00
|
|
|
#include <tools/diagnose_ex.h>
|
2001-03-03 14:12:53 +00:00
|
|
|
|
Basic IDE: namespace basctl
Now all names in basctl are in namespace 'basctl'.
There were lots of names that included the word 'Basic' or 'BasicIDE' in
it, e.g. BasicIDEData, BasicDocumentEntry, BasicTreeListBox,
BasicIDEModule, IDEBaseWindow etc. This information is now stored in the
namespace name, so the names could be shortened: basctl::DocumentEntry,
basctl::TreeListBox, basctl::Module, basctl::BaseWindow etc.
Some other minor changes:
* LibInfos, LibInfoItem, LibInfoKey ->
LibInfos, LibInfos::Item, LibInfos::Key
* The header guards are now uniformly BASCTL_FILENAME_HXX, instead of
e.g. _FILENAME_HXX, which is undefined behaviour because of the '_'.
* namespace BasicIDE, BasicIDEGlobals, basicide -> namespace basctl
* BASICIDE_TYPE_MODULE, ... -> basctl::TYPE_MODULE, ...
Change-Id: I2a9b493562d0d8a2510d569798fbe9e1161b7c9b
Reviewed-on: https://gerrit.libreoffice.org/501
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
2012-08-25 12:43:27 +02:00
|
|
|
namespace basctl
|
|
|
|
{
|
|
|
|
|
2001-06-15 07:45:19 +00:00
|
|
|
using namespace comphelper;
|
2001-03-03 14:12:53 +00:00
|
|
|
using namespace ::com::sun::star;
|
2001-06-15 07:45:19 +00:00
|
|
|
using namespace ::com::sun::star::uno;
|
|
|
|
using namespace ::com::sun::star::io;
|
2001-03-03 14:12:53 +00:00
|
|
|
|
2012-10-05 01:25:41 -03:00
|
|
|
DialogWindow* Shell::CreateDlgWin( const ScriptDocument& rDocument, const OUString& rLibName, const OUString& rDlgName )
|
2000-09-29 10:02:42 +00:00
|
|
|
{
|
2012-08-02 10:21:00 +09:00
|
|
|
bCreatingWindow = true;
|
2000-09-29 10:02:42 +00:00
|
|
|
|
2011-01-14 11:16:25 +01:00
|
|
|
sal_uLong nKey = 0;
|
2000-09-29 10:02:42 +00:00
|
|
|
DialogWindow* pWin = 0;
|
2012-10-05 01:25:41 -03:00
|
|
|
OUString aLibName( rLibName );
|
|
|
|
OUString aDlgName( rDlgName );
|
2004-07-23 11:02:38 +00:00
|
|
|
|
2011-12-09 01:58:49 -05:00
|
|
|
if ( aLibName.isEmpty() )
|
2012-10-05 01:25:41 -03:00
|
|
|
aLibName = "Standard" ;
|
2004-07-23 11:02:38 +00:00
|
|
|
|
2007-03-15 14:53:58 +00:00
|
|
|
rDocument.getOrCreateLibrary( E_DIALOGS, aLibName );
|
2004-07-23 11:02:38 +00:00
|
|
|
|
2011-12-09 01:58:49 -05:00
|
|
|
if ( aDlgName.isEmpty() )
|
2007-03-15 14:53:58 +00:00
|
|
|
aDlgName = rDocument.createObjectName( E_DIALOGS, aLibName );
|
2001-03-03 14:12:53 +00:00
|
|
|
|
2011-08-22 11:39:37 +02:00
|
|
|
// maybe there's a suspended one?
|
2012-07-27 10:35:28 +09:00
|
|
|
pWin = FindDlgWin( rDocument, aLibName, aDlgName, false, true );
|
2000-09-29 10:02:42 +00:00
|
|
|
|
|
|
|
if ( !pWin )
|
|
|
|
{
|
2004-07-23 11:02:38 +00:00
|
|
|
try
|
2001-03-03 14:12:53 +00:00
|
|
|
{
|
2004-07-23 11:02:38 +00:00
|
|
|
Reference< io::XInputStreamProvider > xISP;
|
2007-03-15 14:53:58 +00:00
|
|
|
if ( rDocument.hasDialog( aLibName, aDlgName ) )
|
|
|
|
rDocument.getDialog( aLibName, aDlgName, xISP );
|
2004-07-23 11:02:38 +00:00
|
|
|
else
|
2007-03-15 14:53:58 +00:00
|
|
|
rDocument.createDialog( aLibName, aDlgName, xISP );
|
2004-07-23 11:02:38 +00:00
|
|
|
|
|
|
|
if ( xISP.is() )
|
2001-03-03 14:12:53 +00:00
|
|
|
{
|
2004-07-23 11:02:38 +00:00
|
|
|
// create dialog model
|
2013-05-31 09:54:28 +02:00
|
|
|
Reference< XComponentContext > xContext = comphelper::getProcessComponentContext();
|
|
|
|
Reference< container::XNameContainer > xDialogModel( xContext->getServiceManager()->createInstanceWithContext
|
|
|
|
( "com.sun.star.awt.UnoControlDialogModel", xContext ), UNO_QUERY );
|
2004-07-23 11:02:38 +00:00
|
|
|
Reference< XInputStream > xInput( xISP->createInputStream() );
|
2010-10-06 10:16:13 +01:00
|
|
|
::xmlscript::importDialogModel( xInput, xDialogModel, xContext, rDocument.isDocument() ? rDocument.getDocument() : Reference< frame::XModel >() );
|
2007-03-15 14:53:58 +00:00
|
|
|
LocalizationMgr::setStringResourceAtDialog( rDocument, rLibName, aDlgName, xDialogModel );
|
2004-07-23 11:02:38 +00:00
|
|
|
|
|
|
|
// new dialog window
|
2012-08-17 07:29:20 +02:00
|
|
|
if (!pDialogLayout)
|
|
|
|
pDialogLayout.reset(new DialogWindowLayout(&GetViewFrame()->GetWindow(), aObjectCatalog));
|
|
|
|
pWin = new DialogWindow(pDialogLayout.get(), rDocument, aLibName, aDlgName, xDialogModel);
|
2004-07-23 11:02:38 +00:00
|
|
|
nKey = InsertWindowInTable( pWin );
|
2001-03-03 14:12:53 +00:00
|
|
|
}
|
|
|
|
}
|
2011-08-24 11:22:56 +09:00
|
|
|
catch (const uno::Exception& )
|
2004-07-23 11:02:38 +00:00
|
|
|
{
|
2007-03-15 14:53:58 +00:00
|
|
|
DBG_UNHANDLED_EXCEPTION();
|
2004-07-23 11:02:38 +00:00
|
|
|
}
|
2000-09-29 10:02:42 +00:00
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
pWin->SetStatus( pWin->GetStatus() & ~BASWIN_SUSPENDED );
|
Basic IDE: namespace basctl
Now all names in basctl are in namespace 'basctl'.
There were lots of names that included the word 'Basic' or 'BasicIDE' in
it, e.g. BasicIDEData, BasicDocumentEntry, BasicTreeListBox,
BasicIDEModule, IDEBaseWindow etc. This information is now stored in the
namespace name, so the names could be shortened: basctl::DocumentEntry,
basctl::TreeListBox, basctl::Module, basctl::BaseWindow etc.
Some other minor changes:
* LibInfos, LibInfoItem, LibInfoKey ->
LibInfos, LibInfos::Item, LibInfos::Key
* The header guards are now uniformly BASCTL_FILENAME_HXX, instead of
e.g. _FILENAME_HXX, which is undefined behaviour because of the '_'.
* namespace BasicIDE, BasicIDEGlobals, basicide -> namespace basctl
* BASICIDE_TYPE_MODULE, ... -> basctl::TYPE_MODULE, ...
Change-Id: I2a9b493562d0d8a2510d569798fbe9e1161b7c9b
Reviewed-on: https://gerrit.libreoffice.org/501
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
2012-08-25 12:43:27 +02:00
|
|
|
nKey = GetWindowId( pWin );
|
2000-09-29 10:02:42 +00:00
|
|
|
DBG_ASSERT( nKey, "CreateDlgWin: Kein Key - Fenster nicht gefunden!" );
|
|
|
|
}
|
2001-06-15 07:45:19 +00:00
|
|
|
|
2002-10-31 11:42:44 +00:00
|
|
|
if( pWin )
|
|
|
|
{
|
|
|
|
pWin->GrabScrollBars( &aHScrollBar, &aVScrollBar );
|
2011-01-14 11:16:25 +01:00
|
|
|
pTabBar->InsertPage( (sal_uInt16)nKey, aDlgName );
|
2002-10-31 11:42:44 +00:00
|
|
|
pTabBar->Sort();
|
|
|
|
if ( !pCurWin )
|
2012-07-27 10:35:28 +09:00
|
|
|
SetCurWindow( pWin, false, false );
|
2002-10-31 11:42:44 +00:00
|
|
|
}
|
2000-09-29 10:02:42 +00:00
|
|
|
|
2012-08-02 10:21:00 +09:00
|
|
|
bCreatingWindow = false;
|
2000-09-29 10:02:42 +00:00
|
|
|
return pWin;
|
|
|
|
}
|
|
|
|
|
Basic IDE: namespace basctl
Now all names in basctl are in namespace 'basctl'.
There were lots of names that included the word 'Basic' or 'BasicIDE' in
it, e.g. BasicIDEData, BasicDocumentEntry, BasicTreeListBox,
BasicIDEModule, IDEBaseWindow etc. This information is now stored in the
namespace name, so the names could be shortened: basctl::DocumentEntry,
basctl::TreeListBox, basctl::Module, basctl::BaseWindow etc.
Some other minor changes:
* LibInfos, LibInfoItem, LibInfoKey ->
LibInfos, LibInfos::Item, LibInfos::Key
* The header guards are now uniformly BASCTL_FILENAME_HXX, instead of
e.g. _FILENAME_HXX, which is undefined behaviour because of the '_'.
* namespace BasicIDE, BasicIDEGlobals, basicide -> namespace basctl
* BASICIDE_TYPE_MODULE, ... -> basctl::TYPE_MODULE, ...
Change-Id: I2a9b493562d0d8a2510d569798fbe9e1161b7c9b
Reviewed-on: https://gerrit.libreoffice.org/501
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
2012-08-25 12:43:27 +02:00
|
|
|
DialogWindow* Shell::FindDlgWin (
|
2012-08-17 07:29:20 +02:00
|
|
|
ScriptDocument const& rDocument,
|
2012-10-05 01:25:41 -03:00
|
|
|
OUString const& rLibName, OUString const& rName,
|
2012-08-17 07:29:20 +02:00
|
|
|
bool bCreateIfNotExist, bool bFindSuspended
|
|
|
|
)
|
2000-09-29 10:02:42 +00:00
|
|
|
{
|
Basic IDE: namespace basctl
Now all names in basctl are in namespace 'basctl'.
There were lots of names that included the word 'Basic' or 'BasicIDE' in
it, e.g. BasicIDEData, BasicDocumentEntry, BasicTreeListBox,
BasicIDEModule, IDEBaseWindow etc. This information is now stored in the
namespace name, so the names could be shortened: basctl::DocumentEntry,
basctl::TreeListBox, basctl::Module, basctl::BaseWindow etc.
Some other minor changes:
* LibInfos, LibInfoItem, LibInfoKey ->
LibInfos, LibInfos::Item, LibInfos::Key
* The header guards are now uniformly BASCTL_FILENAME_HXX, instead of
e.g. _FILENAME_HXX, which is undefined behaviour because of the '_'.
* namespace BasicIDE, BasicIDEGlobals, basicide -> namespace basctl
* BASICIDE_TYPE_MODULE, ... -> basctl::TYPE_MODULE, ...
Change-Id: I2a9b493562d0d8a2510d569798fbe9e1161b7c9b
Reviewed-on: https://gerrit.libreoffice.org/501
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
2012-08-25 12:43:27 +02:00
|
|
|
if (BaseWindow* pWin = FindWindow(rDocument, rLibName, rName, TYPE_DIALOG, bFindSuspended))
|
2012-08-17 07:29:20 +02:00
|
|
|
return static_cast<DialogWindow*>(pWin);
|
|
|
|
return bCreateIfNotExist ? CreateDlgWin(rDocument, rLibName, rName) : 0;
|
2000-09-29 10:02:42 +00:00
|
|
|
}
|
|
|
|
|
Basic IDE: namespace basctl
Now all names in basctl are in namespace 'basctl'.
There were lots of names that included the word 'Basic' or 'BasicIDE' in
it, e.g. BasicIDEData, BasicDocumentEntry, BasicTreeListBox,
BasicIDEModule, IDEBaseWindow etc. This information is now stored in the
namespace name, so the names could be shortened: basctl::DocumentEntry,
basctl::TreeListBox, basctl::Module, basctl::BaseWindow etc.
Some other minor changes:
* LibInfos, LibInfoItem, LibInfoKey ->
LibInfos, LibInfos::Item, LibInfos::Key
* The header guards are now uniformly BASCTL_FILENAME_HXX, instead of
e.g. _FILENAME_HXX, which is undefined behaviour because of the '_'.
* namespace BasicIDE, BasicIDEGlobals, basicide -> namespace basctl
* BASICIDE_TYPE_MODULE, ... -> basctl::TYPE_MODULE, ...
Change-Id: I2a9b493562d0d8a2510d569798fbe9e1161b7c9b
Reviewed-on: https://gerrit.libreoffice.org/501
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
2012-08-25 12:43:27 +02:00
|
|
|
sal_uInt16 Shell::GetWindowId(const BaseWindow* pWin) const
|
2012-03-20 10:03:56 +02:00
|
|
|
{
|
Basic IDE: namespace basctl
Now all names in basctl are in namespace 'basctl'.
There were lots of names that included the word 'Basic' or 'BasicIDE' in
it, e.g. BasicIDEData, BasicDocumentEntry, BasicTreeListBox,
BasicIDEModule, IDEBaseWindow etc. This information is now stored in the
namespace name, so the names could be shortened: basctl::DocumentEntry,
basctl::TreeListBox, basctl::Module, basctl::BaseWindow etc.
Some other minor changes:
* LibInfos, LibInfoItem, LibInfoKey ->
LibInfos, LibInfos::Item, LibInfos::Key
* The header guards are now uniformly BASCTL_FILENAME_HXX, instead of
e.g. _FILENAME_HXX, which is undefined behaviour because of the '_'.
* namespace BasicIDE, BasicIDEGlobals, basicide -> namespace basctl
* BASICIDE_TYPE_MODULE, ... -> basctl::TYPE_MODULE, ...
Change-Id: I2a9b493562d0d8a2510d569798fbe9e1161b7c9b
Reviewed-on: https://gerrit.libreoffice.org/501
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
2012-08-25 12:43:27 +02:00
|
|
|
for (WindowTableIt it = aWindowTable.begin(); it != aWindowTable.end(); ++it)
|
2012-03-20 10:03:56 +02:00
|
|
|
if ( it->second == pWin )
|
|
|
|
return it->first;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
Basic IDE: namespace basctl
Now all names in basctl are in namespace 'basctl'.
There were lots of names that included the word 'Basic' or 'BasicIDE' in
it, e.g. BasicIDEData, BasicDocumentEntry, BasicTreeListBox,
BasicIDEModule, IDEBaseWindow etc. This information is now stored in the
namespace name, so the names could be shortened: basctl::DocumentEntry,
basctl::TreeListBox, basctl::Module, basctl::BaseWindow etc.
Some other minor changes:
* LibInfos, LibInfoItem, LibInfoKey ->
LibInfos, LibInfos::Item, LibInfos::Key
* The header guards are now uniformly BASCTL_FILENAME_HXX, instead of
e.g. _FILENAME_HXX, which is undefined behaviour because of the '_'.
* namespace BasicIDE, BasicIDEGlobals, basicide -> namespace basctl
* BASICIDE_TYPE_MODULE, ... -> basctl::TYPE_MODULE, ...
Change-Id: I2a9b493562d0d8a2510d569798fbe9e1161b7c9b
Reviewed-on: https://gerrit.libreoffice.org/501
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
2012-08-25 12:43:27 +02:00
|
|
|
SdrView* Shell::GetCurDlgView() const
|
2000-09-29 10:02:42 +00:00
|
|
|
{
|
2012-08-07 14:33:56 +02:00
|
|
|
if (DialogWindow* pDCurWin = dynamic_cast<DialogWindow*>(pCurWin))
|
2012-09-02 16:21:08 +02:00
|
|
|
return &pDCurWin->GetView();
|
2012-08-07 14:33:56 +02:00
|
|
|
else
|
|
|
|
return 0;
|
2000-09-29 10:02:42 +00:00
|
|
|
}
|
|
|
|
|
2011-08-22 11:39:37 +02:00
|
|
|
// only if dialogue window above:
|
Basic IDE: namespace basctl
Now all names in basctl are in namespace 'basctl'.
There were lots of names that included the word 'Basic' or 'BasicIDE' in
it, e.g. BasicIDEData, BasicDocumentEntry, BasicTreeListBox,
BasicIDEModule, IDEBaseWindow etc. This information is now stored in the
namespace name, so the names could be shortened: basctl::DocumentEntry,
basctl::TreeListBox, basctl::Module, basctl::BaseWindow etc.
Some other minor changes:
* LibInfos, LibInfoItem, LibInfoKey ->
LibInfos, LibInfos::Item, LibInfos::Key
* The header guards are now uniformly BASCTL_FILENAME_HXX, instead of
e.g. _FILENAME_HXX, which is undefined behaviour because of the '_'.
* namespace BasicIDE, BasicIDEGlobals, basicide -> namespace basctl
* BASICIDE_TYPE_MODULE, ... -> basctl::TYPE_MODULE, ...
Change-Id: I2a9b493562d0d8a2510d569798fbe9e1161b7c9b
Reviewed-on: https://gerrit.libreoffice.org/501
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
2012-08-25 12:43:27 +02:00
|
|
|
void Shell::ExecuteDialog( SfxRequest& rReq )
|
2000-09-29 10:02:42 +00:00
|
|
|
{
|
2012-08-17 07:29:20 +02:00
|
|
|
if (pCurWin && (dynamic_cast<DialogWindow*>(pCurWin) || rReq.GetSlot() == SID_IMPORT_DIALOG))
|
|
|
|
pCurWin->ExecuteCommand(rReq);
|
2000-09-29 10:02:42 +00:00
|
|
|
}
|
|
|
|
|
Basic IDE: namespace basctl
Now all names in basctl are in namespace 'basctl'.
There were lots of names that included the word 'Basic' or 'BasicIDE' in
it, e.g. BasicIDEData, BasicDocumentEntry, BasicTreeListBox,
BasicIDEModule, IDEBaseWindow etc. This information is now stored in the
namespace name, so the names could be shortened: basctl::DocumentEntry,
basctl::TreeListBox, basctl::Module, basctl::BaseWindow etc.
Some other minor changes:
* LibInfos, LibInfoItem, LibInfoKey ->
LibInfos, LibInfos::Item, LibInfos::Key
* The header guards are now uniformly BASCTL_FILENAME_HXX, instead of
e.g. _FILENAME_HXX, which is undefined behaviour because of the '_'.
* namespace BasicIDE, BasicIDEGlobals, basicide -> namespace basctl
* BASICIDE_TYPE_MODULE, ... -> basctl::TYPE_MODULE, ...
Change-Id: I2a9b493562d0d8a2510d569798fbe9e1161b7c9b
Reviewed-on: https://gerrit.libreoffice.org/501
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
2012-08-25 12:43:27 +02:00
|
|
|
} // namespace basctl
|
|
|
|
|
2010-10-12 15:57:08 +02:00
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|