Kaydet (Commit) 1beb5017 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

remove old unused sot workben code

Change-Id: I1c8ea4c7940ae0740109cc558083d93638913fbd
üst 8be829ee
#
# 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 .
#
PRJ=..
PRJNAME=sot
TARGET=workben
LIBTARGET=NO
TARGETTYPE=CUI
# --- Settings -----------------------------------------------------
.INCLUDE : settings.mk
# --- Files --------------------------------------------------------
OBJFILES= \
$(OBJ)$/testsot.obj
APP1TARGET= testsot
APP1OBJS= $(OBJ)$/testsot.obj
APP1STDLIBS=$(SOTLIB) \
$(TOOLSLIB)
APP1DEF= $(MISC)$/$(APP1TARGET).def
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* 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 .
*/
#include <sot/storage.hxx>
/*
* main.
*/
int main (int argc, sal_Char **argv)
{
tools::SvRef<SotStorage> xStor = new SotStorage( "c:\\temp\\65254.ppt" );
/*
tools::SvRef<SotStorage> xStor = new SotStorage( "c:\\temp\\video.sdb" );
tools::SvRef<SotStorage> xStor = new SotStorage( "c:\\temp\\video.sdb" );
tools::SvRef<SotStorage> x2Stor = xStor->OpenSotStorage( "1117" );
tools::SvRef<SotStorageStream> xStm = x2Stor->OpenSotStream( "Genres", STREAM_STD_READWRITE | StreamMode::TRUNC);
//BYTE szData[100];
//xStm->Write( szData, 100 );
UINT32 nSize = xStm->GetSize();
xStm->SetSize( 0 );
nSize = xStm->GetSize();
x2Stor->Commit();
xStor->Commit();
*/
return 0;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment