summaryrefslogtreecommitdiff
path: root/chart2/source
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source')
-rw-r--r--chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx2
-rw-r--r--chart2/source/controller/main/UndoCommandDispatch.cxx2
-rw-r--r--chart2/source/inc/ResourceManager.hxx (renamed from chart2/source/inc/RessourceManager.hxx)14
-rw-r--r--chart2/source/tools/ResId.cxx4
-rw-r--r--chart2/source/tools/ResourceManager.cxx (renamed from chart2/source/tools/RessourceManager.cxx)14
5 files changed, 18 insertions, 18 deletions
diff --git a/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx b/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx
index e54339cbf880..e3c44018d4bb 100644
--- a/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx
+++ b/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx
@@ -1490,7 +1490,7 @@ void SAL_CALL ChartDocumentWrapper::setDelegator(
}
else
{
- // this is a sort of dispose() from the new model,so release ressources here
+ // this is a sort of dispose() from the new model,so release resources here
try
{
this->dispose();
diff --git a/chart2/source/controller/main/UndoCommandDispatch.cxx b/chart2/source/controller/main/UndoCommandDispatch.cxx
index 6f0728ffd45e..24cfb507e9c2 100644
--- a/chart2/source/controller/main/UndoCommandDispatch.cxx
+++ b/chart2/source/controller/main/UndoCommandDispatch.cxx
@@ -29,7 +29,7 @@
#include <vcl/svapp.hxx>
#include <tools/diagnose_ex.h>
-// for ressource strings STR_UNDO and STR_REDO
+// for resource strings STR_UNDO and STR_REDO
#include <svtools/svtools.hrc>
#include <svtools/svtresid.hxx>
diff --git a/chart2/source/inc/RessourceManager.hxx b/chart2/source/inc/ResourceManager.hxx
index 07a3bdfa8642..165946148c04 100644
--- a/chart2/source/inc/RessourceManager.hxx
+++ b/chart2/source/inc/ResourceManager.hxx
@@ -16,8 +16,8 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef CHART2_RESSOURCEMANAGER_HXX
-#define CHART2_RESSOURCEMANAGER_HXX
+#ifndef CHART2_RESOURCEMANAGER_HXX
+#define CHART2_RESOURCEMANAGER_HXX
#include "charttoolsdllapi.hxx"
@@ -27,21 +27,21 @@ class ResMgr;
namespace chart
{
-class RessourceManager
+class ResourceManager
{
public:
- static ::ResMgr & getRessourceManager();
+ static ::ResMgr & getResourceManager();
private:
// not implemented -- avoid instantiation
- RessourceManager();
+ ResourceManager();
- static ::ResMgr * m_pRessourceManager;
+ static ::ResMgr * m_pResourceManager;
};
} // namespace chart
-// CHART2_RESSOURCEMANAGER_HXX
+// CHART2_RESOURCEMANAGER_HXX
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/chart2/source/tools/ResId.cxx b/chart2/source/tools/ResId.cxx
index be273d6a0f07..ed4c80e41c8f 100644
--- a/chart2/source/tools/ResId.cxx
+++ b/chart2/source/tools/ResId.cxx
@@ -19,14 +19,14 @@
#include "ResId.hxx"
-#include "RessourceManager.hxx"
+#include "ResourceManager.hxx"
#include <tools/string.hxx>
namespace chart
{
SchResId::SchResId( sal_Int16 nId )
- : ResId( nId, RessourceManager::getRessourceManager() )
+ : ResId( nId, ResourceManager::getResourceManager() )
{
}
diff --git a/chart2/source/tools/RessourceManager.cxx b/chart2/source/tools/ResourceManager.cxx
index 29a68ee96ccd..db7ea9d18dda 100644
--- a/chart2/source/tools/RessourceManager.cxx
+++ b/chart2/source/tools/ResourceManager.cxx
@@ -18,22 +18,22 @@
*/
-#include "RessourceManager.hxx"
+#include "ResourceManager.hxx"
#include <tools/resmgr.hxx>
namespace chart
{
-ResMgr * RessourceManager::m_pRessourceManager = 0;
+ResMgr * ResourceManager::m_pResourceManager = 0;
-ResMgr & RessourceManager::getRessourceManager()
+ResMgr & ResourceManager::getResourceManager()
{
// not threadsafe
- if( ! m_pRessourceManager )
- m_pRessourceManager = ResMgr::CreateResMgr("chartcontroller");
- OSL_ASSERT( m_pRessourceManager );
- return *m_pRessourceManager;
+ if( ! m_pResourceManager )
+ m_pResourceManager = ResMgr::CreateResMgr("chartcontroller");
+ OSL_ASSERT( m_pResourceManager );
+ return *m_pResourceManager;
}
} // namespace chart