summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-01-21 23:11:25 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-01-23 11:37:04 +0000
commit1cb538925ddba61d87b71640475282f60f27ce42 (patch)
tree6be63d801c14063306852bd815cd608c7c6e4273 /unotools
parentcce3e85e0d32a2e66d1c82e0eb072debad1600c5 (diff)
make unotools ByteString free
Diffstat (limited to 'unotools')
-rw-r--r--unotools/source/misc/componentresmodule.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/unotools/source/misc/componentresmodule.cxx b/unotools/source/misc/componentresmodule.cxx
index 1e2d60713cc9..5d36b426a0dc 100644
--- a/unotools/source/misc/componentresmodule.cxx
+++ b/unotools/source/misc/componentresmodule.cxx
@@ -91,9 +91,9 @@ namespace utl
if ( !m_pRessources && !m_bInitialized )
{
// create a manager with a fixed prefix
- ByteString aMgrName = m_sResFilePrefix;
+ rtl::OString aMgrName = m_sResFilePrefix;
- m_pRessources = ResMgr::CreateResMgr( aMgrName.GetBuffer() );
+ m_pRessources = ResMgr::CreateResMgr( aMgrName.getStr() );
OSL_ENSURE( m_pRessources,
rtl::OStringBuffer( "OModuleImpl::getResManager: could not create the resource manager (file name: " )
.append(aMgrName)