Home
last modified time | relevance | path

Searched refs:xTruncate (Results 1 – 18 of 18) sorted by relevance

/aoo41x/main/package/qa/storages/
H A DTestHelper.java62 XTruncate xTruncate = (XTruncate) UnoRuntime.queryInterface( XTruncate.class, xOutput ); in WriteBytesToStream() local
63 if ( xTruncate == null ) in WriteBytesToStream()
72 xTruncate.truncate(); in WriteBytesToStream()
152 XTruncate xTruncate = (XTruncate) UnoRuntime.queryInterface( XTruncate.class, xOutput ); in WriteBytesToSubstreamDefaultCompressed() local
153 if ( xTruncate == null ) in WriteBytesToSubstreamDefaultCompressed()
162 xTruncate.truncate(); in WriteBytesToSubstreamDefaultCompressed()
/aoo41x/main/unotools/qa/complex/tempfile/
H A DTest02.java48 XTruncate xTruncate = null; in test() local
56 xTruncate = UnoRuntime.queryInterface(XTruncate.class, oTempFile); in test()
H A DTest01.java49 XTruncate xTruncate = null; in test() local
57 xTruncate = UnoRuntime.queryInterface(XTruncate.class, oTempFile); in test()
/aoo41x/main/odk/examples/java/EmbedDocument/EmbeddedObject/
H A DOwnEmbeddedObject.java150 … XTruncate xTruncate = ( XTruncate ) UnoRuntime.queryInterface( XTruncate.class, xOutStream ); in SaveDataToStorage() local
151 if ( xTruncate == null ) in SaveDataToStorage()
154 xTruncate.truncate(); in SaveDataToStorage()
164 xTruncate = ( XTruncate ) UnoRuntime.queryInterface( XTruncate.class, xOutStream ); in SaveDataToStorage()
165 if ( xTruncate == null ) in SaveDataToStorage()
168 xTruncate.truncate(); in SaveDataToStorage()
/aoo41x/main/odk/examples/java/Storage/
H A DTestHelper.java58 XTruncate xTruncate = (XTruncate) UnoRuntime.queryInterface( XTruncate.class, xOutput ); in WriteBytesToStream() local
59 if ( xTruncate == null ) in WriteBytesToStream()
68 xTruncate.truncate(); in WriteBytesToStream()
/aoo41x/main/svl/source/misc/
H A Ddocumentlockfile.cxx191 uno::Reference< io::XTruncate > xTruncate( xOutput, uno::UNO_QUERY_THROW ); in OverwriteOwnLockFile() local
193 xTruncate->truncate(); in OverwriteOwnLockFile()
/aoo41x/main/xmlsecurity/source/dialogs/
H A Ddigitalsignaturesdialog.cxx824 css::uno::Reference < css::io::XTruncate > xTruncate( in ImplOpenSignatureStream() local
826 … DBG_ASSERT( xTruncate.is(), "ImplOpenSignatureStream - Stream does not support xTruncate!" ); in ImplOpenSignatureStream()
827 xTruncate->truncate(); in ImplOpenSignatureStream()
/aoo41x/main/odk/examples/java/EmbedDocument/Container1/
H A DEmbedContApp.java1002 XTruncate xTruncate = (XTruncate) UnoRuntime.queryInterface( XTruncate.class, in storeLinkToStorage() local
1004 if ( xLinkOutStream != null && xTruncate != null ) in storeLinkToStorage()
1006 xTruncate.truncate(); in storeLinkToStorage()
/aoo41x/main/package/qa/ofopxmlstorages/
H A DTestHelper.java63 XTruncate xTruncate = (XTruncate) UnoRuntime.queryInterface( XTruncate.class, xOutput ); in WriteBytesToStream() local
64 if ( xTruncate == null ) in WriteBytesToStream()
73 xTruncate.truncate(); in WriteBytesToStream()
/aoo41x/main/basic/source/uno/
H A Dscriptcont.cxx200 Reference< XTruncate > xTruncate( xOutput, UNO_QUERY ); in writeLibraryElement() local
201 OSL_ENSURE( xTruncate.is(), "Currently only the streams that can be truncated are expected!" ); in writeLibraryElement()
202 if ( xTruncate.is() ) in writeLibraryElement()
203 xTruncate->truncate(); in writeLibraryElement()
/aoo41x/main/embeddedobj/source/msole/
H A Dolepersist.cxx786 uno::Reference< io::XTruncate > xTruncate( xOutputStream, uno::UNO_QUERY_THROW ); in TryToRetrieveCachedVisualRepresentation_Impl() local
801 xTruncate->truncate(); in TryToRetrieveCachedVisualRepresentation_Impl()
1103 uno::Reference< io::XTruncate > xTruncate( xOutStream, uno::UNO_QUERY ); in GetStreamForSaving() local
1104 if ( !xTruncate.is() ) in GetStreamForSaving()
1107 xTruncate->truncate(); in GetStreamForSaving()
/aoo41x/main/embeddedobj/test/Container1/
H A DEmbedContApp.java1590 XTruncate xTruncate = (XTruncate) UnoRuntime.queryInterface( XTruncate.class, in storeLinkToStorage() local
1592 if ( xLinkOutStream != null && xTruncate != null ) in storeLinkToStorage()
1594 xTruncate.truncate(); in storeLinkToStorage()
/aoo41x/main/package/source/zippackage/
H A DZipPackage.cxx1435 uno::Reference < XTruncate > xTruncate ( xOutputStream, UNO_QUERY ); in commitChanges() local
1436 if ( !xTruncate.is() ) in commitChanges()
1440 xTruncate->truncate(); in commitChanges()
/aoo41x/main/dbaccess/source/core/dataaccess/
H A Ddatabasedocument.cxx1095 Reference< io::XTruncate > xTruncate(xStream,UNO_QUERY); in impl_createStorageFor_throw() local
1096 if ( xTruncate.is() ) in impl_createStorageFor_throw()
1098 xTruncate->truncate(); in impl_createStorageFor_throw()
/aoo41x/main/sfx2/source/doc/
H A Dobjmisc.cxx2398 uno::Reference< io::XTruncate > xTruncate( xOutStream, uno::UNO_QUERY_THROW ); in StoreLog() local
2399 xTruncate->truncate(); in StoreLog()
H A Ddocfile.cxx4225 … uno::Reference< io::XTruncate > xTruncate( pImp->xStream, uno::UNO_QUERY_THROW ); in SwitchDocumentToFile() local
4226 if ( xTruncate.is() ) in SwitchDocumentToFile()
4227 xTruncate->truncate(); in SwitchDocumentToFile()
H A Dobjstor.cxx3749 … uno::Reference< io::XTruncate > xTruncate( xStream->getOutputStream(), uno::UNO_QUERY_THROW ); in WriteThumbnail() local
3750 xTruncate->truncate(); in WriteThumbnail()
/aoo41x/main/package/source/xstor/
H A Dowriteablestream.cxx2567 uno::Reference< io::XTruncate > xTruncate( m_xOutStream, uno::UNO_QUERY ); in truncate() local
2569 if ( !xTruncate.is() ) in truncate()
2575 xTruncate->truncate(); in truncate()

Completed in 187 milliseconds