summaryrefslogtreecommitdiff
path: root/scripting/source/stringresource/stringresource.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'scripting/source/stringresource/stringresource.cxx')
-rw-r--r--scripting/source/stringresource/stringresource.cxx11
1 files changed, 2 insertions, 9 deletions
diff --git a/scripting/source/stringresource/stringresource.cxx b/scripting/source/stringresource/stringresource.cxx
index 41579a1cded1..e5eea6885cd7 100644
--- a/scripting/source/stringresource/stringresource.cxx
+++ b/scripting/source/stringresource/stringresource.cxx
@@ -685,10 +685,9 @@ void StringResourceImpl::implNotifyListeners()
// Loading
-bool StringResourceImpl::loadLocale( LocaleItem* pLocaleItem )
+bool StringResourceImpl::loadLocale( LocaleItem* )
{
// Base implementation has nothing to load
- (void)pLocaleItem;
return true;
}
@@ -1239,7 +1238,6 @@ Sequence< ::sal_Int8 > BinaryOutput::closeAndGetData()
xSeekable->seek( 0 );
sal_Int32 nRead = xInputStream->readBytes( aRetSeq, nSize );
- (void)nRead;
OSL_ENSURE( nRead == nSize, "BinaryOutput::closeAndGetData: nRead != nSize" );
return aRetSeq;
@@ -1497,11 +1495,9 @@ void StringResourcePersistenceImpl::importBinary( const Sequence< ::sal_Int8 >&
// Import data
BinaryInput aIn( Data, m_xContext );
- sal_Int32 nVersion = aIn.readInt16();
- (void)nVersion;
+ aIn.readInt16(); // version
sal_Int32 nLocaleCount = aIn.readInt16();
sal_Int32 iDefault = aIn.readInt16();
- (void)iDefault;
std::unique_ptr<sal_Int32[]> pPositions( new sal_Int32[nLocaleCount + 1] );
for( sal_Int32 i = 0; i < nLocaleCount + 1; i++ )
@@ -2038,9 +2034,6 @@ void implWriteStringWithEncoding( const OUString& aStr,
{
static sal_Unicode cLineFeed = 0xa;
- (void)aStr;
- (void)xTextOutputStream;
-
OUStringBuffer aBuf;
sal_Int32 nLen = aStr.getLength();
const sal_Unicode* pSrc = aStr.getStr();