/* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * This file incorporates work covered by the following license notice: * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright * ownership. The ASF licenses this file to you under the Apache * License, Version 2.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ /* * NativeInputStreamHelper.java * * Created on 9. September 2004, 11:51 */ package com.sun.star.sdbcx.comp.hsqldb; public class NativeInputStreamHelper extends java.io.InputStream{ private String key; private String file; private StorageNativeInputStream in; /** Creates a new instance of NativeInputStreamHelper */ public NativeInputStreamHelper(String key,String _file) { file = _file; this.key = key; in = new StorageNativeInputStream(key,file); } public int read() throws java.io.IOException { return in.read(key,file); } public int read(byte[] b, int off, int len) throws java.io.IOException { return in.read(key,file,b,off,len); } public void close() throws java.io.IOException { in.close(key,file); } public long skip(long n) throws java.io.IOException { return in.skip(key,file,n); } public int available() throws java.io.IOException { return in.available(key,file); } public int read(byte[] b) throws java.io.IOException { return in.read(key,file,b); } } ro/collabora/cd-5.3 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/rsc
AgeCommit message (Expand)Author
2015-06-15remove unnecessary check for null when calling deleteNoel Grandin
2015-06-09cppcheck: variableScopeCaolán McNamara
2015-06-08loplugin:cstylecast: deal with remaining pointer castsStephan Bergmann
2015-06-02-fsanitize=nonnull-attribute in memcpy callStephan Bergmann
2015-06-02loplugin:cstylecast: deal with those that are (technically) const_castStephan Bergmann
2015-05-29loplugin:loopvartoosmallNoel Grandin
2015-05-11loplugin:cstylecast: nop between pointer types of exactly same spellingStephan Bergmann
2015-05-02Bin empty eval statementMatúš Kukan
2015-04-30Gradually typed LinkStephan Bergmann
2015-04-29Clean up tools/link.hxxStephan Bergmann
2015-04-29Remove unnecessary IMPL_LINK[_NOARG]_INLINE_START/ENDStephan Bergmann
2015-04-29cppcheck: invalidPrintfArgType_uintCaolán McNamara
2015-04-24loplugin:simplifyboolStephan Bergmann
2015-04-22Various #include <sal/log.hxx> fixupsStephan Bergmann
2015-04-20rsc crash on WIN64 due to LP64Norbert Thiebaud
2015-04-15remove unnecessary use of void in function declarationsNoel Grandin
2015-03-31Reduce to static_cast any reinterpret_cast from void pointersStephan Bergmann
2015-03-28Clean up C-style casts from pointers to voidStephan Bergmann
2015-03-27loplugin:staticfunctionNoel Grandin
2015-03-26const_cast: convert some C-style casts and remove some redundant onesStephan Bergmann
2015-03-26tdf#39440 cppcheck cleanliness, Fixing basic cpp errorsVarun
2015-03-24loplugin:constantfunction: rscNoel Grandin
2015-03-05Explicitly default the copy ctorStephan Bergmann
2015-03-02V805: Decreased performanceCaolán McNamara
2015-03-02remove executable bit from c / h / cxx / hxx / l filesMichael Stahl
2015-03-01wrong length value for string lengthMarkus Mohrhard
2015-02-23remove unnecessary parenthesis in return statementsNoel Grandin
2015-02-09Werror: data lost during conversion from size_t to intDavid Ostrovsky
2015-01-26coverity#1266502 Useless callCaolán McNamara
2015-01-26followup code removal after changing virtual methods to non-virtualNoel Grandin
2015-01-26new loplugin: change virtual methods to non-virtualNoel Grandin
2015-01-20Some more loplugin:cstylecast: rscStephan Bergmann
2015-01-08brute-force find-and-remove of unused #define constants.Noel Grandin
2015-01-07fdo#84938: convert STREAM_ #defines to 'enum class'Noel Grandin
2015-01-06fdo#84938: replace BUTTONTYPE_ constants with 'enum class'Noel Grandin
2015-01-02boost::unordered_map->std::unordered_mapCaolán McNamara
2015-01-02Remove unnecessary comphelper::string::getTokenStephan Bergmann
2014-12-31various other apparently unnecessary rsc stuffCaolán McNamara
2014-12-31drop dateformatter resource loadingCaolán McNamara
2014-12-31drop timeformatter resource loadingCaolán McNamara
2014-12-31TimeFields not loaded from resource files anymoreCaolán McNamara
2014-12-28splitters no longer loaded from resource filesCaolán McNamara
2014-12-22HelpButtons no longer loaded from .rsc filesCaolán McNamara
2014-12-19fdo#39440 rsc: reduce scope of local variablesMichael Weghorn
2014-11-21document coverity#983096 Resource leakCaolán McNamara
2014-11-14fdo#86023 - O[U]String needs a 'clear' methodBrij Mohan Lal Srivastava