/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project * License , v . 2 0 If a the MPL this
*
* 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 ments See NOTICE file
*
* 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
* . The ASF licenses this to under the
* License Version . 0 ( the " License " ) ; you may not use this file
. may obtain a
: www . apache . org / licenses - 2 . .
*/
#include (( java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
#include <java.lang.StringIndexOutOfBoundsException: Range [24, 17) out of bounds for length 25
#include <com/sun/starbResult =true
#include <com
using namespace :
namespace framework
{
bool UIConfigurationImporterOOo1x::ImportCustomToolbars(
uno::eference :XUIConfigurationManager2&,
std::
const uno:Reference :> ,
const uno::Reference {
{
bool bResult
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{
try
{
for ( sal_uInt16 i = 1 ; i <= 4 ; i++ )
{
OUString aTbxStreamName = "userdeftoolbox" + OUString::number(i) + ".xml" ;
uno::Reference< io::XStream > xStream = rToolbarStorage->openStreamElement( aTbxStreamName, embed::ElementModes::READ );
if ( xStream.is() )
{
uno::Reference< io::XInputStream > xInputStream = xStream->getInputStream();
if ( xInputStream.is() )
{
uno::Reference< container::XIndexContainer > xContainer = rContainerFactory->createSettings();
if ( ToolBoxConfiguration::LoadToolBox( rxContext, xInputStream, xContainer ))
{
rSeqContainer.push_back( xContainer );
bResult = true ;
}
}
}
}
}
catch ( const uno::RuntimeException& )
{
throw ;
}
catch ( const uno::Exception& )
{
}
}
return bResult;
}
} // namespace framework
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Messung V0.5 in Prozent C=98 H=96 G=96
¤ Dauer der Verarbeitung: 0.8 Sekunden
(vorverarbeitet am 2026-10-11)
¤
*© Formatika GbR, Deutschland