[Libreoffice-commits] .: basctl/source
August Sodora
augsod at kemper.freedesktop.org
Mon Nov 28 19:17:21 PST 2011
basctl/source/basicide/localizationmgr.cxx | 14 +++++++-------
basctl/source/inc/localizationmgr.hxx | 8 ++++----
2 files changed, 11 insertions(+), 11 deletions(-)
New commits:
commit a82a87315033e416d267242002b6722051deb8a4
Author: August Sodora <augsod at gmail.com>
Date: Mon Nov 28 22:16:47 2011 -0500
String->OUString
diff --git a/basctl/source/basicide/localizationmgr.cxx b/basctl/source/basicide/localizationmgr.cxx
index d6cd053..cf034d8 100644
--- a/basctl/source/basicide/localizationmgr.cxx
+++ b/basctl/source/basicide/localizationmgr.cxx
@@ -50,7 +50,7 @@ static ::rtl::OUString aSemi( RTL_CONSTASCII_USTRINGPARAM( ";" ));
LocalizationMgr::LocalizationMgr( BasicIDEShell* pIDEShell,
- const ScriptDocument& rDocument, String aLibName,
+ const ScriptDocument& rDocument, ::rtl::OUString aLibName,
const Reference< XStringResourceManager >& xStringResourceManager )
: m_xStringResourceManager( xStringResourceManager )
, m_pIDEShell( pIDEShell )
@@ -927,8 +927,8 @@ void LocalizationMgr::deleteControlResourceIDsForDeletedEditorObject( DlgEditor*
BasicIDE::MarkDocumentModified( aDocument );
}
-void LocalizationMgr::setStringResourceAtDialog( const ScriptDocument& rDocument, const String& aLibName,
- const String& aDlgName, Reference< container::XNameContainer > xDialogModel )
+void LocalizationMgr::setStringResourceAtDialog( const ScriptDocument& rDocument, const ::rtl::OUString& aLibName,
+ const ::rtl::OUString& aDlgName, Reference< container::XNameContainer > xDialogModel )
{
static ::rtl::OUString aResourceResolverPropName( RTL_CONSTASCII_USTRINGPARAM( "ResourceResolver" ));
@@ -959,8 +959,8 @@ void LocalizationMgr::setStringResourceAtDialog( const ScriptDocument& rDocument
}
}
-void LocalizationMgr::renameStringResourceIDs( const ScriptDocument& rDocument, const String& aLibName,
- const String& aDlgName, Reference< container::XNameContainer > xDialogModel )
+void LocalizationMgr::renameStringResourceIDs( const ScriptDocument& rDocument, const ::rtl::OUString& aLibName,
+ const ::rtl::OUString& aDlgName, Reference< container::XNameContainer > xDialogModel )
{
// Get library
Reference< container::XNameContainer > xDialogLib( rDocument.getLibrary( E_DIALOGS, aLibName, sal_True ) );
@@ -990,8 +990,8 @@ void LocalizationMgr::renameStringResourceIDs( const ScriptDocument& rDocument,
}
}
-void LocalizationMgr::removeResourceForDialog( const ScriptDocument& rDocument, const String& aLibName,
- const String& aDlgName, Reference< container::XNameContainer > xDialogModel )
+void LocalizationMgr::removeResourceForDialog( const ScriptDocument& rDocument, const ::rtl::OUString& aLibName,
+ const ::rtl::OUString& aDlgName, Reference< container::XNameContainer > xDialogModel )
{
// Get library
Reference< container::XNameContainer > xDialogLib( rDocument.getLibrary( E_DIALOGS, aLibName, sal_True ) );
diff --git a/basctl/source/inc/localizationmgr.hxx b/basctl/source/inc/localizationmgr.hxx
index 6942b8e..67a0131 100644
--- a/basctl/source/inc/localizationmgr.hxx
+++ b/basctl/source/inc/localizationmgr.hxx
@@ -75,7 +75,7 @@ class LocalizationMgr
void implEnableDisableResourceForAllLibraryDialogs( HandleResourceMode eMode );
public:
- LocalizationMgr( BasicIDEShell* pIDEShell, const ScriptDocument& rDocument, String aLibName,
+ LocalizationMgr( BasicIDEShell* pIDEShell, const ScriptDocument& rDocument, ::rtl::OUString aLibName,
const ::com::sun::star::uno::Reference
< ::com::sun::star::resource::XStringResourceManager >& xStringResourceManager );
::com::sun::star::uno::Reference
@@ -111,13 +111,13 @@ public:
static void deleteControlResourceIDsForDeletedEditorObject( DlgEditor* pEditor,
::com::sun::star::uno::Any aControlAny, const ::rtl::OUString& aCtrlName );
- static void setStringResourceAtDialog( const ScriptDocument& rDocument, const String& aLibName, const String& aDlgName,
+ static void setStringResourceAtDialog( const ScriptDocument& rDocument, const ::rtl::OUString& aLibName, const ::rtl::OUString& aDlgName,
::com::sun::star::uno::Reference< ::com::sun::star::container::XNameContainer > xDialogModel );
- static void renameStringResourceIDs( const ScriptDocument& rDocument, const String& aLibName, const String& aDlgName,
+ static void renameStringResourceIDs( const ScriptDocument& rDocument, const ::rtl::OUString& aLibName, const ::rtl::OUString& aDlgName,
::com::sun::star::uno::Reference< ::com::sun::star::container::XNameContainer > xDialogModel );
- static void removeResourceForDialog( const ScriptDocument& rDocument, const String& aLibName, const String& aDlgName,
+ static void removeResourceForDialog( const ScriptDocument& rDocument, const ::rtl::OUString& aLibName, const ::rtl::OUString& aDlgName,
::com::sun::star::uno::Reference< ::com::sun::star::container::XNameContainer > xDialogModel );
static ::com::sun::star::uno::Reference< ::com::sun::star::resource::XStringResourceManager >
More information about the Libreoffice-commits
mailing list