srtdlg.cxx (efeef26f) srtdlg.cxx (8ef2f12b)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 378 unchanged lines hidden (view full) ---

387 aOptions.eDirection = bCol ? SRT_COLUMNS : SRT_ROWS;
388 aOptions.cDeli = cDeli;
389 aOptions.nLanguage = nLang;
390 aOptions.bTable = rSh.IsTableMode();
391 aOptions.bIgnoreCase = !bCsSens;
392
393 sal_Bool bRet;
394 {
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 378 unchanged lines hidden (view full) ---

387 aOptions.eDirection = bCol ? SRT_COLUMNS : SRT_ROWS;
388 aOptions.cDeli = cDeli;
389 aOptions.nLanguage = nLang;
390 aOptions.bTable = rSh.IsTableMode();
391 aOptions.bIgnoreCase = !bCsSens;
392
393 sal_Bool bRet;
394 {
395 SwWait aWait( *rSh.GetView().GetDocShell(), sal_True );
395 SwWait aWait( *rSh.GetView().GetDocShell(), true );
396 rSh.StartAllAction();
397 if( 0 != (bRet = rSh.Sort( aOptions )))
398 rSh.SetModified();
399 rSh.EndAllAction();
400 }
401
402 if( !bRet )
403 InfoBox( this->GetParent(), SW_RES(MSG_SRTERR)).Execute();

--- 125 unchanged lines hidden ---
396 rSh.StartAllAction();
397 if( 0 != (bRet = rSh.Sort( aOptions )))
398 rSh.SetModified();
399 rSh.EndAllAction();
400 }
401
402 if( !bRet )
403 InfoBox( this->GetParent(), SW_RES(MSG_SRTERR)).Execute();

--- 125 unchanged lines hidden ---