summaryrefslogtreecommitdiff
path: root/package/source/zippackage/ZipPackageStream.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'package/source/zippackage/ZipPackageStream.cxx')
-rw-r--r--package/source/zippackage/ZipPackageStream.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/source/zippackage/ZipPackageStream.cxx b/package/source/zippackage/ZipPackageStream.cxx
index f685f891c649..745157cfd02e 100644
--- a/package/source/zippackage/ZipPackageStream.cxx
+++ b/package/source/zippackage/ZipPackageStream.cxx
@@ -1271,7 +1271,7 @@ void SAL_CALL ZipPackageStream::setPropertyValue( const OUString& aPropertyName,
m_bCompressedIsSetFromOutside = true;
}
else
- throw beans::UnknownPropertyException(THROW_WHERE );
+ throw beans::UnknownPropertyException(aPropertyName);
}
Any SAL_CALL ZipPackageStream::getPropertyValue( const OUString& PropertyName )
@@ -1305,7 +1305,7 @@ Any SAL_CALL ZipPackageStream::getPropertyValue( const OUString& PropertyName )
return Any(m_aStorageEncryptionKeys);
}
else
- throw beans::UnknownPropertyException(THROW_WHERE );
+ throw beans::UnknownPropertyException(PropertyName);
}
void ZipPackageStream::setSize ( const sal_Int64 nNewSize )